mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 14:28:52 +09:00
![Adam Ford](/assets/img/avatar_default.png)
With the converstion of SMC911x to DM, this can facilitate the omap3 boards from LogicPD (now called Beacon EmbeddedWorks) to be converted. There isn't a clean solution to doing this in phases, so the boards are all being done together to avoid breaking functionality. Because the GPMC bus hasn't been converted, the -u-boot.dtsi node needs to show the address of the ethernet controller for each board. The board file, which is common betwen the OMAP35 and DM37 SOM LV and Torpedo boards, can remove the manual ethernet initialization, but it still needs to register the address and GPMC configuration for the Ethernet controller which is now being moved around to board_late_init(). Lastly, this patch updates the various config files to add the reference for DM_ETH and remove the SMC address, which is now fetched from the newly created device tree nodes. Signed-off-by: Adam Ford <aford173@gmail.com>
85 lines
2.3 KiB
Plaintext
85 lines
2.3 KiB
Plaintext
CONFIG_ARM=y
|
|
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMSET is not set
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_SYS_TEXT_BASE=0x80100000
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_TARGET_OMAP3_LOGIC=y
|
|
# CONFIG_SPL_OMAP3_ID_NAND is not set
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_TEXT_BASE=0x40200000
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_ANDROID_BOOT_IMAGE=y
|
|
# CONFIG_USE_BOOTCOMMAND is not set
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_PREBOOT="setenv preboot;saveenv;"
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_DEFAULT_FDT_FILE="logicpd-som-lv-35xx-devkit.dtb"
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SPL_SEPARATE_BSS=y
|
|
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
|
# CONFIG_SPL_FS_EXT4 is not set
|
|
# CONFIG_SPL_I2C_SUPPORT is not set
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
# CONFIG_SPL_POWER_SUPPORT is not set
|
|
CONFIG_SYS_PROMPT="OMAP Logic # "
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_NAND_OFS=0x240000
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_UUID=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0,nor0=physmap-flash.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(MLO),1792k(u-boot),128k(spl-os),128k(u-boot-env),6m(kernel),-(fs);physmap-flash.0:-(nor)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="logicpd-som-lv-35xx-devkit"
|
|
# CONFIG_ENV_IS_IN_FAT is not set
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_FLASH_CFI_DRIVER=y
|
|
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
|
CONFIG_FLASH_CFI_MTD=y
|
|
CONFIG_SYS_FLASH_PROTECTION=y
|
|
CONFIG_SYS_FLASH_CFI=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
|
|
CONFIG_SPL_NAND_SIMPLE=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_SMC911X=y
|
|
CONFIG_SMC911X_32_BIT=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_SINGLE=y
|
|
CONFIG_DM_PMIC=y
|
|
# CONFIG_SPL_PMIC_CHILDREN is not set
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_OMAP3_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB=y
|
|
# CONFIG_SPL_DM_USB is not set
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_HOST=y
|
|
CONFIG_USB_MUSB_OMAP2PLUS=y
|
|
CONFIG_TWL4030_USB=y
|
|
CONFIG_BCH=y
|