mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
1770808199
This patch enables the Kconfig symbols needed for full ethernet support on the NIC23. Additionally board specific setup is done, mostly GPIOs related to SFP / GPIO configuration. With this, ethernet can be used on this board. Here an example of a tftp load: => tftp ffffffff81000000 big Using ethernet-mac-nexus@11800e2000000 device TFTP from server 192.168.1.5; our IP address is 192.168.1.247 Filename 'big'. Load address: 0xffffffff81000000 Loading: ################################################## 10 MiB 9.7 MiB/s done Bytes transferred = 10485760 (a00000 hex) Signed-off-by: Stefan Roese <sr@denx.de>
78 lines
1.8 KiB
Text
78 lines
1.8 KiB
Text
CONFIG_MIPS=y
|
|
CONFIG_SYS_TEXT_BASE=0xffffffff80000000
|
|
CONFIG_SYS_MALLOC_LEN=0x1000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xe000
|
|
CONFIG_ENV_SECT_SIZE=0x100
|
|
CONFIG_DEBUG_UART_BASE=0x8001180000000800
|
|
CONFIG_DEBUG_UART_CLOCK=800000000
|
|
CONFIG_SYS_LOAD_ADDR=0xffffffff80100000
|
|
CONFIG_ENV_ADDR=0xe000
|
|
CONFIG_ARCH_OCTEON=y
|
|
CONFIG_TARGET_OCTEON_NIC23=y
|
|
# CONFIG_MIPS_CACHE_SETUP is not set
|
|
# CONFIG_MIPS_CACHE_DISABLE is not set
|
|
CONFIG_MIPS_RELOCATION_TABLE_SIZE=0xc000
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_AHCI=y
|
|
CONFIG_OF_BOARD_FIXUP=y
|
|
CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
|
|
# CONFIG_SYS_DEVICE_NULLDEV is not set
|
|
CONFIG_ARCH_MISC_INIT=y
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_BOARD_LATE_INIT=y
|
|
CONFIG_LAST_STAGE_INIT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_PART=y
|
|
CONFIG_CMD_PCI=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_EFI_PARTITION=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_TFTP_TSIZE=y
|
|
CONFIG_SATA=y
|
|
CONFIG_AHCI_MVEBU=y
|
|
CONFIG_CLK=y
|
|
# CONFIG_INPUT is not set
|
|
CONFIG_MISC=y
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_OCTEONTX=y
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_ATMEL=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_PHYLIB_10G=y
|
|
CONFIG_DM_MDIO=y
|
|
CONFIG_DM_ETH_PHY=y
|
|
CONFIG_NET_OCTEON=y
|
|
CONFIG_PCI=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_RAM=y
|
|
CONFIG_RAM_OCTEON=y
|
|
CONFIG_RAM_OCTEON_DDR4=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_DEBUG_UART_SHIFT=3
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_OCTEON_SERIAL_BOOTCMD=y
|
|
CONFIG_OCTEON_SERIAL_PCIE_CONSOLE=y
|
|
CONFIG_SPI=y
|
|
CONFIG_OCTEON_SPI=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_SYSRESET_OCTEON=y
|
|
CONFIG_HEXDUMP=y
|