mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +00:00
3acbc7b2aa
Update the code and the configs for eMMC boot and userdata partitions acces - FASTBOOT_MMC_BOOT_SUPPORT: boot partition 1 and 2 (erase/write) - FASTBOOT_MMC_BOOT1_NAME: boot partition 1, default name="mmc0boot0" - FASTBOOT_MMC_BOOT2_NAME: boot partition 2, default name="mmc0boot1" This patch also removes the unnecessary dependency with ARCH_MEDIATEK and EFI_PARTITION. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_POSITION_INDEPENDENT=y
|
|
CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_SYS_TEXT_BASE=0x40008000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_TARGET_MT8518=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt8518-ap1-emmc"
|
|
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_ENV_OVERWRITE=y
|
|
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_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
|
|
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
|
|
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_LZO=y
|