diff options
author | Tom Rini <trini@konsulko.com> | 2019-05-29 17:01:36 -0400 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-06-13 12:51:06 +0530 |
commit | 88369d33e322e0cdfbb1f0c33021ad424578619e (patch) | |
tree | 305f61ff4f38045b2d40f19543a63e127c7a21bf /board/work-microwave | |
parent | ea73ec08d17ea5c1213b8014b1171d45655d35cf (diff) | |
download | u-boot-88369d33e322e0cdfbb1f0c33021ad424578619e.zip u-boot-88369d33e322e0cdfbb1f0c33021ad424578619e.tar.gz u-boot-88369d33e322e0cdfbb1f0c33021ad424578619e.tar.bz2 |
configs: Disable now unbuildable SPI options for boards
Now that various SPI related options depend on CONFIG_DEPRECATED, in
order for platforms to build out of the box they need to disable various
other options.
Cc: Albert ARIBAUD <albert.aribaud@3adev.fr>
Cc: Marek Vasut <marex@denx.de>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/work-microwave')
-rw-r--r-- | board/work-microwave/work_92105/Makefile | 3 | ||||
-rw-r--r-- | board/work-microwave/work_92105/work_92105.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/board/work-microwave/work_92105/Makefile b/board/work-microwave/work_92105/Makefile index e3803bb..b837e7b 100644 --- a/board/work-microwave/work_92105/Makefile +++ b/board/work-microwave/work_92105/Makefile @@ -6,5 +6,6 @@ ifdef CONFIG_SPL_BUILD obj-y += work_92105_spl.o else -obj-y += work_92105.o work_92105_display.o +obj-y += work_92105.o +obj-$(CONFIG_DEPRECATED) += work_92105_display.o endif diff --git a/board/work-microwave/work_92105/work_92105.c b/board/work-microwave/work_92105/work_92105.c index eb2e7d7..3f23af9 100644 --- a/board/work-microwave/work_92105/work_92105.c +++ b/board/work-microwave/work_92105/work_92105.c @@ -52,8 +52,10 @@ int board_early_init_r(void) gpio_request(GPO_19, "NAND_nWP"); gpio_direction_output(GPO_19, 1); +#ifdef CONFIG_DEPRECATED /* initialize display */ work_92105_display_init(); +#endif return 0; } |