From: 黄涛 Date: Wed, 24 Jul 2013 08:31:00 +0000 (+0800) Subject: rk3026: memory.h fix for smp X-Git-Tag: firefly_0821_release~6851 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=334a4158957dc1efc9abcfcac017efd6685c2f89;p=firefly-linux-kernel-4.4.55.git rk3026: memory.h fix for smp --- diff --git a/arch/arm/mach-rk3026/include/mach/memory.h b/arch/arm/mach-rk3026/include/mach/memory.h index 83d97fb8179a..add20a978c32 100644 --- a/arch/arm/mach-rk3026/include/mach/memory.h +++ b/arch/arm/mach-rk3026/include/mach/memory.h @@ -1 +1,15 @@ -#include <../../mach-rk2928/include/mach/memory.h> +#ifndef __MACH_MEMORY_H +#define __MACH_MEMORY_H + +#include +#include + +/* + * SRAM memory whereabouts + */ +#define SRAM_CODE_OFFSET (RK2928_IMEM_BASE + 0x0010) +#define SRAM_CODE_END (RK2928_IMEM_BASE + 0x0FFF) +#define SRAM_DATA_OFFSET (RK2928_IMEM_BASE + 0x1000) +#define SRAM_DATA_END (RK2928_IMEM_BASE + 0x1FFF) + +#endif