From 334a4158957dc1efc9abcfcac017efd6685c2f89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 24 Jul 2013 16:31:00 +0800 Subject: [PATCH] rk3026: memory.h fix for smp --- arch/arm/mach-rk3026/include/mach/memory.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 -- 2.34.1