From a3f4002870df77f827f839fa85bab0534287a651 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Thu, 31 Jan 2013 11:12:06 +0800 Subject: [PATCH] rk3188: no use Thumb instruction set to build pm.c and ddr.c --- arch/arm/mach-rk3188/Makefile | 2 -- arch/arm/mach-rk3188/include/mach/memory.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-rk3188/Makefile b/arch/arm/mach-rk3188/Makefile index 960db7019c9c..585db4d3307a 100644 --- a/arch/arm/mach-rk3188/Makefile +++ b/arch/arm/mach-rk3188/Makefile @@ -3,11 +3,9 @@ ifneq ($(CONFIG_RK_FPGA),y) obj-y += ../plat-rk/clock.o obj-y += clock_data.o obj-y += ../mach-rk30/ddr.o -CFLAGS_ddr.o += -mthumb obj-y += ../mach-rk30/pmu.o obj-y += ../mach-rk30/reset.o obj-$(CONFIG_PM) += ../mach-rk30/pm.o -CFLAGS_pm.o += -mthumb endif obj-y += ../mach-rk30/common.o CFLAGS_common.o += -DTEXT_OFFSET=$(TEXT_OFFSET) diff --git a/arch/arm/mach-rk3188/include/mach/memory.h b/arch/arm/mach-rk3188/include/mach/memory.h index deefaf35fbf9..69cd5ae903c2 100644 --- a/arch/arm/mach-rk3188/include/mach/memory.h +++ b/arch/arm/mach-rk3188/include/mach/memory.h @@ -10,6 +10,6 @@ #define SRAM_CODE_OFFSET (RK30_IMEM_BASE + 0x0100) #define SRAM_CODE_END (RK30_IMEM_BASE + 0x0FFF) #define SRAM_DATA_OFFSET (RK30_IMEM_BASE + 0x1000) -#define SRAM_DATA_END (RK30_IMEM_BASE + 0x1FFF - 64) +#define SRAM_DATA_END (RK30_IMEM_BASE + 0x2FFF - 64) #endif -- 2.34.1