mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-13 20:36:02 +01:00
On many boards, the USB ports are powered by a GPIO-controlled fixed regulator. In preparation for switching the USB PHY driver to use the regulator uclass instead of driving the GPIO directly, ensure these boards have fixed regulator support enabled. Signed-off-by: Samuel Holland <samuel@sholland.org>
34 lines
964 B
Plaintext
34 lines
964 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN5I=y
|
|
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
|
|
CONFIG_USB0_VBUS_PIN="PB10"
|
|
CONFIG_SPL_I2C=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=sunxi-nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=sunxi-nand.0:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)"
|
|
CONFIG_ENV_IS_IN_UBI=y
|
|
CONFIG_ENV_UBI_PART="UBI"
|
|
CONFIG_ENV_UBI_VOLUME="uboot-env"
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_SLAVE=0x7f
|
|
CONFIG_SYS_I2C_SPEED=400000
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x40000
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x1000
|
|
CONFIG_SYS_NAND_OOBSIZE=0x100
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_AXP_ALDO3_VOLT=3300
|
|
CONFIG_AXP_ALDO4_VOLT=3300
|
|
CONFIG_CONS_INDEX=2
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_FUNCTION_MASS_STORAGE=y
|