]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: nand: rework SYS_NAND_U_BOOT_OFFS Kconfig option dependency
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 6 Jun 2016 08:16:57 +0000 (10:16 +0200)
committerScott Wood <oss@buserror.net>
Mon, 20 Jun 2016 00:11:48 +0000 (19:11 -0500)
commit494e108651a3c55b85d060202e941e4d8d68ce5e
tree108717efbc7a03f07c18677db981c5d5df0b13a4
parentc4adf9db5d382be6d13a19585f28de6f3e4e3d61
spl: nand: rework SYS_NAND_U_BOOT_OFFS Kconfig option dependency

The SYS_NAND_U_BOOT_OFFS is quite generic, but the Kconfig entry is forced
to explicitly depend on platforms that are not already defining it in their
include/configs/<board>.h header.

Add the SYS_NAND_U_BOOT_LOCATIONS option, make the SYS_NAND_U_BOOT_OFFS
depends on it, remove the dependency on NAND_SUNXI and make it dependent
on SPL selection.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
drivers/mtd/nand/Kconfig