mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
rockchip: add config decide whether to build common.c
some rockchips soc will not use uclass in SPL stage, so define config to decide whether to build common.c Signed-off-by: Lin Huang <hl@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5138337b3f
commit
302d1767b9
2 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,6 @@ obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
|
||||||
else
|
else
|
||||||
obj-y += board.o
|
obj-y += board.o
|
||||||
endif
|
endif
|
||||||
obj-y += common.o
|
|
||||||
obj-y += rk_timer.o
|
obj-y += rk_timer.o
|
||||||
|
obj-$(CONFIG_$(SPL_)ROCKCHIP_COMMON) += common.o
|
||||||
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
|
||||||
|
|
|
@ -42,6 +42,9 @@
|
||||||
#define CONFIG_SPL_STACK 0xff718000
|
#define CONFIG_SPL_STACK 0xff718000
|
||||||
#define CONFIG_SPL_TEXT_BASE 0xff704004
|
#define CONFIG_SPL_TEXT_BASE 0xff704004
|
||||||
|
|
||||||
|
#define CONFIG_ROCKCHIP_COMMON
|
||||||
|
#define CONFIG_SPL_ROCKCHIP_COMMON
|
||||||
|
|
||||||
/* MMC/SD IP block */
|
/* MMC/SD IP block */
|
||||||
#define CONFIG_MMC
|
#define CONFIG_MMC
|
||||||
#define CONFIG_GENERIC_MMC
|
#define CONFIG_GENERIC_MMC
|
||||||
|
|
Loading…
Add table
Reference in a new issue