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
..
2019-12-02 18:25:25 -05:00
2019-12-02 18:23:09 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:21 -05:00
2019-11-05 10:27:18 +01:00
2019-11-05 10:27:18 +01:00
2019-12-02 18:25:21 -05:00
2019-12-15 08:52:29 +08:00
2019-12-15 08:52:29 +08:00
2019-08-11 19:27:31 -04:00
2019-08-11 19:27:31 -04:00
2019-08-11 19:27:31 -04:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-10-21 15:34:17 +05:30
2019-11-20 18:31:24 -05:00
2019-12-02 18:23:09 -05:00
2019-11-08 16:32:08 +05:30
2019-11-20 18:31:24 -05:00
2019-11-08 16:32:08 +05:30
2019-11-20 18:31:24 -05:00
2019-08-11 19:27:31 -04:00
2019-12-03 23:04:10 -05:00
2019-11-08 11:13:38 +05:30
2019-11-29 10:38:12 +05:30
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:25:01 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-06-23 14:18:34 +08:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2018-05-07 09:34:12 -04:00
2019-06-23 14:18:34 +08:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-10-08 16:36:37 +02:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-10-14 09:31:41 +02:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:25:21 -05:00
2019-10-08 16:36:36 +02:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-06-23 14:18:34 +08:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-06-23 14:18:34 +08:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:21 -05:00
2019-12-02 18:25:25 -05:00
2019-06-23 14:18:34 +08:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-03 23:04:10 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-12-02 18:25:25 -05:00
2019-06-23 14:18:34 +08:00