From 5f535fe170e2cd90ee65922cbad1a5428d85a9e6 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 18 Sep 2003 09:21:33 +0000 Subject: * 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 --- common/devices.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'common/devices.c') 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); } -- cgit v1.1