summaryrefslogtreecommitdiff
path: root/board/ivm
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /board/ivm
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.bz2
* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'board/ivm')
-rw-r--r--board/ivm/Makefile2
-rw-r--r--board/ivm/ivm.c14
-rw-r--r--board/ivm/u-boot.lds6
-rw-r--r--board/ivm/u-boot.lds.debug6
4 files changed, 18 insertions, 10 deletions
diff --git a/board/ivm/Makefile b/board/ivm/Makefile
index ef173d0..13ce9fc 100644
--- a/board/ivm/Makefile
+++ b/board/ivm/Makefile
@@ -28,7 +28,7 @@ LIB = lib$(BOARD).a
OBJS = $(BOARD).o flash.o
$(LIB): .depend $(OBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS)
#########################################################################
diff --git a/board/ivm/ivm.c b/board/ivm/ivm.c
index 117dbe6..73a3987 100644
--- a/board/ivm/ivm.c
+++ b/board/ivm/ivm.c
@@ -48,7 +48,7 @@ const uint sharc_table[] =
*/
0x0FF3FC04, 0x0FF3EC00, 0x7FFFEC04, 0xFFFFEC04,
0xFFFFEC05, /* last */
- _NOT_USED_, _NOT_USED_, _NOT_USED_,
+ _NOT_USED_, _NOT_USED_, _NOT_USED_,
/*
* Burst Read. (Offset 8 in UPM RAM)
*/
@@ -62,7 +62,7 @@ const uint sharc_table[] =
*/
0x0FAFFC04, 0x0FAFEC00, 0x7FFFEC04, 0xFFFFEC04,
0xFFFFEC05, /* last */
- _NOT_USED_, _NOT_USED_, _NOT_USED_,
+ _NOT_USED_, _NOT_USED_, _NOT_USED_,
/*
* Burst Write. (Offset 20 in UPM RAM)
*/
@@ -99,9 +99,9 @@ const uint sdram_table[] =
/*
* SDRAM Initialization (offset 5 in UPM RAM)
*
- * This is no UPM entry point. The following definition uses
- * the remaining space to establish an initialization
- * sequence, which is executed by a RUN command.
+ * This is no UPM entry point. The following definition uses
+ * the remaining space to establish an initialization
+ * sequence, which is executed by a RUN command.
*
*/
0x1FF77C35, 0xEFEABC34, 0x1FB57C35, /* last */
@@ -324,8 +324,8 @@ void reset_phy(void)
udelay(1000);
/*
- * RESET is implemented by a positive pulse of at least 1 us
- * at the reset pin.
+ * RESET is implemented by a positive pulse of at least 1 us
+ * at the reset pin.
*
* Configure RESET pins for NS DP83843 PHY, and RESET chip.
*
diff --git a/board/ivm/u-boot.lds b/board/ivm/u-boot.lds
index d1e121e..ea4fc8f 100644
--- a/board/ivm/u-boot.lds
+++ b/board/ivm/u-boot.lds
@@ -98,6 +98,11 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
+ __u_boot_cmd_start = .;
+ .u_boot_cmd : { *(.u_boot_cmd) }
+ __u_boot_cmd_end = .;
+
+
__start___ex_table = .;
__ex_table : { *(__ex_table) }
__stop___ex_table = .;
@@ -120,4 +125,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-
diff --git a/board/ivm/u-boot.lds.debug b/board/ivm/u-boot.lds.debug
index e62152a..7b53217 100644
--- a/board/ivm/u-boot.lds.debug
+++ b/board/ivm/u-boot.lds.debug
@@ -107,6 +107,11 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
+ __u_boot_cmd_start = .;
+ .u_boot_cmd : { *(.u_boot_cmd) }
+ __u_boot_cmd_end = .;
+
+
__start___ex_table = .;
__ex_table : { *(__ex_table) }
__stop___ex_table = .;
@@ -129,4 +134,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-