mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
5f74d97c45
Activate the USB onboard HUB driver, that is used to enable the HUB supply on STM32MP15 EVAL, DK1 and DK2 boards. This avoids marking the 3v3 corresponding regulator as always-on. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
194 lines
5.1 KiB
Text
194 lines
5.1 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_STM32MP=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x3000
|
|
CONFIG_ENV_OFFSET=0x280000
|
|
CONFIG_ENV_SECT_SIZE=0x40000
|
|
CONFIG_SPL_DM_SPI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="stm32mp157c-ev1"
|
|
CONFIG_SPL_TEXT_BASE=0x2FFC2500
|
|
CONFIG_SYS_PROMPT="STM32MP> "
|
|
CONFIG_SPL_MMC=y
|
|
CONFIG_SPL=y
|
|
CONFIG_CMD_STM32KEY=y
|
|
CONFIG_TYPEC_STUSB160X=y
|
|
CONFIG_TARGET_ST_STM32MP15x=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x2C0000
|
|
CONFIG_CMD_STM32PROG=y
|
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
|
CONFIG_SPL_SPI=y
|
|
# CONFIG_ARMV7_VIRT is not set
|
|
CONFIG_SYS_LOAD_ADDR=0xc2000000
|
|
CONFIG_SYS_MEMTEST_START=0xc0000000
|
|
CONFIG_SYS_MEMTEST_END=0xc4000000
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc0100000
|
|
CONFIG_FIT=y
|
|
CONFIG_BOOTDELAY=1
|
|
CONFIG_BOOTCOMMAND="run bootcmd_stm32mp"
|
|
CONFIG_SPL_LOG=y
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_SPL_FOOTPRINT_LIMIT=y
|
|
CONFIG_SPL_MAX_FOOTPRINT=0x3db00
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SPL_STACK=0x30000000
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
|
|
CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xc0300000
|
|
CONFIG_SYS_SPL_MALLOC_SIZE=0x1d00000
|
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
|
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3
|
|
CONFIG_SPL_ENV_SUPPORT=y
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
CONFIG_SPL_DM_SPI_FLASH=y
|
|
CONFIG_SPL_POWER=y
|
|
CONFIG_SPL_SPI_FLASH_MTD=y
|
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000
|
|
CONFIG_FDT_SIMPLEFB=y
|
|
CONFIG_SYS_PBSIZE=1050
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
|
CONFIG_CMD_ADTIMG=y
|
|
CONFIG_CMD_ERASEENV=y
|
|
CONFIG_CMD_NVEDIT_EFI=y
|
|
CONFIG_CMD_MEMINFO=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_CMD_UNZIP=y
|
|
CONFIG_CMD_ADC=y
|
|
CONFIG_CMD_CLK=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_FUSE=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_REMOTEPROC=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
CONFIG_SYS_DISABLE_AUTOLOAD=y
|
|
CONFIG_CMD_BMP=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EFIDEBUG=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_RNG=y
|
|
CONFIG_CMD_TIMER=y
|
|
CONFIG_CMD_PMIC=y
|
|
CONFIG_CMD_REGULATOR=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_LOG=y
|
|
CONFIG_CMD_UBI=y
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
|
CONFIG_OF_LIVE=y
|
|
CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks"
|
|
CONFIG_ENV_IS_NOWHERE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_ENV_IS_IN_UBI=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_ENV_UBI_PART="UBI"
|
|
CONFIG_ENV_UBI_VOLUME="uboot_config"
|
|
CONFIG_ENV_UBI_VOLUME_REDUND="uboot_config_r"
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SYS_MMC_ENV_DEV=-1
|
|
CONFIG_ENV_MMC_USE_DT=y
|
|
# CONFIG_SPL_ENV_IS_NOWHERE is not set
|
|
# CONFIG_SPL_ENV_IS_IN_SPI_FLASH is not set
|
|
CONFIG_TFTP_TSIZE=y
|
|
CONFIG_USE_SERVERIP=y
|
|
CONFIG_SERVERIP="192.168.1.1"
|
|
CONFIG_STM32_ADC=y
|
|
CONFIG_SET_DFU_ALT_INFO=y
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0xC0000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x02000000
|
|
CONFIG_FASTBOOT_USB_DEV=1
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=1
|
|
CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
|
|
CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
|
|
CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
|
|
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
|
|
CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
|
|
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
|
|
CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
|
|
CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
|
|
CONFIG_GPIO_HOG=y
|
|
CONFIG_DM_HWSPINLOCK=y
|
|
CONFIG_HWSPINLOCK_STM32=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_STM32F7=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_STM32_FMC2_EBI=y
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
|
CONFIG_STM32_SDMMC2=y
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_SYS_MTDPARTS_RUNTIME=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_NAND_STM32_FMC2=y
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_MTD_SPI_NAND=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_PHY_REALTEK=y
|
|
CONFIG_DWC_ETH_QOS=y
|
|
CONFIG_PHY=y
|
|
CONFIG_PHY_STM32_USBPHYC=y
|
|
CONFIG_PINCONF=y
|
|
# CONFIG_SPL_PINCTRL_FULL is not set
|
|
CONFIG_PINCTRL_STMFX=y
|
|
CONFIG_DM_PMIC=y
|
|
# CONFIG_SPL_PMIC_CHILDREN is not set
|
|
CONFIG_PMIC_STPMIC1=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
CONFIG_DM_REGULATOR_STM32_VREFBUF=y
|
|
CONFIG_DM_REGULATOR_STPMIC1=y
|
|
CONFIG_REMOTEPROC_STM32_COPRO=y
|
|
CONFIG_DM_RNG=y
|
|
CONFIG_RNG_STM32MP1=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_RTC_STM32=y
|
|
CONFIG_SERIAL_RX_BUFFER=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_STM32_QSPI=y
|
|
CONFIG_STM32_SPI=y
|
|
CONFIG_SYSRESET_SYSCON=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB_GADGET=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_GENERIC=y
|
|
CONFIG_USB_ONBOARD_HUB=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="STMicroelectronics"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0483
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x5720
|
|
CONFIG_USB_GADGET_DWC2_OTG=y
|
|
CONFIG_VIDEO=y
|
|
CONFIG_BACKLIGHT_GPIO=y
|
|
CONFIG_VIDEO_LCD_ORISETECH_OTM8009A=y
|
|
CONFIG_VIDEO_LCD_RAYDIUM_RM68200=y
|
|
CONFIG_VIDEO_STM32=y
|
|
CONFIG_VIDEO_STM32_DSI=y
|
|
CONFIG_VIDEO_STM32_MAX_XRES=1280
|
|
CONFIG_VIDEO_STM32_MAX_YRES=800
|
|
CONFIG_BMP_16BPP=y
|
|
CONFIG_BMP_24BPP=y
|
|
CONFIG_BMP_32BPP=y
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_STM32MP=y
|
|
# CONFIG_BINMAN_FDT is not set
|
|
CONFIG_ERRNO_STR=y
|
|
CONFIG_FDT_FIXUP_PARTITIONS=y
|
|
# CONFIG_LMB_USE_MAX_REGIONS is not set
|
|
CONFIG_LMB_MEMORY_REGIONS=2
|
|
CONFIG_LMB_RESERVED_REGIONS=16
|