mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
Convert CONFIG_SYS_USB_FAT_BOOT_PARTITION to Kconfig
This converts the following to Kconfig: CONFIG_SYS_USB_FAT_BOOT_PARTITION Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
3371eddaa1
commit
5dbf320bef
@ -1317,6 +1317,13 @@ config SPL_USB_STORAGE
|
|||||||
config options. This enables loading from USB using a configured
|
config options. This enables loading from USB using a configured
|
||||||
device.
|
device.
|
||||||
|
|
||||||
|
config SYS_USB_FAT_BOOT_PARTITION
|
||||||
|
int "Partition on USB to use to load U-Boot from"
|
||||||
|
depends on SPL_USB_STORAGE
|
||||||
|
default 1
|
||||||
|
help
|
||||||
|
Partition on the USB storage device to load U-Boot from
|
||||||
|
|
||||||
config SPL_USB_GADGET
|
config SPL_USB_GADGET
|
||||||
bool "Suppport USB Gadget drivers"
|
bool "Suppport USB Gadget drivers"
|
||||||
help
|
help
|
||||||
|
@ -48,12 +48,6 @@
|
|||||||
/* NS16550 Configuration */
|
/* NS16550 Configuration */
|
||||||
#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
|
#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
|
||||||
|
|
||||||
/* SPL USB Support */
|
|
||||||
|
|
||||||
#if defined(CONFIG_SPL_USB_HOST) || !defined(CONFIG_SPL_BUILD)
|
|
||||||
#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
/* USB Device Firmware Update support */
|
/* USB Device Firmware Update support */
|
||||||
#define DFUARGS \
|
#define DFUARGS \
|
||||||
|
@ -106,6 +106,4 @@
|
|||||||
/* Now for the remaining common defines */
|
/* Now for the remaining common defines */
|
||||||
#include <configs/ti_armv7_common.h>
|
#include <configs/ti_armv7_common.h>
|
||||||
|
|
||||||
#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
|
|
||||||
|
|
||||||
#endif /* __CONFIG_AM642_EVM_H */
|
#endif /* __CONFIG_AM642_EVM_H */
|
||||||
|
@ -110,8 +110,6 @@
|
|||||||
EXTRA_ENV_DFUARGS \
|
EXTRA_ENV_DFUARGS \
|
||||||
BOOTENV
|
BOOTENV
|
||||||
|
|
||||||
#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
|
|
||||||
|
|
||||||
/* Now for the remaining common defines */
|
/* Now for the remaining common defines */
|
||||||
#include <configs/ti_armv7_common.h>
|
#include <configs/ti_armv7_common.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user