rk: sram: build sram.c use Thumb instruction set
author黄涛 <huangtao@rock-chips.com>
Wed, 8 Aug 2012 12:02:22 +0000 (20:02 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 8 Aug 2012 12:02:22 +0000 (20:02 +0800)
arch/arm/plat-rk/Makefile

index bc9832edc8e06aa66b763fe03a4b71fb346ca88d..acd4bff21f16443f423cffc61b06032638855e08 100644 (file)
@@ -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