123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- #ifndef __T4QDS_H
- #define __T4QDS_H
- #define CONFIG_CMD_REGINFO
- #define CONFIG_SYS_BOOK3E_HV
- #define CONFIG_MP
- #ifndef CONFIG_SYS_TEXT_BASE
- #define CONFIG_SYS_TEXT_BASE 0xeff40000
- #endif
- #ifndef CONFIG_RESET_VECTOR_ADDRESS
- #define CONFIG_RESET_VECTOR_ADDRESS 0xeffffffc
- #endif
- #define CONFIG_SYS_FSL_CPC
- #define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
- #define CONFIG_FSL_IFC
- #define CONFIG_PCIE1
- #define CONFIG_PCIE2
- #define CONFIG_PCIE3
- #define CONFIG_FSL_PCI_INIT
- #define CONFIG_SYS_PCI_64BIT
- #define CONFIG_SYS_SRIO
- #define CONFIG_SRIO1
- #define CONFIG_SRIO2
- #define CONFIG_ENV_OVERWRITE
- #define CONFIG_SYS_CACHE_STASHING
- #define CONFIG_BTB
- #ifdef CONFIG_DDR_ECC
- #define CONFIG_ECC_INIT_VIA_DDRCONTROLLER
- #define CONFIG_MEM_INIT_VALUE 0xdeadbeef
- #endif
- #define CONFIG_ENABLE_36BIT_PHYS
- #define CONFIG_ADDR_MAP
- #define CONFIG_SYS_NUM_ADDR_MAP 64
- #define CONFIG_SYS_MEMTEST_START 0x00200000
- #define CONFIG_SYS_MEMTEST_END 0x00400000
- #define CONFIG_SYS_ALT_MEMTEST
- #define CONFIG_PANIC_HANG
- #define CONFIG_SYS_INIT_L3_ADDR 0xFFFC0000
- #define CONFIG_SYS_L3_SIZE (512 << 10)
- #define CONFIG_SPL_GD_ADDR (CONFIG_SYS_INIT_L3_ADDR + 32 * 1024)
- #ifdef CONFIG_RAMBOOT_PBL
- #define CONFIG_ENV_ADDR (CONFIG_SPL_GD_ADDR + 4 * 1024)
- #endif
- #define CONFIG_SPL_RELOC_MALLOC_ADDR (CONFIG_SPL_GD_ADDR + 12 * 1024)
- #define CONFIG_SPL_RELOC_MALLOC_SIZE (50 << 10)
- #define CONFIG_SPL_RELOC_STACK (CONFIG_SPL_GD_ADDR + 64 * 1024)
- #define CONFIG_SPL_RELOC_STACK_SIZE (22 << 10)
- #define CONFIG_SYS_DCSRBAR 0xf0000000
- #define CONFIG_SYS_DCSRBAR_PHYS 0xf00000000ull
- #define CONFIG_VERY_BIG_RAM
- #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000
- #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
- #define CONFIG_DIMM_SLOTS_PER_CTLR 2
- #define CONFIG_CHIP_SELECTS_PER_CTRL 4
- #define CONFIG_FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
- #define CONFIG_DDR_SPD
- #define CONFIG_SYS_FLASH_BASE 0xe0000000
- #define CONFIG_SYS_FLASH_BASE_PHYS (0xf00000000ull | CONFIG_SYS_FLASH_BASE)
- #ifdef CONFIG_SPL_BUILD
- #define CONFIG_SYS_MONITOR_BASE CONFIG_SPL_TEXT_BASE
- #else
- #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
- #endif
- #define CONFIG_BOARD_EARLY_INIT_R
- #define CONFIG_MISC_INIT_R
- #define CONFIG_HWCONFIG
- #define CONFIG_L1_INIT_RAM
- #define CONFIG_SYS_INIT_RAM_LOCK
- #define CONFIG_SYS_INIT_RAM_ADDR 0xfdd00000
- #define CONFIG_SYS_INIT_RAM_ADDR_PHYS_HIGH 0xf
- #define CONFIG_SYS_INIT_RAM_ADDR_PHYS_LOW 0xfe03c000
- #define CONFIG_SYS_INIT_RAM_ADDR_PHYS \
- ((CONFIG_SYS_INIT_RAM_ADDR_PHYS_HIGH * 1ull << 32) | \
- CONFIG_SYS_INIT_RAM_ADDR_PHYS_LOW)
- #define CONFIG_SYS_INIT_RAM_SIZE 0x00004000
- #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \
- GENERATED_GBL_DATA_SIZE)
- #define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
- #define CONFIG_SYS_MONITOR_LEN (768 * 1024)
- #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
- #define CONFIG_CONS_INDEX 1
- #define CONFIG_SYS_NS16550_SERIAL
- #define CONFIG_SYS_NS16550_REG_SIZE 1
- #define CONFIG_SYS_NS16550_CLK (get_bus_freq(0)/2)
- #define CONFIG_SYS_BAUDRATE_TABLE \
- {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
- #define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x11C500)
- #define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x11C600)
- #define CONFIG_SYS_NS16550_COM3 (CONFIG_SYS_CCSRBAR+0x11D500)
- #define CONFIG_SYS_NS16550_COM4 (CONFIG_SYS_CCSRBAR+0x11D600)
- #define CONFIG_SYS_I2C
- #define CONFIG_SYS_I2C_FSL
- #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F
- #define CONFIG_SYS_FSL_I2C_OFFSET 0x118000
- #define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F
- #define CONFIG_SYS_FSL_I2C2_OFFSET 0x118100
- #define CONFIG_SYS_SRIO1_MEM_VIRT 0xa0000000
- #define CONFIG_SYS_SRIO1_MEM_PHYS 0xc20000000ull
- #define CONFIG_SYS_SRIO1_MEM_SIZE 0x10000000
- #define CONFIG_SYS_SRIO2_MEM_VIRT 0xb0000000
- #define CONFIG_SYS_SRIO2_MEM_PHYS 0xc30000000ull
- #define CONFIG_SYS_SRIO2_MEM_SIZE 0x10000000
- #define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
- #define CONFIG_SYS_PCIE1_MEM_BUS 0xe0000000
- #define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
- #define CONFIG_SYS_PCIE1_MEM_SIZE 0x20000000
- #define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
- #define CONFIG_SYS_PCIE1_IO_BUS 0x00000000
- #define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
- #define CONFIG_SYS_PCIE1_IO_SIZE 0x00010000
- #define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000
- #define CONFIG_SYS_PCIE2_MEM_BUS 0xe0000000
- #define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
- #define CONFIG_SYS_PCIE2_MEM_SIZE 0x20000000
- #define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000
- #define CONFIG_SYS_PCIE2_IO_BUS 0x00000000
- #define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull
- #define CONFIG_SYS_PCIE2_IO_SIZE 0x00010000
- #define CONFIG_SYS_PCIE3_MEM_VIRT 0xc0000000
- #define CONFIG_SYS_PCIE3_MEM_BUS 0xe0000000
- #define CONFIG_SYS_PCIE3_MEM_PHYS 0xc40000000ull
- #define CONFIG_SYS_PCIE3_MEM_SIZE 0x20000000
- #define CONFIG_SYS_PCIE3_IO_VIRT 0xf8020000
- #define CONFIG_SYS_PCIE3_IO_BUS 0x00000000
- #define CONFIG_SYS_PCIE3_IO_PHYS 0xff8020000ull
- #define CONFIG_SYS_PCIE3_IO_SIZE 0x00010000
- #define CONFIG_SYS_PCIE4_MEM_BUS 0xe0000000
- #define CONFIG_SYS_PCIE4_MEM_PHYS 0xc60000000ull
- #define CONFIG_SYS_PCIE4_MEM_SIZE 0x20000000
- #define CONFIG_SYS_PCIE4_IO_BUS 0x00000000
- #define CONFIG_SYS_PCIE4_IO_PHYS 0xff8030000ull
- #define CONFIG_SYS_PCIE4_IO_SIZE 0x00010000
- #ifdef CONFIG_PCI
- #define CONFIG_PCI_INDIRECT_BRIDGE
- #define CONFIG_PCI_SCAN_SHOW
- #define CONFIG_DOS_PARTITION
- #endif
- #ifdef CONFIG_FSL_SATA_V2
- #define CONFIG_LIBATA
- #define CONFIG_FSL_SATA
- #define CONFIG_SYS_SATA_MAX_DEVICE 2
- #define CONFIG_SATA1
- #define CONFIG_SYS_SATA1 CONFIG_SYS_MPC85xx_SATA1_ADDR
- #define CONFIG_SYS_SATA1_FLAGS FLAGS_DMA
- #define CONFIG_SATA2
- #define CONFIG_SYS_SATA2 CONFIG_SYS_MPC85xx_SATA2_ADDR
- #define CONFIG_SYS_SATA2_FLAGS FLAGS_DMA
- #define CONFIG_LBA48
- #define CONFIG_CMD_SATA
- #define CONFIG_DOS_PARTITION
- #endif
- #ifdef CONFIG_FMAN_ENET
- #define CONFIG_MII
- #define CONFIG_ETHPRIME "FM1@DTSEC1"
- #define CONFIG_PHY_GIGE
- #endif
- #define CONFIG_LOADS_ECHO
- #define CONFIG_SYS_LOADS_BAUD_CHANGE
- #define CONFIG_CMD_ERRATA
- #define CONFIG_CMD_IRQ
- #ifdef CONFIG_PCI
- #define CONFIG_CMD_PCI
- #endif
- #define CONFIG_SYS_LONGHELP
- #define CONFIG_CMDLINE_EDITING
- #define CONFIG_AUTO_COMPLETE
- #define CONFIG_SYS_LOAD_ADDR 0x2000000
- #ifdef CONFIG_CMD_KGDB
- #define CONFIG_SYS_CBSIZE 1024
- #else
- #define CONFIG_SYS_CBSIZE 256
- #endif
- #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
- #define CONFIG_SYS_MAXARGS 16
- #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
- #define CONFIG_SYS_BOOTMAPSZ (64 << 20)
- #define CONFIG_SYS_BOOTM_LEN (64 << 20)
- #ifdef CONFIG_CMD_KGDB
- #define CONFIG_KGDB_BAUDRATE 230400
- #endif
- #define CONFIG_ROOTPATH "/opt/nfsroot"
- #define CONFIG_BOOTFILE "uImage"
- #define CONFIG_UBOOTPATH "u-boot.bin"
- #define CONFIG_LOADADDR 1000000
- #define CONFIG_BAUDRATE 115200
- #define CONFIG_HVBOOT \
- "setenv bootargs config-addr=0x60000000; " \
- "bootm 0x01000000 - 0x00f00000"
- #endif
|