mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 14:06:07 -04:00
Motion-PRO: Add displaying of CPLD revision information during boot.
Signed-off-by: Jan Wrobel <wrr@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
This commit is contained in:
parent
c99512d6bd
commit
c75e639630
@ -173,7 +173,8 @@ long int initdram (int board_type)
|
|||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
{
|
{
|
||||||
puts("Board: Promess Motion-PRO board\n");
|
uchar rev = *(vu_char *)CPLD_REV_REGISTER;
|
||||||
|
printf("Board: Promess Motion-PRO board (CPLD rev. 0x%02x)\n", rev);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -356,6 +356,12 @@ extern void __led_set(led_id_t id, int state);
|
|||||||
#define CFG_GPS_PORT_CONFIG 0x1105a004
|
#define CFG_GPS_PORT_CONFIG 0x1105a004
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Motion-PRO's CPLD revision control register
|
||||||
|
*/
|
||||||
|
#define CPLD_REV_REGISTER (CFG_CS2_START + 0x06)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Miscellaneous configurable options
|
* Miscellaneous configurable options
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user