mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 06:33:45 +09:00
powerpc/85xx: minor clean-ups to the P2020DS board header file
Remove some unused macros and remove all #undef macros. The RTL8139 network adapter is not shipped with the board nor commonly used, so don't define it by default. The E1000 is still defined. Add 57,600 baud as an option. For some reason, this baud rate is missing from many boards. Signed-off-by: Timur Tabi <timur@freescale.com>
This commit is contained in:
parent
d3de823e54
commit
fb365a8a96
@ -128,7 +128,6 @@
|
|||||||
#else
|
#else
|
||||||
#define CONFIG_FSL_DDR3 1
|
#define CONFIG_FSL_DDR3 1
|
||||||
#endif
|
#endif
|
||||||
#undef CONFIG_FSL_DDR_INTERACTIVE
|
|
||||||
|
|
||||||
/* ECC will be enabled based on perf_mode environment variable */
|
/* ECC will be enabled based on perf_mode environment variable */
|
||||||
/* #define CONFIG_DDR_ECC */
|
/* #define CONFIG_DDR_ECC */
|
||||||
@ -207,8 +206,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory map
|
* Memory map
|
||||||
*
|
*
|
||||||
@ -251,7 +248,6 @@
|
|||||||
|
|
||||||
#define CONFIG_SYS_MAX_FLASH_BANKS 2 /* number of banks */
|
#define CONFIG_SYS_MAX_FLASH_BANKS 2 /* number of banks */
|
||||||
#define CONFIG_SYS_MAX_FLASH_SECT 1024 /* sectors per device */
|
#define CONFIG_SYS_MAX_FLASH_SECT 1024 /* sectors per device */
|
||||||
#undef CONFIG_SYS_FLASH_CHECKSUM
|
|
||||||
#define CONFIG_SYS_FLASH_ERASE_TOUT 60000 /* Flash Erase Timeout (ms) */
|
#define CONFIG_SYS_FLASH_ERASE_TOUT 60000 /* Flash Erase Timeout (ms) */
|
||||||
#define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
|
#define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
|
||||||
|
|
||||||
@ -373,7 +369,7 @@
|
|||||||
#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
|
#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
|
||||||
|
|
||||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||||
{300, 600, 1200, 2400, 4800, 9600, 19200, 38400,115200}
|
{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
|
||||||
|
|
||||||
#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x4500)
|
#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x4500)
|
||||||
#define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x4600)
|
#define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x4600)
|
||||||
@ -391,7 +387,6 @@
|
|||||||
/* I2C */
|
/* I2C */
|
||||||
#define CONFIG_FSL_I2C /* Use FSL common I2C driver */
|
#define CONFIG_FSL_I2C /* Use FSL common I2C driver */
|
||||||
#define CONFIG_HARD_I2C /* I2C with hardware support */
|
#define CONFIG_HARD_I2C /* I2C with hardware support */
|
||||||
#undef CONFIG_SOFT_I2C /* I2C bit-banged */
|
|
||||||
#define CONFIG_I2C_MULTI_BUS
|
#define CONFIG_I2C_MULTI_BUS
|
||||||
#define CONFIG_SYS_I2C_SPEED 400000 /* I2C speed and slave address */
|
#define CONFIG_SYS_I2C_SPEED 400000 /* I2C speed and slave address */
|
||||||
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x57
|
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x57
|
||||||
@ -526,17 +521,6 @@
|
|||||||
#define CONFIG_SYS_SRIO2_MEM_SIZE 0x20000000 /* 512M */
|
#define CONFIG_SYS_SRIO2_MEM_SIZE 0x20000000 /* 512M */
|
||||||
|
|
||||||
#define CONFIG_PCI_PNP /* do pci plug-and-play */
|
#define CONFIG_PCI_PNP /* do pci plug-and-play */
|
||||||
|
|
||||||
#undef CONFIG_EEPRO100
|
|
||||||
#undef CONFIG_TULIP
|
|
||||||
#define CONFIG_RTL8139
|
|
||||||
|
|
||||||
#ifndef CONFIG_PCI_PNP
|
|
||||||
#define PCI_ENET0_IOADDR CONFIG_SYS_PCIE3_IO_BUS
|
|
||||||
#define PCI_ENET0_MEMADDR CONFIG_SYS_PCIE3_IO_BUS
|
|
||||||
#define PCI_IDSEL_NUMBER 0x11 /* IDSEL = AD11 */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
|
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
|
||||||
#define CONFIG_DOS_PARTITION
|
#define CONFIG_DOS_PARTITION
|
||||||
#define CONFIG_SCSI_AHCI
|
#define CONFIG_SCSI_AHCI
|
||||||
@ -563,7 +547,6 @@
|
|||||||
#define CONFIG_TSEC3 1
|
#define CONFIG_TSEC3 1
|
||||||
#define CONFIG_TSEC3_NAME "eTSEC3"
|
#define CONFIG_TSEC3_NAME "eTSEC3"
|
||||||
|
|
||||||
#define CONFIG_PIXIS_SGMII_CMD
|
|
||||||
#define CONFIG_FSL_SGMII_RISER 1
|
#define CONFIG_FSL_SGMII_RISER 1
|
||||||
#define SGMII_RISER_PHY_OFFSET 0x1b
|
#define SGMII_RISER_PHY_OFFSET 0x1b
|
||||||
|
|
||||||
@ -655,8 +638,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_WATCHDOG /* watchdog disabled */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SDHC/MMC
|
* SDHC/MMC
|
||||||
*/
|
*/
|
||||||
@ -732,7 +713,6 @@
|
|||||||
#define CONFIG_LOADADDR 1000000
|
#define CONFIG_LOADADDR 1000000
|
||||||
|
|
||||||
#define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */
|
#define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */
|
||||||
#undef CONFIG_BOOTARGS /* the boot command will set bootargs */
|
|
||||||
|
|
||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user