spl: kconfig: separate sysreset and firmware drivers from misc
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tue, 16 Jul 2019 19:29:32 +0000 (21:29 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 21 Jul 2019 10:47:13 +0000 (12:47 +0200)
commita8b5031108a22f41234cc3b0c7e4e4e6f6e77cb8
tree6e7e1bc039ffd63e64fb795ff8689c7999dc1a2c
parentef72ba0b87ece8698c7126101f2deeb78c73e357
spl: kconfig: separate sysreset and firmware drivers from misc

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 uses CONFIG_SPL_SYSRESET for
drivers/sysreset and adds CONFIG_SPL_FIRMWARE for
drivers/firmware (and accordingly for the TPL options).

CONFIG_SPL_DRIVERS_MISC_SUPPORT stays for including drivers/misc into
the SPL build (and accordingly for TPL) since there are boards using
non-DM (non UCLASS_MISC) files from drivers/misc. Such boards don't
have CONFIG_SPL_MISC enabled, so cannot use this to include
drivers/misc into the SPL build.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
configs/evb-rk3036_defconfig
configs/kylin-rk3036_defconfig
configs/sandbox_spl_defconfig
drivers/Makefile
drivers/firmware/Kconfig
drivers/sysreset/Kconfig