mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Andy Shevchenko](/assets/img/avatar_default.png)
DM is the modern default approach for the drivers in U-Boot. It also allows to configure code via Device Tree. Move Intel Edison to use DM_USB_GADGET and drop hard coded values. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
CONFIG_X86=y
|
|
CONFIG_SYS_TEXT_BASE=0x1101000
|
|
CONFIG_NR_DRAM_BANKS=3
|
|
CONFIG_ENV_SIZE=0x10000
|
|
CONFIG_ENV_OFFSET=0x300000
|
|
CONFIG_ENV_OFFSET_REDUND=0x600000
|
|
CONFIG_DEFAULT_DEVICE_TREE="edison"
|
|
CONFIG_VENDOR_INTEL=y
|
|
CONFIG_TARGET_EDISON=y
|
|
CONFIG_SMP=y
|
|
CONFIG_GENERATE_ACPI_TABLE=y
|
|
CONFIG_BOARD_EARLY_INIT_R=y
|
|
CONFIG_LAST_STAGE_INIT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_CMD_CPU=y
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_ENV_CALLBACK=y
|
|
CONFIG_CMD_ENV_FLAGS=y
|
|
CONFIG_CMD_MEMINFO=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_TIMER=y
|
|
CONFIG_CMD_HASH=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_CPU=y
|
|
CONFIG_DFU_TIMEOUT=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
|
CONFIG_DM_USB_GADGET=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Intel"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x8087
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x0a99
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
# CONFIG_USB_HOST_ETHER is not set
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_TANGIER=y
|
|
CONFIG_SHA1=y
|