ram: unify obj-$(CONFIG_RAM) and obj-$(CONFIG_SPL_RAM) entries
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Aug 2015 22:31:49 +0000 (07:31 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 18 Aug 2015 17:46:02 +0000 (13:46 -0400)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/Makefile

index 3b3886140b2339badca6d912a1b2ba3f337b1b0d..aff0d05225a5b132d34a3daf049fad3ce9520ce0 100644 (file)
@@ -1,5 +1,6 @@
 obj-$(CONFIG_$(SPL_)DM)                += core/
 obj-$(CONFIG_$(SPL_)CLK)       += clk/
+obj-$(CONFIG_$(SPL_)RAM)       += ram/
 
 ifdef CONFIG_SPL_BUILD
 
@@ -24,7 +25,6 @@ obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
 obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
 obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
 obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
-obj-$(CONFIG_SPL_RAM) += ram/
 obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
 obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/
 obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
@@ -46,7 +46,6 @@ obj-$(CONFIG_LED) += led/
 obj-y += misc/
 obj-y += pcmcia/
 obj-y += dfu/
-obj-$(CONFIG_RAM) += ram/
 obj-y += rtc/
 obj-y += sound/
 obj-y += tpm/