1fdbad021f
This patch includes the following: 1. Add fastboot command to erase the whole EMMC_USER 2. Add fastboot command to flash image at EMMC_BOOT1 3. Add fastboot command to erase the whole EMMC_BOOT1 4. Enale CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT for mt8518 Signed-off-by: mingming lee <mingming.lee@mediatek.com>
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_POSITION_INDEPENDENT=y
|
|
CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_SYS_TEXT_BASE=0x40008000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_TARGET_MT8518=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_SIGNATURE=y
|
|
CONFIG_DEFAULT_FDT_FILE="mt8518-ap1-emmc.dtb"
|
|
CONFIG_BOARD_LATE_INIT=y
|
|
CONFIG_SYS_PROMPT="MT8518> "
|
|
CONFIG_CMD_BOOTMENU=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_EFI_PARTITION=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt8518-ap1-emmc"
|
|
CONFIG_REGMAP=y
|
|
CONFIG_SYSCON=y
|
|
CONFIG_CLK=y
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x56000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x1E00000
|
|
CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT=y
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_HS200_SUPPORT=y
|
|
CONFIG_MMC_MTK=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_MT8518=y
|
|
CONFIG_RAM=y
|
|
CONFIG_BAUDRATE=921600
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_MTK_SERIAL=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_MTK_TIMER=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_MUSB_MT85XX=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Mediatek."
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0bb4
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x0c01
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_MTK=y
|
|
CONFIG_LZ4=y
|
|
CONFIG_LZO=y
|