ARM: UniPhier: move platform devices to SPL
Since we do not have OF_CONTROL support for SPL, platform devices are necessary to enable Driver Model on SPL. To prepare for that, move platdevice.o to SPL and enable it by CONFIG_SPL_DM. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
d5e7305013
commit
94ab98bb1c
|
@ -8,9 +8,9 @@ obj-y += bcu_init.o sg_init.o pll_init.o early_clkrst_init.o \
|
|||
pll_spectrum.o umc_init.o ddrphy_init.o
|
||||
obj-$(CONFIG_PFC_MICRO_SUPPORT_CARD) += sbc_init.o
|
||||
obj-$(CONFIG_DCC_MICRO_SUPPORT_CARD) += sbc_init_3cs.o
|
||||
obj-$(CONFIG_SPL_DM) += platdevice.o
|
||||
else
|
||||
obj-$(CONFIG_BOARD_EARLY_INIT_F) += pinctrl.o clkrst_init.o
|
||||
obj-$(if $(CONFIG_OF_CONTROL),,y) += platdevice.o
|
||||
endif
|
||||
|
||||
obj-y += boot-mode.o
|
||||
|
|
|
@ -8,9 +8,9 @@ obj-y += sg_init.o pll_init.o early_clkrst_init.o \
|
|||
pll_spectrum.o umc_init.o ddrphy_init.o
|
||||
obj-$(CONFIG_PFC_MICRO_SUPPORT_CARD) += sbc_init.o
|
||||
obj-$(CONFIG_DCC_MICRO_SUPPORT_CARD) += sbc_init_3cs.o
|
||||
obj-$(CONFIG_SPL_DM) += platdevice.o
|
||||
else
|
||||
obj-$(CONFIG_BOARD_EARLY_INIT_F) += pinctrl.o clkrst_init.o
|
||||
obj-$(if $(CONFIG_OF_CONTROL),,y) += platdevice.o
|
||||
endif
|
||||
|
||||
obj-y += boot-mode.o
|
||||
|
|
Loading…
Reference in New Issue