mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 22:43:10 +00:00
9d8665b709
This converts the following to Kconfig: CONFIG_POWER_I2C CONFIG_POWER_LEGACY They are handled at the same time due to a dependency between them. Update the Makefile rule to use legacy power only in U-Boot proper. Unfortunately a separate rule is needed in SPL to be able to build legacy power. Add SPL related symbols for both, to allow for SPL-only usage. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> [trini: More SPL related cleanups, reword commit message] Signed-off-by: Tom Rini <trini@konsulko.com>
92 lines
2.2 KiB
Text
92 lines
2.2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_MX7=y
|
|
CONFIG_SPL_GPIO=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xC0000
|
|
CONFIG_SYS_I2C_MXC_I2C1=y
|
|
CONFIG_SYS_I2C_MXC_I2C2=y
|
|
CONFIG_SYS_I2C_MXC_I2C3=y
|
|
CONFIG_SYS_I2C_MXC_I2C4=y
|
|
CONFIG_SYS_MALLOC_LEN=0x2000000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="imx7d-pico-pi"
|
|
CONFIG_TARGET_PICO_IMX7D=y
|
|
CONFIG_SPL_MMC=y
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SPL=y
|
|
CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
|
|
CONFIG_IMX_RDC=y
|
|
CONFIG_IMX_BOOTAUX=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
|
|
CONFIG_DEFAULT_FDT_FILE="imx7d-pico-pi.dtb"
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_USB_HOST=y
|
|
CONFIG_SPL_USB_GADGET=y
|
|
CONFIG_SPL_USB_SDP_SUPPORT=y
|
|
# CONFIG_CMD_BOOTD is not set
|
|
CONFIG_CMD_BOOTMENU=y
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_SDP=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_MII is not set
|
|
CONFIG_CMD_BMP=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_BOUNCE_BUFFER=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x82000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x10000000
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
|
|
CONFIG_SYS_I2C_LEGACY=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_SYS_I2C_MXC=y
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
|
CONFIG_FSL_USDHC=y
|
|
CONFIG_MTD=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_PHY_ATHEROS=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_DM_MDIO=y
|
|
CONFIG_FEC_MXC=y
|
|
CONFIG_RGMII=y
|
|
CONFIG_MII=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_IMX7=y
|
|
CONFIG_POWER_LEGACY=y
|
|
CONFIG_POWER_I2C=y
|
|
CONFIG_MXC_UART=y
|
|
CONFIG_IMX_THERMAL=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_MXC_USB_OTG_HACTIVE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="FSL"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_DM_VIDEO=y
|
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
|
CONFIG_SPLASH_SCREEN=y
|
|
CONFIG_SPLASH_SCREEN_ALIGN=y
|
|
CONFIG_VIDEO_BMP_RLE8=y
|
|
CONFIG_BMP_16BPP=y
|