From 1a943c63b596b6509b52a00573b5beaffe5bba9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 8 Aug 2012 20:02:22 +0800 Subject: [PATCH] rk: sram: build sram.c use Thumb instruction set --- arch/arm/plat-rk/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/plat-rk/Makefile b/arch/arm/plat-rk/Makefile index bc9832edc8e0..acd4bff21f16 100644 --- a/arch/arm/plat-rk/Makefile +++ b/arch/arm/plat-rk/Makefile @@ -7,4 +7,5 @@ obj-$(CONFIG_FIQ_DEBUGGER) += rk_fiq_debugger.o obj-$(CONFIG_RK_EARLY_PRINTK) += early_printk.o ../kernel/debug.o obj-y += mem_reserve.o obj-y += sram.o +CFLAGS_sram.o += -Os -mthumb obj-$(CONFIG_DDR_TEST) += memtester.o -- 2.34.1