mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 20:52:22 -04:00
TQM5200: perform POST memory test only on STK52xx carrier board.
(and then only if PSC6_3 is read as "1" when booting). Patch by Martin Krause, 21 Jun 2006
This commit is contained in:
parent
2b208f5308
commit
1d92b2e550
@ -2,6 +2,10 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* TQM5200: perform POST memory test only on STK52xx carrier board.
|
||||||
|
(and then only if PSC6_3 is read as "1" when booting).
|
||||||
|
Patch by Martin Krause, 21 Jun 2006
|
||||||
|
|
||||||
* Move "ar" flags to config.mk to allow for silent "make -s"
|
* Move "ar" flags to config.mk to allow for silent "make -s"
|
||||||
Based on patch by Mike Frysinger, 20 Jun 2006
|
Based on patch by Mike Frysinger, 20 Jun 2006
|
||||||
|
|
||||||
|
@ -396,6 +396,7 @@ void ide_set_reset (int idereset)
|
|||||||
*/
|
*/
|
||||||
int post_hotkeys_pressed(void)
|
int post_hotkeys_pressed(void)
|
||||||
{
|
{
|
||||||
|
#ifdef CONFIG_STK52XX
|
||||||
struct mpc5xxx_gpio *gpio;
|
struct mpc5xxx_gpio *gpio;
|
||||||
|
|
||||||
gpio = (struct mpc5xxx_gpio*) MPC5XXX_GPIO;
|
gpio = (struct mpc5xxx_gpio*) MPC5XXX_GPIO;
|
||||||
@ -414,6 +415,9 @@ int post_hotkeys_pressed(void)
|
|||||||
gpio->simple_ddr &= ~(0x20000000);
|
gpio->simple_ddr &= ~(0x20000000);
|
||||||
|
|
||||||
return ((gpio->simple_ival & 0x20000000) ? 0 : 1);
|
return ((gpio->simple_ival & 0x20000000) ? 0 : 1);
|
||||||
|
#else
|
||||||
|
return 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user