summaryrefslogtreecommitdiff
path: root/board/spd8xx
diff options
context:
space:
mode:
Diffstat (limited to 'board/spd8xx')
-rw-r--r--board/spd8xx/Makefile2
-rw-r--r--board/spd8xx/spd8xx.c14
-rw-r--r--board/spd8xx/u-boot.lds6
-rw-r--r--board/spd8xx/u-boot.lds.debug6
4 files changed, 18 insertions, 10 deletions
diff --git a/board/spd8xx/Makefile b/board/spd8xx/Makefile
index ef173d0..13ce9fc 100644
--- a/board/spd8xx/Makefile
+++ b/board/spd8xx/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/spd8xx/spd8xx.c b/board/spd8xx/spd8xx.c
index 6428896..61201d7 100644
--- a/board/spd8xx/spd8xx.c
+++ b/board/spd8xx/spd8xx.c
@@ -41,7 +41,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)
*/
@@ -55,7 +55,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)
*/
@@ -89,9 +89,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 */
@@ -282,8 +282,8 @@ void reset_phy(void)
immr->im_ioport.iop_padat &= ~(PA_ENET_MDC); /* set MDC = 0 */
/*
- * RESET in implemented by a positive pulse of at least 1 us
- * at the reset pin.
+ * RESET in 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/spd8xx/u-boot.lds b/board/spd8xx/u-boot.lds
index debcd49..f801d3b 100644
--- a/board/spd8xx/u-boot.lds
+++ b/board/spd8xx/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/spd8xx/u-boot.lds.debug b/board/spd8xx/u-boot.lds.debug
index bd13b7b..0245f78 100644
--- a/board/spd8xx/u-boot.lds.debug
+++ b/board/spd8xx/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 = .);
}
-