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