u-boot/board/freescale
Simon Glass bcee8d6764 dm: gpio: Allow control of GPIO uclass in SPL
At present if CONFIG_SPL_GPIO_SUPPORT is enabled then the GPIO uclass
is included in SPL/TPL without any control for boards. Some boards may
want to disable this to reduce code size where GPIOs are not needed in
SPL or TPL.

Add a new Kconfig option to permit this. Default it to 'y' so that
existing boards work correctly.

Change existing uses of CONFIG_DM_GPIO to CONFIG_IS_ENABLED(DM_GPIO) to
preserve the current behaviour. Also update the 74x164 GPIO driver since
it cannot build with SPL.

This allows us to remove the hacks in config_uncmd_spl.h and
Makefile.uncmd_spl (eventually those files should be removed).

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-12-15 08:52:29 +08:00
..
b4860qds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
bsc9131rdb Move strtomhz() to vsprintf.h 2019-12-02 18:23:09 -05:00
bsc9132qds common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
c29xpcie common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
common common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
corenet_ds common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
imx8mm_evk imx: imx8mm-evk: enable ethernet 2019-11-05 10:27:18 +01:00
imx8mn_evk imx: add i.MX8MN DDR4 board support 2019-11-05 10:27:18 +01:00
imx8mq_evk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
imx8qm_mek dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
imx8qxp_mek dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
ls1012afrdm env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
ls1012aqds env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
ls1012ardb env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
ls1021aiot common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
ls1021aqds common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
ls1021atsn common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
ls1021atwr common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
ls1028a board/ls1028a: Add call to sec_init() 2019-10-21 15:34:17 +05:30
ls1043aqds fsl: layerscape: guard *env_sf_get_env_addr() on CONFIG_ENV_IS_IN_SPI_FLASH 2019-11-20 18:31:24 -05:00
ls1043ardb Move strtomhz() to vsprintf.h 2019-12-02 18:23:09 -05:00
ls1046afrwy freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name 2019-11-08 16:32:08 +05:30
ls1046aqds fsl: layerscape: guard *env_sf_get_env_addr() on CONFIG_ENV_IS_IN_SPI_FLASH 2019-11-20 18:31:24 -05:00
ls1046ardb freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name 2019-11-08 16:32:08 +05:30
ls1088a fsl: layerscape: guard *env_sf_get_env_addr() on CONFIG_ENV_IS_IN_SPI_FLASH 2019-11-20 18:31:24 -05:00
ls2080a env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
ls2080aqds mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
ls2080ardb armv8: ls2088a: add icid setup for platform devices 2019-11-08 11:13:38 +05:30
lx2160a board: fsl: lx2160a: Fix the typo in board_fix_fdt 2019-11-29 10:38:12 +05:30
m547xevb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
m548xevb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
m5208evbe SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5235evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5249evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5253demo common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
m5272c3 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5275evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5282evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5329evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5373evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m52277evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m53017evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m54418twr Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
m54451evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m54455evb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc832xemds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc837xemds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc837xerdb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8308rdb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8313erdb common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mpc8315erdb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8323erdb common: Move old EEPROM functions into a new header 2019-12-02 18:25:25 -05:00
mpc8349emds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8349itx common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8536ds common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mpc8541cds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8544ds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8548cds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8555cds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8568mds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8569mds common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mpc8572ds common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mpc8610hpcd common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mpc8641hpcn common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
mx6memcal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx6qarm2 Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6sabreauto common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx6sabresd common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx6slevk imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
mx6sllevk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx6sxsabreauto common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx6sxsabresd common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx6ul_14x14_evk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx6ullevk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx7dsabresd common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx7ulp_evk mx7ulp_evk: Use imx_ddr_size() 2019-10-14 09:31:41 +02:00
mx23evk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx25pdk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx28evk mx28evk: README: Fix location for the generic mxs README 2019-10-08 16:36:36 +02:00
mx31pdk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx35pdk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx51evk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx53ard Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx53evk common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx53loco common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx53smd Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
p1_p2_rdb_pc common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
p1_twr common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
p1010rdb common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
p1022ds common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
p1023rdb common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
p2041rdb common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
qemu-ppce500 common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
s32v234evb Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
t4qds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
t4rdb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
t102xqds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
t102xrdb mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
t104xrdb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
t208xqds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
t208xrdb common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
t1040qds common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
vf610twr Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00