u-boot/arch/arm
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
..
cpu Fix typo in macros, "FIRMEWARE" -> "FIRMWARE" 2019-12-05 10:28:39 -05:00
dts Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-net 2019-12-09 13:48:22 -05:00
include dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
lib common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
mach-bcm283x common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-davinci dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
mach-exynos common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx Fixes for 2020.01 2019-12-09 10:32:08 -05:00
mach-integrator
mach-k3 arm: mach-k3: j721e_init: Initialize avs class 0 2019-11-07 18:39:17 -05:00
mach-keystone common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-kirkwood common: Move command functions out of common.h 2019-12-02 18:25:02 -05:00
mach-mediatek ARM: MediaTek: add basic support for MT8518 boards 2019-12-03 12:00:03 -05:00
mach-meson common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mach-mvebu common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
mach-omap2 dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
mach-orion5x common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-rmobile common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-rockchip arm: rockchip: rk3308: Initialize the iomux configuration 2019-12-06 00:06:23 +08:00
mach-s5pc1xx common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-snapdragon arm: mach-snapdragon: pinctrl: clarify gpio disable bit 2019-01-25 12:12:56 -05:00
mach-socfpga common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-sti
mach-stm32 mach-stm32: Fix MPU region size dedicated to SDRAM for STM32F4 2019-06-28 09:45:27 +02:00
mach-stm32mp common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-sunxi common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-tegra net: Always build the string_to_enetaddr() helper 2019-12-09 09:47:41 -06:00
mach-uniphier common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mach-versal arm64: xilinx: Move firmware functions from platform to driver 2019-10-24 13:37:01 +02:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-zynqmp common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
Kconfig mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
Kconfig.debug
Makefile arm: -march=armv5t for ARM11 2019-12-09 10:36:00 -05:00