s5pc1xx: proper make for sleep
authorMinkyu Kang <mk7.kang@samsung.com>
Fri, 4 Dec 2009 02:51:36 +0000 (11:51 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 4 Dec 2009 02:51:36 +0000 (11:51 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
cpu/arm_cortexa8/s5pc1xx/Makefile
include/configs/s5pc1xx_universal.h

index 1373f68..8c32f81 100644 (file)
@@ -35,8 +35,8 @@ COBJS-y               += clock.o
 COBJS-y                += cpu_info.o
 COBJS-y                += gpio.o
 COBJS-y                += timer.o
-COBJS-y                += sleep.o
-COBJS-y                += sleep_asm.o
+COBJS-$(CONFIG_CMD_SLEEP)      += sleep.o
+COBJS-$(CONFIG_CMD_SLEEP)      += sleep_asm.o
 COBJS-$(CONFIG_SOFT_I2C)       += i2c-gpio.o
 COBJS-$(CONFIG_CMD_USBDOWN)    += usb-hs-otg.o usb_downloader.o
 
index b1e47cf..78c9e16 100644 (file)
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_MMC
+#define CONFIG_CMD_SLEEP
 
 #define CONFIG_SYS_64BIT_VSPRINTF      1