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:23:08 -05:00
2019-12-02 18:25:02 -05:00
2019-12-02 18:24:58 -05:00
2019-07-15 13:32:25 -05:00
2019-12-05 10:28:39 -05:00
2019-12-09 09:47:43 -06:00
2019-12-09 09:47:43 -06:00
2019-12-02 18:24:58 -05:00
2019-12-02 18:24:58 -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
2016-10-23 18:33:18 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-19 15:23:00 +01:00
2019-01-16 13:56:43 +01:00
2019-12-02 18:24:58 -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
2019-08-11 16:43:41 -04:00
2019-12-15 08:52:29 +08:00
2019-12-15 08:52:29 +08:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:24:58 -05:00
2019-02-18 13:00:53 +01:00
2018-11-27 21:06:53 +05:30
2019-12-02 18:24:58 -05:00
2018-05-07 09:34:12 -04:00
2018-10-10 12:28:52 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:24:58 -05:00
2019-12-15 08:52:29 +08:00
2019-12-15 08:52:29 +08:00
2019-12-09 09:47:43 -06:00
2019-12-09 09:47:43 -06:00
2019-12-09 09:47:43 -06:00
2019-12-02 18:23:13 -05:00
2018-05-07 09:34:12 -04:00
2019-12-09 09:47:43 -06:00
2018-11-05 10:41:56 -06:00
2019-12-02 18:24:58 -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-06 00:06:23 +08:00
2019-12-02 18:24:58 -05:00
2019-12-09 09:47:42 -06:00
2018-05-07 09:34:12 -04:00
2019-08-11 16:43:41 -04:00
2018-05-07 09:34:12 -04:00
2019-04-26 18:58:20 -04:00
2019-12-09 09:47:42 -06:00
2019-07-25 13:13:30 -05:00
2019-09-04 11:37:19 -05:00
2019-12-02 18:23:13 -05:00
2019-12-02 18:23:13 -05:00
2019-09-04 11:37:19 -05:00
2019-07-18 16:37:13 -05:00
2019-09-04 11:37:19 -05:00
2019-12-02 18:23:13 -05:00
2019-12-02 18:24:58 -05:00
2019-12-02 18:24:58 -05:00
2019-01-14 17:43:18 -05:00
2019-01-24 11:35:29 -06:00
2018-07-26 14:08:21 -05:00
2019-09-04 11:37:19 -05:00
2019-12-15 08:52:29 +08:00
2019-12-15 08:52:29 +08:00
2018-10-10 12:28:52 -05:00
2019-08-11 19:27:41 -04:00
2019-08-11 16:43:41 -04:00
2018-10-10 12:28:52 -05:00
2019-12-02 18:24:58 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:24:58 -05:00
2019-12-02 18:24:58 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:24:58 -05:00
2019-12-02 18:24:58 -05:00
2019-12-09 09:47:42 -06:00
2018-12-05 06:01:34 -07:00
2019-08-11 16:43:41 -04:00
2019-04-23 11:17:15 +02:00
2019-12-02 18:24:58 -05:00
2019-08-09 23:15:01 +02: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-12-02 18:24:58 -05:00
2019-12-15 08:52:29 +08:00
2019-04-16 16:29:00 +05:30
2019-07-25 13:13:31 -05:00
2018-05-07 09:34:12 -04:00
2016-09-23 17:55:42 -04:00
2018-06-13 13:54:16 -05:00
2019-12-02 18:24:58 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:24:58 -05:00