mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-24 16:11:33 +00:00
Cleanup config file and bootup output for Yucca board.
This commit is contained in:
parent
bba6837732
commit
fe84b48a94
5 changed files with 18 additions and 18 deletions
|
@ -2,6 +2,8 @@
|
||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Cleanup config file and bootup output for Yucca board.
|
||||||
|
|
||||||
* Fix CONFIG_440_GX define usage.
|
* Fix CONFIG_440_GX define usage.
|
||||||
|
|
||||||
* Remove autogenerated bmp_logo.h file.
|
* Remove autogenerated bmp_logo.h file.
|
||||||
|
|
|
@ -541,18 +541,15 @@ int board_early_init_f (void)
|
||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
{
|
{
|
||||||
sys_info_t sysinfo;
|
char *s = getenv("serial#");
|
||||||
|
|
||||||
get_sys_info (&sysinfo);
|
printf("Board: Yucca - AMCC 440SPe Evaluation Board");
|
||||||
|
if (s != NULL) {
|
||||||
|
puts(", serial# ");
|
||||||
|
puts(s);
|
||||||
|
}
|
||||||
|
putc('\n');
|
||||||
|
|
||||||
printf ("Board: AMCC 440SPe Evaluation Board\n");
|
|
||||||
printf ("\tVCO: %lu MHz\n", sysinfo.freqVCOMhz / 1000000);
|
|
||||||
printf ("\tCPU: %lu MHz\n", sysinfo.freqProcessor / 1000000);
|
|
||||||
printf ("\tPLB: %lu MHz\n", sysinfo.freqPLB / 1000000);
|
|
||||||
printf ("\tOPB: %lu MHz\n", sysinfo.freqOPB / 1000000);
|
|
||||||
printf ("\tEPB: %lu MHz\n", sysinfo.freqEPB / 1000000);
|
|
||||||
printf ("\tPCI: %lu MHz\n", sysinfo.freqPCI / 1000000);
|
|
||||||
printf ("\tDDR: %lu MHz\n", sysinfo.freqDDR / 1000000);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -253,11 +253,13 @@ int checkcpu (void)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PVR_440SPe_RA:
|
case PVR_440SPe_RA:
|
||||||
puts("SPe 3GA533C");
|
puts("SPe Rev. A");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PVR_440SPe_RB:
|
case PVR_440SPe_RB:
|
||||||
puts("SPe 3GB533C");
|
puts("SPe Rev. B");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
printf (" UNKNOWN (PVR=%08x)", pvr);
|
printf (" UNKNOWN (PVR=%08x)", pvr);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -736,7 +736,7 @@
|
||||||
#define PVR_440SP_RA 0x53221850
|
#define PVR_440SP_RA 0x53221850
|
||||||
#define PVR_440SP_RB 0x53221891
|
#define PVR_440SP_RB 0x53221891
|
||||||
#define PVR_440SPe_RA 0x53421890
|
#define PVR_440SPe_RA 0x53421890
|
||||||
#define PVR_440SPe_RB 0x53521891
|
#define PVR_440SPe_RB 0x53421891
|
||||||
#define PVR_601 0x00010000
|
#define PVR_601 0x00010000
|
||||||
#define PVR_602 0x00050000
|
#define PVR_602 0x00050000
|
||||||
#define PVR_603 0x00030000
|
#define PVR_603 0x00030000
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
#define CONFIG_IDENT_STRING "\nU_440SPe_V1R01 level06"
|
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* High Level Configuration Options
|
* High Level Configuration Options
|
||||||
*----------------------------------------------------------------------*/
|
*----------------------------------------------------------------------*/
|
||||||
|
@ -149,8 +148,8 @@
|
||||||
#define CONFIG_ENV_OVERWRITE 1
|
#define CONFIG_ENV_OVERWRITE 1
|
||||||
|
|
||||||
#define CONFIG_BOOTARGS "console=ttyS0,115200n8 root=/dev/nfs rw"
|
#define CONFIG_BOOTARGS "console=ttyS0,115200n8 root=/dev/nfs rw"
|
||||||
#define CONFIG_BOOTCOMMAND "bootm E7C00000" /* autoboot command */
|
#define CONFIG_BOOTCOMMAND "bootm E7C00000" /* autoboot command */
|
||||||
#define CONFIG_BOOTDELAY -1 /* -1 to disable autoboot */
|
#define CONFIG_BOOTDELAY -1 /* -1 to disable autoboot */
|
||||||
|
|
||||||
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
|
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
|
||||||
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
|
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
|
||||||
|
@ -192,7 +191,7 @@
|
||||||
"ramdisk_addr=E7F20000\0" \
|
"ramdisk_addr=E7F20000\0" \
|
||||||
"load=tftp 100000 yuca/u-boot.bin\0" \
|
"load=tftp 100000 yuca/u-boot.bin\0" \
|
||||||
"update=protect off 2:4-7;era 2:4-7;" \
|
"update=protect off 2:4-7;era 2:4-7;" \
|
||||||
"cp.b ${fileaddr} fffc0000 ${filesize};" \
|
"cp.b ${fileaddr} FFFB0000 ${filesize};" \
|
||||||
"setenv filesize;saveenv\0" \
|
"setenv filesize;saveenv\0" \
|
||||||
"upd=run load;run update\0" \
|
"upd=run load;run update\0" \
|
||||||
""
|
""
|
||||||
|
@ -267,7 +266,7 @@
|
||||||
/* General PCI */
|
/* General PCI */
|
||||||
#define CONFIG_PCI /* include pci support */
|
#define CONFIG_PCI /* include pci support */
|
||||||
#define CONFIG_PCI_PNP 1 /* do pci plug-and-play */
|
#define CONFIG_PCI_PNP 1 /* do pci plug-and-play */
|
||||||
#define CONFIG_PCI_SCAN_SHOW i /* show pci devices on startup */
|
#define CONFIG_PCI_SCAN_SHOW 1 /* show pci devices on startup */
|
||||||
#undef CONFIG_PCI_CONFIG_HOST_BRIDGE
|
#undef CONFIG_PCI_CONFIG_HOST_BRIDGE
|
||||||
|
|
||||||
/* Board-specific PCI */
|
/* Board-specific PCI */
|
||||||
|
|
Loading…
Add table
Reference in a new issue