Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-15 Thread Simon Goldschmidt

Am 15.05.2019 um 18:19 schrieb Patrick DELAUNAY:

Hi Simon



This adds separate kconfig options for drivers/sysreset and
drivers/firmware.

Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL
build but also added drivers/firmware and drivers/sysreset at the same
time.

Since that is confusing, this patch adds CONFIG_SPL_SYSRESET_SUPPORT
for
drivers/sysreset and CONFIG_SPL_DRIVERS_FIRMWARE_SUPPORT for
drivers/firmware (and accordingly for the TPL options).

To keep the binaries unchanged, this patch enables the 2 new options
on all boards where DRIVERS_MISC_SUPPORT has been enabled before.

Signed-off-by: Simon Goldschmidt 


I have one compilation failed for one board (on latest master branch)

arm:  +   stm32f746-disco
+drivers/built-in.o: In function `do_reset':
+drivers/sysreset/sysreset-uclass.c:113: multiple definition of `do_reset'
+arch/arm/lib/built-in.o:arch/arm/lib/reset.c:30: first defined here
+drivers/built-in.o: In function `reset_cpu':
+drivers/sysreset/sysreset-uclass.c:107: multiple definition of `reset_cpu'
+arch/arm/cpu/armv7m/built-in.o:arch/arm/cpu/armv7m/cpu.c:53: first defined here
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2

But you have perhaps other patch in your branch...

=> for me select SPL_SYSRESET need to be removed for config STM32F7 to avoid 
driver/sysreset/uclass.c compilation


Right, thanks for the hint. Seems like I need to not select 
CONFIG_SPL_SYSRESET if CONFIG_SYSRESET wasn't set.


Also, I need to throw this at travis before sending v3...

Regards,
Simon



For stm32mp and stm32:

SPL_MISC needed for rcc
SPL_SYSRESET are needed for only stm32mp1 cause compilation error for stm32

SPL_FIRMWARE is not needed but I will remove it when this patch will by merged.

For the other part

Reviewed-by: Patrick Delaunay 

Thanks,
Patrick


---

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-15 Thread Patrick DELAUNAY
Hi Simon

> 
> This adds separate kconfig options for drivers/sysreset and
> drivers/firmware.
> 
> Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL
> build but also added drivers/firmware and drivers/sysreset at the same
> time.
> 
> Since that is confusing, this patch adds CONFIG_SPL_SYSRESET_SUPPORT
> for
> drivers/sysreset and CONFIG_SPL_DRIVERS_FIRMWARE_SUPPORT for
> drivers/firmware (and accordingly for the TPL options).
> 
> To keep the binaries unchanged, this patch enables the 2 new options
> on all boards where DRIVERS_MISC_SUPPORT has been enabled before.
> 
> Signed-off-by: Simon Goldschmidt 

I have one compilation failed for one board (on latest master branch)

   arm:  +   stm32f746-disco
+drivers/built-in.o: In function `do_reset':
+drivers/sysreset/sysreset-uclass.c:113: multiple definition of `do_reset'
+arch/arm/lib/built-in.o:arch/arm/lib/reset.c:30: first defined here
+drivers/built-in.o: In function `reset_cpu':
+drivers/sysreset/sysreset-uclass.c:107: multiple definition of `reset_cpu'
+arch/arm/cpu/armv7m/built-in.o:arch/arm/cpu/armv7m/cpu.c:53: first defined here
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2

But you have perhaps other patch in your branch...

=> for me select SPL_SYSRESET need to be removed for config STM32F7 to avoid 
driver/sysreset/uclass.c compilation

For stm32mp and stm32: 

SPL_MISC needed for rcc 
SPL_SYSRESET are needed for only stm32mp1 cause compilation error for stm32

SPL_FIRMWARE is not needed but I will remove it when this patch will by merged.

For the other part

Reviewed-by: Patrick Delaunay 

Thanks,
Patrick

> ---
> 
>  arch/arm/mach-rockchip/Kconfig|  4 +++
>  arch/arm/mach-rockchip/rk3288/Kconfig |  8 ++
>  arch/arm/mach-stm32/Kconfig   |  2 ++
>  arch/arm/mach-stm32mp/Kconfig |  2 ++
>  common/spl/Kconfig| 28 +++
>  configs/B4420QDS_NAND_defconfig   |  2 ++
>  configs/B4860QDS_NAND_defconfig   |  2 ++
>  configs/C29XPCIE_NAND_defconfig   |  2 ++
>  configs/P1010RDB-PA_36BIT_NAND_defconfig  |  4 +++
>  configs/P1010RDB-PA_36BIT_SDCARD_defconfig|  2 ++
>  configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |  2 ++
>  configs/P1010RDB-PA_NAND_defconfig|  4 +++
>  configs/P1010RDB-PA_SDCARD_defconfig  |  2 ++
>  configs/P1010RDB-PA_SPIFLASH_defconfig|  2 ++
>  configs/P1010RDB-PB_36BIT_NAND_defconfig  |  4 +++
>  configs/P1010RDB-PB_36BIT_SDCARD_defconfig|  2 ++
>  configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |  2 ++
>  configs/P1010RDB-PB_NAND_defconfig|  4 +++
>  configs/P1010RDB-PB_SDCARD_defconfig  |  2 ++
>  configs/P1010RDB-PB_SPIFLASH_defconfig|  2 ++
>  configs/T1023RDB_NAND_defconfig   |  2 ++
>  configs/T1023RDB_SDCARD_defconfig |  2 ++
>  configs/T1023RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T1024QDS_NAND_defconfig   |  2 ++
>  configs/T1024QDS_SDCARD_defconfig |  2 ++
>  configs/T1024QDS_SPIFLASH_defconfig   |  2 ++
>  configs/T1024RDB_NAND_defconfig   |  2 ++
>  configs/T1024RDB_SDCARD_defconfig |  2 ++
>  configs/T1024RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T1040D4RDB_NAND_defconfig |  2 ++
>  configs/T1040D4RDB_SDCARD_defconfig   |  2 ++
>  configs/T1040D4RDB_SPIFLASH_defconfig |  2 ++
>  configs/T1040RDB_NAND_defconfig   |  2 ++
>  configs/T1040RDB_SDCARD_defconfig |  2 ++
>  configs/T1040RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T1042D4RDB_NAND_defconfig |  2 ++
>  configs/T1042D4RDB_SDCARD_defconfig   |  2 ++
>  configs/T1042D4RDB_SPIFLASH_defconfig |  2 ++
>  .../T1042RDB_PI_NAND_SECURE_BOOT_defconfig|  2 ++
>  configs/T1042RDB_PI_NAND_defconfig|  2 ++
>  configs/T1042RDB_PI_SDCARD_defconfig  |  2 ++
>  configs/T1042RDB_PI_SPIFLASH_defconfig|  2 ++
>  configs/T2080QDS_NAND_defconfig   |  2 ++
>  configs/T2080QDS_SDCARD_defconfig |  2 ++
>  configs/T2080QDS_SPIFLASH_defconfig   |  2 ++
>  configs/T2080RDB_NAND_defconfig   |  2 ++
>  configs/T2080RDB_SDCARD_defconfig |  2 ++
>  configs/T2080RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T2081QDS_NAND_defconfig   |  2 ++
>  configs/T2081QDS_SDCARD_defconfig |  2 ++
>  configs/T2081QDS_SPIFLASH_defconfig   |  2 ++
>  configs/T4160QDS_NAND_defconfig   |  2 ++
>  configs/T4160QDS_SDCARD_defconfig |  2 ++
>  configs/T4240QDS_NAND_defconfig   |  2 ++
>  configs/T4240QDS_SDCARD_defconfig |  2 ++
>  configs/T4240RDB_SDCARD_defconfig |  2 ++
>  configs/am335x_guardian_defconfig |  2 ++
>  configs/am43xx_evm_defconfig 

Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-07 Thread Simon Goldschmidt
On Tue, May 7, 2019 at 10:07 AM Lokesh Vutla  wrote:
>
>
>
> On 05/05/19 1:33 AM, Simon Goldschmidt wrote:
> > This adds separate kconfig options for drivers/sysreset and
> > drivers/firmware.
> >
> > Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL
> > build but also added drivers/firmware and drivers/sysreset at the same
> > time.
> >
> > Since that is confusing, this patch adds CONFIG_SPL_SYSRESET_SUPPORT for
> > drivers/sysreset and CONFIG_SPL_DRIVERS_FIRMWARE_SUPPORT for
> > drivers/firmware (and accordingly for the TPL options).
>
> Can this be just CONFIG_SPL_SYSREST and CONFIG_SPL_FIRMWARE?
>
> Makefile can be simplified something like below:
> obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
> obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) += firmware/

That would be a good idea, indeed. And while at it,
CONFIG_SPL_DRIVERS_MISC_SUPPORT could be changed to
CONFIG_SPL_MISC.

I'll do that in v2.

Regards,
Simon

>
> Thanks and regards,
> Lokesh
>
> >
> > To keep the binaries unchanged, this patch enables the 2 new options
> > on all boards where DRIVERS_MISC_SUPPORT has been enabled before.
> >
> > Signed-off-by: Simon Goldschmidt 
> > ---
> >
> >  arch/arm/mach-rockchip/Kconfig|  4 +++
> >  arch/arm/mach-rockchip/rk3288/Kconfig |  8 ++
> >  arch/arm/mach-stm32/Kconfig   |  2 ++
> >  arch/arm/mach-stm32mp/Kconfig |  2 ++
> >  common/spl/Kconfig| 28 +++
> >  configs/B4420QDS_NAND_defconfig   |  2 ++
> >  configs/B4860QDS_NAND_defconfig   |  2 ++
> >  configs/C29XPCIE_NAND_defconfig   |  2 ++
> >  configs/P1010RDB-PA_36BIT_NAND_defconfig  |  4 +++
> >  configs/P1010RDB-PA_36BIT_SDCARD_defconfig|  2 ++
> >  configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |  2 ++
> >  configs/P1010RDB-PA_NAND_defconfig|  4 +++
> >  configs/P1010RDB-PA_SDCARD_defconfig  |  2 ++
> >  configs/P1010RDB-PA_SPIFLASH_defconfig|  2 ++
> >  configs/P1010RDB-PB_36BIT_NAND_defconfig  |  4 +++
> >  configs/P1010RDB-PB_36BIT_SDCARD_defconfig|  2 ++
> >  configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |  2 ++
> >  configs/P1010RDB-PB_NAND_defconfig|  4 +++
> >  configs/P1010RDB-PB_SDCARD_defconfig  |  2 ++
> >  configs/P1010RDB-PB_SPIFLASH_defconfig|  2 ++
> >  configs/T1023RDB_NAND_defconfig   |  2 ++
> >  configs/T1023RDB_SDCARD_defconfig |  2 ++
> >  configs/T1023RDB_SPIFLASH_defconfig   |  2 ++
> >  configs/T1024QDS_NAND_defconfig   |  2 ++
> >  configs/T1024QDS_SDCARD_defconfig |  2 ++
> >  configs/T1024QDS_SPIFLASH_defconfig   |  2 ++
> >  configs/T1024RDB_NAND_defconfig   |  2 ++
> >  configs/T1024RDB_SDCARD_defconfig |  2 ++
> >  configs/T1024RDB_SPIFLASH_defconfig   |  2 ++
> >  configs/T1040D4RDB_NAND_defconfig |  2 ++
> >  configs/T1040D4RDB_SDCARD_defconfig   |  2 ++
> >  configs/T1040D4RDB_SPIFLASH_defconfig |  2 ++
> >  configs/T1040RDB_NAND_defconfig   |  2 ++
> >  configs/T1040RDB_SDCARD_defconfig |  2 ++
> >  configs/T1040RDB_SPIFLASH_defconfig   |  2 ++
> >  configs/T1042D4RDB_NAND_defconfig |  2 ++
> >  configs/T1042D4RDB_SDCARD_defconfig   |  2 ++
> >  configs/T1042D4RDB_SPIFLASH_defconfig |  2 ++
> >  .../T1042RDB_PI_NAND_SECURE_BOOT_defconfig|  2 ++
> >  configs/T1042RDB_PI_NAND_defconfig|  2 ++
> >  configs/T1042RDB_PI_SDCARD_defconfig  |  2 ++
> >  configs/T1042RDB_PI_SPIFLASH_defconfig|  2 ++
> >  configs/T2080QDS_NAND_defconfig   |  2 ++
> >  configs/T2080QDS_SDCARD_defconfig |  2 ++
> >  configs/T2080QDS_SPIFLASH_defconfig   |  2 ++
> >  configs/T2080RDB_NAND_defconfig   |  2 ++
> >  configs/T2080RDB_SDCARD_defconfig |  2 ++
> >  configs/T2080RDB_SPIFLASH_defconfig   |  2 ++
> >  configs/T2081QDS_NAND_defconfig   |  2 ++
> >  configs/T2081QDS_SDCARD_defconfig |  2 ++
> >  configs/T2081QDS_SPIFLASH_defconfig   |  2 ++
> >  configs/T4160QDS_NAND_defconfig   |  2 ++
> >  configs/T4160QDS_SDCARD_defconfig |  2 ++
> >  configs/T4240QDS_NAND_defconfig   |  2 ++
> >  configs/T4240QDS_SDCARD_defconfig |  2 ++
> >  configs/T4240RDB_SDCARD_defconfig |  2 ++
> >  configs/am335x_guardian_defconfig |  2 ++
> >  configs/am43xx_evm_defconfig  |  2 ++
> >  configs/am65x_evm_a53_defconfig   |  2 ++
> >  configs/am65x_evm_r5_defconfig|  2 ++
> >  configs/am65x_hs_evm_a53_defconfig|  2 ++
> >  configs/am65x_hs_evm_r5_defconfig |  2 ++
> >  configs/chromebook_link64_defconfig   |  2 ++
> >  configs/imx8qm_mek_defconfig  |  2 ++
> >  

Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-07 Thread Lokesh Vutla


On 05/05/19 1:33 AM, Simon Goldschmidt wrote:
> This adds separate kconfig options for drivers/sysreset and
> drivers/firmware.
> 
> Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL
> build but also added drivers/firmware and drivers/sysreset at the same
> time.
> 
> Since that is confusing, this patch adds CONFIG_SPL_SYSRESET_SUPPORT for
> drivers/sysreset and CONFIG_SPL_DRIVERS_FIRMWARE_SUPPORT for
> drivers/firmware (and accordingly for the TPL options).

Can this be just CONFIG_SPL_SYSREST and CONFIG_SPL_FIRMWARE?

Makefile can be simplified something like below:
obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) += firmware/

Thanks and regards,
Lokesh

> 
> To keep the binaries unchanged, this patch enables the 2 new options
> on all boards where DRIVERS_MISC_SUPPORT has been enabled before.
> 
> Signed-off-by: Simon Goldschmidt 
> ---
> 
>  arch/arm/mach-rockchip/Kconfig|  4 +++
>  arch/arm/mach-rockchip/rk3288/Kconfig |  8 ++
>  arch/arm/mach-stm32/Kconfig   |  2 ++
>  arch/arm/mach-stm32mp/Kconfig |  2 ++
>  common/spl/Kconfig| 28 +++
>  configs/B4420QDS_NAND_defconfig   |  2 ++
>  configs/B4860QDS_NAND_defconfig   |  2 ++
>  configs/C29XPCIE_NAND_defconfig   |  2 ++
>  configs/P1010RDB-PA_36BIT_NAND_defconfig  |  4 +++
>  configs/P1010RDB-PA_36BIT_SDCARD_defconfig|  2 ++
>  configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |  2 ++
>  configs/P1010RDB-PA_NAND_defconfig|  4 +++
>  configs/P1010RDB-PA_SDCARD_defconfig  |  2 ++
>  configs/P1010RDB-PA_SPIFLASH_defconfig|  2 ++
>  configs/P1010RDB-PB_36BIT_NAND_defconfig  |  4 +++
>  configs/P1010RDB-PB_36BIT_SDCARD_defconfig|  2 ++
>  configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |  2 ++
>  configs/P1010RDB-PB_NAND_defconfig|  4 +++
>  configs/P1010RDB-PB_SDCARD_defconfig  |  2 ++
>  configs/P1010RDB-PB_SPIFLASH_defconfig|  2 ++
>  configs/T1023RDB_NAND_defconfig   |  2 ++
>  configs/T1023RDB_SDCARD_defconfig |  2 ++
>  configs/T1023RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T1024QDS_NAND_defconfig   |  2 ++
>  configs/T1024QDS_SDCARD_defconfig |  2 ++
>  configs/T1024QDS_SPIFLASH_defconfig   |  2 ++
>  configs/T1024RDB_NAND_defconfig   |  2 ++
>  configs/T1024RDB_SDCARD_defconfig |  2 ++
>  configs/T1024RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T1040D4RDB_NAND_defconfig |  2 ++
>  configs/T1040D4RDB_SDCARD_defconfig   |  2 ++
>  configs/T1040D4RDB_SPIFLASH_defconfig |  2 ++
>  configs/T1040RDB_NAND_defconfig   |  2 ++
>  configs/T1040RDB_SDCARD_defconfig |  2 ++
>  configs/T1040RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T1042D4RDB_NAND_defconfig |  2 ++
>  configs/T1042D4RDB_SDCARD_defconfig   |  2 ++
>  configs/T1042D4RDB_SPIFLASH_defconfig |  2 ++
>  .../T1042RDB_PI_NAND_SECURE_BOOT_defconfig|  2 ++
>  configs/T1042RDB_PI_NAND_defconfig|  2 ++
>  configs/T1042RDB_PI_SDCARD_defconfig  |  2 ++
>  configs/T1042RDB_PI_SPIFLASH_defconfig|  2 ++
>  configs/T2080QDS_NAND_defconfig   |  2 ++
>  configs/T2080QDS_SDCARD_defconfig |  2 ++
>  configs/T2080QDS_SPIFLASH_defconfig   |  2 ++
>  configs/T2080RDB_NAND_defconfig   |  2 ++
>  configs/T2080RDB_SDCARD_defconfig |  2 ++
>  configs/T2080RDB_SPIFLASH_defconfig   |  2 ++
>  configs/T2081QDS_NAND_defconfig   |  2 ++
>  configs/T2081QDS_SDCARD_defconfig |  2 ++
>  configs/T2081QDS_SPIFLASH_defconfig   |  2 ++
>  configs/T4160QDS_NAND_defconfig   |  2 ++
>  configs/T4160QDS_SDCARD_defconfig |  2 ++
>  configs/T4240QDS_NAND_defconfig   |  2 ++
>  configs/T4240QDS_SDCARD_defconfig |  2 ++
>  configs/T4240RDB_SDCARD_defconfig |  2 ++
>  configs/am335x_guardian_defconfig |  2 ++
>  configs/am43xx_evm_defconfig  |  2 ++
>  configs/am65x_evm_a53_defconfig   |  2 ++
>  configs/am65x_evm_r5_defconfig|  2 ++
>  configs/am65x_hs_evm_a53_defconfig|  2 ++
>  configs/am65x_hs_evm_r5_defconfig |  2 ++
>  configs/chromebook_link64_defconfig   |  2 ++
>  configs/imx8qm_mek_defconfig  |  2 ++
>  configs/imx8qxp_mek_defconfig |  2 ++
>  configs/lion-rk3368_defconfig |  4 +++
>  configs/ls1021aqds_nand_defconfig |  2 ++
>  configs/ls1021aqds_sdcard_ifc_defconfig   |  2 ++
>  configs/ls1021aqds_sdcard_qspi_defconfig  |  2 ++
>  ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |  2 ++
>  configs/ls1043aqds_nand_defconfig |  2 ++
>  

Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-04 Thread Simon Goldschmidt

Am 04.05.2019 um 22:16 schrieb Marek Behun:

On Sat,  4 May 2019 22:03:56 +0200
Simon Goldschmidt  wrote:


diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 018f54428b..7cffdc3d51 100644
--- a/include/configs/turris_omnia.h
+++ b/include/configs/turris_omnia.h
@@ -52,6 +52,8 @@
  #define CONFIG_SPL_STACK  (0x4000 + ((192 - 16) << 10))
  #define CONFIG_SPL_BOOTROM_SAVE   (CONFIG_SPL_STACK + 4)
  #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
+#define CONFIG_SPL_DRIVERS_FIRMWARE_SUPPORT
+#define CONFIG_SPL_SYSRESET_SUPPORT


These are not required for Turris Omnia, only
CONFIG_SPL_DRIVERS_MISC_SUPPORT for ATSHA204A.


I would have suspected that not all of these are required for all boards 
I changed. However, I'd rather have this patch as it is (it adds kconfig 
symbols but shouldn't change the binaries) and the various board 
maintainers can then reduce their configuration as fits as a follow-up.


Regards,
Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-04 Thread Marek Behun
On Sat,  4 May 2019 22:03:56 +0200
Simon Goldschmidt  wrote:

> diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
> index 018f54428b..7cffdc3d51 100644
> --- a/include/configs/turris_omnia.h
> +++ b/include/configs/turris_omnia.h
> @@ -52,6 +52,8 @@
>  #define CONFIG_SPL_STACK (0x4000 + ((192 - 16) << 10))
>  #define CONFIG_SPL_BOOTROM_SAVE  (CONFIG_SPL_STACK + 4)
>  #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
> +#define CONFIG_SPL_DRIVERS_FIRMWARE_SUPPORT
> +#define CONFIG_SPL_SYSRESET_SUPPORT

These are not required for Turris Omnia, only
CONFIG_SPL_DRIVERS_MISC_SUPPORT for ATSHA204A.

Marek
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH] spl: kconfig: separate sysreset and firmware drivers from misc

2019-05-04 Thread Simon Goldschmidt
This adds separate kconfig options for drivers/sysreset and
drivers/firmware.

Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL
build but also added drivers/firmware and drivers/sysreset at the same
time.

Since that is confusing, this patch adds CONFIG_SPL_SYSRESET_SUPPORT for
drivers/sysreset and CONFIG_SPL_DRIVERS_FIRMWARE_SUPPORT for
drivers/firmware (and accordingly for the TPL options).

To keep the binaries unchanged, this patch enables the 2 new options
on all boards where DRIVERS_MISC_SUPPORT has been enabled before.

Signed-off-by: Simon Goldschmidt 
---

 arch/arm/mach-rockchip/Kconfig|  4 +++
 arch/arm/mach-rockchip/rk3288/Kconfig |  8 ++
 arch/arm/mach-stm32/Kconfig   |  2 ++
 arch/arm/mach-stm32mp/Kconfig |  2 ++
 common/spl/Kconfig| 28 +++
 configs/B4420QDS_NAND_defconfig   |  2 ++
 configs/B4860QDS_NAND_defconfig   |  2 ++
 configs/C29XPCIE_NAND_defconfig   |  2 ++
 configs/P1010RDB-PA_36BIT_NAND_defconfig  |  4 +++
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig|  2 ++
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |  2 ++
 configs/P1010RDB-PA_NAND_defconfig|  4 +++
 configs/P1010RDB-PA_SDCARD_defconfig  |  2 ++
 configs/P1010RDB-PA_SPIFLASH_defconfig|  2 ++
 configs/P1010RDB-PB_36BIT_NAND_defconfig  |  4 +++
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig|  2 ++
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |  2 ++
 configs/P1010RDB-PB_NAND_defconfig|  4 +++
 configs/P1010RDB-PB_SDCARD_defconfig  |  2 ++
 configs/P1010RDB-PB_SPIFLASH_defconfig|  2 ++
 configs/T1023RDB_NAND_defconfig   |  2 ++
 configs/T1023RDB_SDCARD_defconfig |  2 ++
 configs/T1023RDB_SPIFLASH_defconfig   |  2 ++
 configs/T1024QDS_NAND_defconfig   |  2 ++
 configs/T1024QDS_SDCARD_defconfig |  2 ++
 configs/T1024QDS_SPIFLASH_defconfig   |  2 ++
 configs/T1024RDB_NAND_defconfig   |  2 ++
 configs/T1024RDB_SDCARD_defconfig |  2 ++
 configs/T1024RDB_SPIFLASH_defconfig   |  2 ++
 configs/T1040D4RDB_NAND_defconfig |  2 ++
 configs/T1040D4RDB_SDCARD_defconfig   |  2 ++
 configs/T1040D4RDB_SPIFLASH_defconfig |  2 ++
 configs/T1040RDB_NAND_defconfig   |  2 ++
 configs/T1040RDB_SDCARD_defconfig |  2 ++
 configs/T1040RDB_SPIFLASH_defconfig   |  2 ++
 configs/T1042D4RDB_NAND_defconfig |  2 ++
 configs/T1042D4RDB_SDCARD_defconfig   |  2 ++
 configs/T1042D4RDB_SPIFLASH_defconfig |  2 ++
 .../T1042RDB_PI_NAND_SECURE_BOOT_defconfig|  2 ++
 configs/T1042RDB_PI_NAND_defconfig|  2 ++
 configs/T1042RDB_PI_SDCARD_defconfig  |  2 ++
 configs/T1042RDB_PI_SPIFLASH_defconfig|  2 ++
 configs/T2080QDS_NAND_defconfig   |  2 ++
 configs/T2080QDS_SDCARD_defconfig |  2 ++
 configs/T2080QDS_SPIFLASH_defconfig   |  2 ++
 configs/T2080RDB_NAND_defconfig   |  2 ++
 configs/T2080RDB_SDCARD_defconfig |  2 ++
 configs/T2080RDB_SPIFLASH_defconfig   |  2 ++
 configs/T2081QDS_NAND_defconfig   |  2 ++
 configs/T2081QDS_SDCARD_defconfig |  2 ++
 configs/T2081QDS_SPIFLASH_defconfig   |  2 ++
 configs/T4160QDS_NAND_defconfig   |  2 ++
 configs/T4160QDS_SDCARD_defconfig |  2 ++
 configs/T4240QDS_NAND_defconfig   |  2 ++
 configs/T4240QDS_SDCARD_defconfig |  2 ++
 configs/T4240RDB_SDCARD_defconfig |  2 ++
 configs/am335x_guardian_defconfig |  2 ++
 configs/am43xx_evm_defconfig  |  2 ++
 configs/am65x_evm_a53_defconfig   |  2 ++
 configs/am65x_evm_r5_defconfig|  2 ++
 configs/am65x_hs_evm_a53_defconfig|  2 ++
 configs/am65x_hs_evm_r5_defconfig |  2 ++
 configs/chromebook_link64_defconfig   |  2 ++
 configs/imx8qm_mek_defconfig  |  2 ++
 configs/imx8qxp_mek_defconfig |  2 ++
 configs/lion-rk3368_defconfig |  4 +++
 configs/ls1021aqds_nand_defconfig |  2 ++
 configs/ls1021aqds_sdcard_ifc_defconfig   |  2 ++
 configs/ls1021aqds_sdcard_qspi_defconfig  |  2 ++
 ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |  2 ++
 configs/ls1043aqds_nand_defconfig |  2 ++
 configs/ls1043aqds_sdcard_ifc_defconfig   |  2 ++
 configs/ls1043aqds_sdcard_qspi_defconfig  |  2 ++
 configs/ls1043ardb_nand_SECURE_BOOT_defconfig |  2 ++
 configs/ls1043ardb_nand_defconfig |  2 ++
 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   |  2 ++
 configs/ls1043ardb_sdcard_defconfig   |  2 ++
 configs/ls1046aqds_sdcard_ifc_defconfig   |  2 ++
 configs/ls1046aqds_sdcard_qspi_defconfig  |  2 ++
 configs/ls1046ardb_emmc_defconfig