diff options
author | wdenk <wdenk> | 2004-05-12 22:54:36 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-05-12 22:54:36 +0000 |
commit | 02b11f8e096fde3fc891190c413014a63cdc37b3 (patch) | |
tree | a54ae384e4818c20966cd8710bc9d2fa27b3faf9 /board/kup/kup4x | |
parent | 6c1362cf637ccaa89806edf70f000009672c509e (diff) | |
download | u-boot-imx-02b11f8e096fde3fc891190c413014a63cdc37b3.zip u-boot-imx-02b11f8e096fde3fc891190c413014a63cdc37b3.tar.gz u-boot-imx-02b11f8e096fde3fc891190c413014a63cdc37b3.tar.bz2 |
Patch by Klaus Heydeck, 12 May 2004:
Using external watchdog for KUP4 boards in mpc8xx/cpu.c;
load_sernum_ethaddr() for KUP4 boards in lib_ppc/board.c;
various changes to KUP4 board specific files
Diffstat (limited to 'board/kup/kup4x')
-rw-r--r-- | board/kup/kup4x/Makefile | 2 | ||||
-rw-r--r-- | board/kup/kup4x/kup4x.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/kup/kup4x/Makefile b/board/kup/kup4x/Makefile index 5732044..62d289b 100644 --- a/board/kup/kup4x/Makefile +++ b/board/kup/kup4x/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a -OBJS = $(BOARD).o ../common/flash.o ../common/kup.o +OBJS = $(BOARD).o ../common/flash.o ../common/kup.o ../common/load_sernum_ethaddr.o $(LIB): .depend $(OBJS) $(AR) crv $@ $(OBJS) diff --git a/board/kup/kup4x/kup4x.c b/board/kup/kup4x/kup4x.c index 53342e9..cd9ed13 100644 --- a/board/kup/kup4x/kup4x.c +++ b/board/kup/kup4x/kup4x.c @@ -24,6 +24,7 @@ #include <common.h> #include <mpc8xx.h> +#include <post.h> #include "../common/kup.h" #ifdef CONFIG_KUP4K_LOGO /* #include "s1d13706.h" */ @@ -123,12 +124,11 @@ int checkboard (void) */ memctl->memc_or4 = 0xFFFF8926; memctl->memc_br4 = 0x90000401; - + __asm__ ("eieio"); latch = (volatile uchar *) 0x90000200; rev = (*latch & 0xF8) >> 3; mod = (*latch & 0x03); - printf ("Board: KUP4X Rev %d.%d SN: %s\n", rev, mod, - getenv ("ethaddr")); + printf ("Board: KUP4X Rev %d.%d\n",rev,mod); return (0); } |