abf2c68566
This adds a general board file based on MT8518 SoCs from MediaTek. Apart from the generic parts (cpu) we add some low level init codes and initialize the early clocks. This commit is adding the basic boot support for the MT8518 eMMC board. Signed-off-by: mingming lee <mingming.lee@mediatek.com> [trini: Migrate env location to defconfig, set ENV_IS_IN_MMC] Signeed-off-by: Tom Rini <trini@konsulko.com>
45 lines
941 B
Plaintext
45 lines
941 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_POSITION_INDEPENDENT=y
|
|
CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_SYS_TEXT_BASE=0x40008000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_TARGET_MT8518=y
|
|
CONFIG_SYS_PROMPT="MT8518> "
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_ENV_OFFSET=0x4E60000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_SIGNATURE=y
|
|
CONFIG_OF_LIBFDT=y
|
|
# CONFIG_FDT_DEBUG is not set
|
|
CONFIG_LZMA=y
|
|
CONFIG_LZ4=y
|
|
CONFIG_LZO=y
|
|
CONFIG_GZIP=y
|
|
CONFIG_BZIP2=y
|
|
CONFIG_CMD_BOOTMENU=y
|
|
CONFIG_MENU_SHOW=y
|
|
CONFIG_DEFAULT_FDT_FILE="mt8518-ap1-emmc.dtb"
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt8518-ap1-emmc"
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_MT8518=y
|
|
CONFIG_RAM=y
|
|
CONFIG_BAUDRATE=921600
|
|
CONFIG_REGMAP=y
|
|
CONFIG_SYSCON=y
|
|
CONFIG_DM=y
|
|
# CONFIG_DM_DEBUG is not set
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_MTK_SERIAL=y
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_MTK=y
|
|
CONFIG_CLK=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_MTK_TIMER=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_MTK=y
|
|
CONFIG_MMC_HS200_SUPPORT=y
|
|
# CONFIG_ENV_IS_IN_MMC is not set
|