summaryrefslogtreecommitdiff
path: root/common/devices.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-18 09:21:33 +0000
committerwdenk <wdenk>2003-09-18 09:21:33 +0000
commit5f535fe170e2cd90ee65922cbad1a5428d85a9e6 (patch)
treed0b1d5af2252f461fd3533c90e5aa215d6ac5b1d /common/devices.c
parentb0639ca33214eedeb026ce45ad1871d477cdbfb8 (diff)
downloadu-boot-imx-5f535fe170e2cd90ee65922cbad1a5428d85a9e6.zip
u-boot-imx-5f535fe170e2cd90ee65922cbad1a5428d85a9e6.tar.gz
u-boot-imx-5f535fe170e2cd90ee65922cbad1a5428d85a9e6.tar.bz2
* Patches by Anders Larsen, 17 Sep 2003:
- fix spelling errors - set GD_FLG_DEVINIT flag only after device function pointers are valid - Allow CFG_ALT_MEMTEST on systems where address zero isn't writeable - enable 3.rd UART (ST-UART) on PXA(XScale) CPUs - trigger watchdog while waiting in serial driver
Diffstat (limited to 'common/devices.c')
-rw-r--r--common/devices.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/devices.c b/common/devices.c
index 4839eac..7b4a1cd 100644
--- a/common/devices.c
+++ b/common/devices.c
@@ -158,8 +158,6 @@ int device_deregister(char *devname)
int devices_init (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
#ifndef CONFIG_ARM /* already relocated for current ARM implementation */
ulong relocation_offset = gd->reloc_off;
int i;
@@ -195,8 +193,6 @@ int devices_init (void)
#endif
drv_system_init ();
- gd-> flags |= GD_FLG_DEVINIT; /* device initialization done */
-
return (0);
}