mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Tuomas Tynkkynen](/assets/img/avatar_default.png)
Having this as a 'default y' is rather annoying because it doesn't actually compile unless other options are defined in the board header: ../cmd/bootm.c: In function 'do_imls_nor': ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'? i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) { Make it 'default n' so people who develop new boards that start from a blank defconfig have one less compilation failure to debug. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
30 lines
943 B
Plaintext
30 lines
943 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_MACH_SUN5I=y
|
|
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
|
|
CONFIG_USB0_VBUS_PIN="PB10"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
|
|
CONFIG_SYS_EXTRA_OPTIONS="SYS_NAND_BLOCK_SIZE=0x40000,SYS_NAND_PAGE_SIZE=4096,SYS_NAND_OOBSIZE=256"
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
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_MMC is not set
|
|
CONFIG_NAND=y
|
|
CONFIG_NAND_SUNXI=y
|
|
CONFIG_AXP_ALDO3_VOLT=3300
|
|
CONFIG_AXP_ALDO4_VOLT=3300
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|