* Patch by Rune Torgersen, 4 Jun 2003:
add large memory support for MPC8266ADS board
* Patch by Richard Woodruff, 19 June 03:
- Enabled standard u-boot device abstraction for ARM
- Enabled console device for ARM
- Initilized bi_baudrate for ARM
* Patch by Bill Hargen, 23 Apr 2003:
fix byte order for 824x I2C addresses (write op)
diff --git a/common/devices.c b/common/devices.c
index 1f88fd5..4839eac 100644
--- a/common/devices.c
+++ b/common/devices.c
@@ -160,14 +160,16 @@
{
DECLARE_GLOBAL_DATA_PTR;
- int i;
+#ifndef CONFIG_ARM /* already relocated for current ARM implementation */
ulong relocation_offset = gd->reloc_off;
+ int i;
/* relocate device name pointers */
for (i = 0; i < (sizeof (stdio_names) / sizeof (char *)); ++i) {
stdio_names[i] = (char *) (((ulong) stdio_names[i]) +
relocation_offset);
}
+#endif
/* Initialize the list */
devlist = ListCreate (sizeof (device_t));