fastboot: Correct dependencies in FASTBOOT_FLASH
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 29 May 2018 15:30:42 +0000 (15:30 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 30 May 2018 09:59:21 +0000 (11:59 +0200)
commit42d8dd4424099ad65400b34af1eb51258130e0b6
tree4b939668ee8fb11379759923ea3a6d0b9e763b09
parentd2df2abbcd4b88539605f8329edd244e6474d7a0
fastboot: Correct dependencies in FASTBOOT_FLASH

Ensure that when selecting FASTBOOT_FLASH you end up with a buildable
configuration. Prior to this you could select NAND without MTDPARTS
and end up with an image which (surprisingly) excluded NAND.

Also fix dependencies on FASTBOOT_GPT_NAME/FASTBOOT_MBR_NAME which require
you have EFI_PARTITION/DOS_PARTITION enabled.

Delete redundant FASTBOOT_FLASH_NAND_DEV from Kconfig - it was only ever
used as a guard and the value was ignored in all cases, we're using
FASTBOOT_FLASH_NAND as the guard now.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/mach-omap2/utils.c
drivers/fastboot/Kconfig
drivers/fastboot/Makefile
drivers/usb/gadget/f_fastboot.c