diff options
author | wdenk <wdenk> | 2003-06-22 17:18:28 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-22 17:18:28 +0000 |
commit | 3595ac4979e648e102c7a500e3c63193a27953bc (patch) | |
tree | b15884457b571ad55691fa8a0a6841d5dde15a14 /common/devices.c | |
parent | 9a0e21a3a87830f66a93c17d1bca66fd12d860ae (diff) | |
download | u-boot-imx-3595ac4979e648e102c7a500e3c63193a27953bc.zip u-boot-imx-3595ac4979e648e102c7a500e3c63193a27953bc.tar.gz u-boot-imx-3595ac4979e648e102c7a500e3c63193a27953bc.tar.bz2 |
* 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)
Diffstat (limited to 'common/devices.c')
-rw-r--r-- | common/devices.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ int devices_init (void) { 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)); |