u-boot-brain/arch/arm/mach-at91
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
..
arm920t common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
arm926ejs Move strtomhz() to vsprintf.h 2019-12-02 18:23:09 -05:00
armv7 common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
include/mach dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
atmel_sfr.c ARM: at91: Rename sama5_sfr.h to at91_sfr.h 2019-10-08 09:16:11 +03:00
bootparams_atmel.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clock.c watchdog: at91sam9_wdt: Remove now superfluous wdt start and reset 2019-04-26 09:16:32 +02:00
config.mk arm: v7: Kconfig: Rename CPU_V7 as CPU_V7A 2018-05-07 15:53:24 -04:00
Kconfig board: atmel: Add sam9x60ek board 2019-10-08 09:16:11 +03:00
Makefile ARM: at91: sfr: convert to Kconfig 2019-10-08 09:16:11 +03:00
matrix.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpddrc.c ARM: at91: mpddrc: add lpddr2 initialization procedure 2019-10-08 09:16:11 +03:00
phy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sdram.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl_at91.c arm: at91: spl_at91.c: Call spl_early_init() if OF_CONTROL is enabled 2019-04-09 09:28:50 +03:00
spl_atmel.c spl: at91: add support for SPL_AT91_MCK_BYPASS 2019-06-06 10:56:42 +03:00
spl.c arm: at91: wdt: Convert watchdog driver to dm/dt 2018-11-16 13:34:34 -05:00