summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-01-16 18:30:50 +0100
committerWolfgang Denk <wd@denx.de>2007-01-16 18:30:50 +0100
commit6d3e0107235aa0e6a6dcb77f9884497280bf85ad (patch)
tree8f79d5990b7545ce3474506dddb002c3cce58470
parent1bbbbdd20fcec9933697000dcf55ff7972622596 (diff)
Raname solidcard3 into sc3; add redundant env for sc3
-rw-r--r--CHANGELOG14
-rwxr-xr-xMAKEALL8
-rw-r--r--Makefile4
-rw-r--r--board/sc3/Makefile (renamed from board/solidcard3/Makefile)0
-rw-r--r--board/sc3/config.mk (renamed from board/solidcard3/config.mk)0
-rw-r--r--board/sc3/init.S (renamed from board/solidcard3/init.S)0
-rw-r--r--board/sc3/sc3.c (renamed from board/solidcard3/solidcard3.c)2
-rw-r--r--board/sc3/sc3.h (renamed from board/solidcard3/solidcard3.h)0
-rw-r--r--board/sc3/sc3nand.c (renamed from board/solidcard3/sc3nand.c)0
-rw-r--r--board/sc3/u-boot.lds (renamed from board/solidcard3/u-boot.lds)2
-rw-r--r--include/configs/sc3.h (renamed from include/configs/solidcard3.h)70
11 files changed, 60 insertions, 40 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 5bc95fac49a..ed9ca83612f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,9 @@
+commit 1bbbbdd20fcec9933697000dcf55ff7972622596
+Author: Wolfgang Denk <wd@pollux.denx.de>
+Date: Tue Jan 16 12:46:35 2007 +0100
+
+ Update default environment for Solidcard3
+
commit 5a5c56986a9ccf71642c8b6374eb18487b15fecd
Author: Stefan Roese <sr@denx.de>
Date: Mon Jan 15 09:46:29 2007 +0100
@@ -73,6 +79,14 @@ Date: Sat Jan 13 07:57:51 2007 +0100
Signed-off-by: Stefan Roese <sr@denx.de>
+commit ca43ba18e910206ef8063e4b22d282630bff3fd2
+Author: Heiko Schocher <hs@pollux.denx.de>
+Date: Thu Jan 11 15:44:44 2007 +0100
+
+ Added support for the SOLIDCARD III board from Eurodesign
+
+ Signed-off-by: Heiko Schocher <hs@denx.de>
+
commit 6abaee42621c07e81a2cd189ad4368b5e8c50280
Author: Reinhard Thies <Reinhard.Thies@web.de>
Date: Wed Jan 10 14:41:14 2007 +0100
diff --git a/MAKEALL b/MAKEALL
index d2159ef0c9b..7ccaf918c0e 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -85,10 +85,10 @@ LIST_4xx=" \
MIP405 MIP405T ML2 ml300 \
ocotea OCRTC ORSG p3p440 \
PCI405 pcs440ep PIP405 PLU405 \
- PMC405 PPChameleonEVB sbc405 sequoia \
- sequoia_nand VOH405 VOM405 W7OLMC \
- W7OLMG walnut WUH405 XPEDITE1K \
- yellowstone yosemite yucca \
+ PMC405 PPChameleonEVB sbc405 sc3 \
+ sequoia sequoia_nand VOH405 VOM405 \
+ W7OLMC W7OLMG walnut WUH405 \
+ XPEDITE1K yellowstone yosemite yucca \
"
#########################################################################
diff --git a/Makefile b/Makefile
index 01349f128c5..3e12982cdef 100644
--- a/Makefile
+++ b/Makefile
@@ -1200,8 +1200,8 @@ sequoia_nand_config: unconfig
@echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
-solidcard3_config:unconfig
- @./mkconfig $(@:_config=) ppc ppc4xx solidcard3
+sc3_config:unconfig
+ @./mkconfig $(@:_config=) ppc ppc4xx sc3
sycamore_config: unconfig
@echo "Configuring for sycamore board as subset of walnut..."
diff --git a/board/solidcard3/Makefile b/board/sc3/Makefile
index 1b0b15fc626..1b0b15fc626 100644
--- a/board/solidcard3/Makefile
+++ b/board/sc3/Makefile
diff --git a/board/solidcard3/config.mk b/board/sc3/config.mk
index 1bdf5e4fcf3..1bdf5e4fcf3 100644
--- a/board/solidcard3/config.mk
+++ b/board/sc3/config.mk
diff --git a/board/solidcard3/init.S b/board/sc3/init.S
index e7b3c839492..e7b3c839492 100644
--- a/board/solidcard3/init.S
+++ b/board/sc3/init.S
diff --git a/board/solidcard3/solidcard3.c b/board/sc3/sc3.c
index 21cc031ef9e..d94896ecd00 100644
--- a/board/solidcard3/solidcard3.c
+++ b/board/sc3/sc3.c
@@ -33,7 +33,7 @@
#include <common.h>
#include <asm/processor.h>
#include <asm/io.h>
-#include "solidcard3.h"
+#include "sc3.h"
#include <pci.h>
#include <i2c.h>
#include <malloc.h>
diff --git a/board/solidcard3/solidcard3.h b/board/sc3/sc3.h
index cf920f9f511..cf920f9f511 100644
--- a/board/solidcard3/solidcard3.h
+++ b/board/sc3/sc3.h
diff --git a/board/solidcard3/sc3nand.c b/board/sc3/sc3nand.c
index 7daa877cddc..7daa877cddc 100644
--- a/board/solidcard3/sc3nand.c
+++ b/board/sc3/sc3nand.c
diff --git a/board/solidcard3/u-boot.lds b/board/sc3/u-boot.lds
index dcd560112c3..dc255d283ec 100644
--- a/board/solidcard3/u-boot.lds
+++ b/board/sc3/u-boot.lds
@@ -62,7 +62,7 @@ SECTIONS
/* the sector layout of our flash chips! XXX FIXME XXX */
cpu/ppc4xx/start.o (.text)
- board/solidcard3/init.o (.text)
+ board/sc3/init.o (.text)
cpu/ppc4xx/kgdb.o (.text)
cpu/ppc4xx/traps.o (.text)
cpu/ppc4xx/interrupts.o (.text)
diff --git a/include/configs/solidcard3.h b/include/configs/sc3.h
index d71fcaec2aa..2d0278290a2 100644
--- a/include/configs/solidcard3.h
+++ b/include/configs/sc3.h
@@ -31,32 +31,32 @@
#undef USE_VGA_GRAPHICS
/* Memory Map
-0x00000000 .... 0x03FFFFFF -> RAM (up to 128MiB)
-0x74000000 .... 0x740FFFFF -> CS#6
-0x74100000 .... 0x741FFFFF -> CS#7
-0x74200000 .... 0x742FFFFF -> CS4# if no internal USB
-0x74300000 .... 0x743FFFFF -> CS5# if no boosted IDE
-0x77C00000 .... 0x77CFFFFF -> CS4# USB HC (1 MiB)
-0x77D00000 .... 0x77DFFFFF -> CS1# NAND-Flash (1 MiB)
-0x78000000 .... 0x78FFFFFF -> CS2# ISA-Bus Speicherzugriff (16 MiB)
-0x79000000 .... 0x7900FFFF -> CS2# ISA-Bus IO-Zugriff (16 MiB, mapped: 64kiB)
-0x79010000 .... 0x79FFFFFF -> CS2# ISA-Bus IO-Zugriff (mirrored)
-0x7A000000 .... 0x7A0FFFFF -> CS5# IDE emulation (1MiB)
-
-0x80000000 .... 0x9FFFFFFF -> PCI-Bus Speicherzugriff (512MiB, mapped: 1:1)
-0xA0000000 .... 0xBFFFFFFF -> PCI-Bus Speicherzugriff (512MiB, mapped: 0x00000000...0x1FFFFFFF)
-0xE8000000 .... 0xE800FFFF -> PCI-Bus IO-Zugriff (64kiB, translated to PCI: 0x0000...0xFFFF)
-0xE8800000 .... 0xEBFFFFFF -> PCI-Bus IO-Zugriff (56MiB, translated to PCI: 0x00800000...0x3FFFFFF)
-0xEED00000 .... 0xEED00003 -> PCI-Bus
-0xEF400000 .... 0xEF40003F -> PCI-Bus Local Configuration Registers
-0xEF40003F .... 0xEF5FFFFF -> reserved
-0xEF600000 .... 0xEFFFFFFF -> 405GP internal Devices (10 MiB)
-0xF0000000 .... 0xF01FFFFF -> Flash-ROM (2 MiB)
-0xF0200000 .... 0xF7FFFFFF -> free for flash devices
-0xF8000000 .... 0xF8000FFF -> OnChipMemory (4kiB)
-0xF8001000 .... 0xFFDFFFFF -> free for flash devices
-0xFFE00000 .... 0xFFFFFFFF -> BOOT-ROM (2 MiB)
-*/
+ * 0x00000000 .... 0x03FFFFFF -> RAM (up to 128MiB)
+ * 0x74000000 .... 0x740FFFFF -> CS#6
+ * 0x74100000 .... 0x741FFFFF -> CS#7
+ * 0x74200000 .... 0x742FFFFF -> CS4# if no internal USB
+ * 0x74300000 .... 0x743FFFFF -> CS5# if no boosted IDE
+ * 0x77C00000 .... 0x77CFFFFF -> CS4# USB HC (1 MiB)
+ * 0x77D00000 .... 0x77DFFFFF -> CS1# NAND-Flash (1 MiB)
+ * 0x78000000 .... 0x78FFFFFF -> CS2# ISA-Bus Speicherzugriff (16 MiB)
+ * 0x79000000 .... 0x7900FFFF -> CS2# ISA-Bus IO-Zugriff (16 MiB, mapped: 64kiB)
+ * 0x79010000 .... 0x79FFFFFF -> CS2# ISA-Bus IO-Zugriff (mirrored)
+ * 0x7A000000 .... 0x7A0FFFFF -> CS5# IDE emulation (1MiB)
+ *
+ * 0x80000000 .... 0x9FFFFFFF -> PCI-Bus Speicherzugriff (512MiB, mapped: 1:1)
+ * 0xA0000000 .... 0xBFFFFFFF -> PCI-Bus Speicherzugriff (512MiB, mapped: 0x00000000...0x1FFFFFFF)
+ * 0xE8000000 .... 0xE800FFFF -> PCI-Bus IO-Zugriff (64kiB, translated to PCI: 0x0000...0xFFFF)
+ * 0xE8800000 .... 0xEBFFFFFF -> PCI-Bus IO-Zugriff (56MiB, translated to PCI: 0x00800000...0x3FFFFFF)
+ * 0xEED00000 .... 0xEED00003 -> PCI-Bus
+ * 0xEF400000 .... 0xEF40003F -> PCI-Bus Local Configuration Registers
+ * 0xEF40003F .... 0xEF5FFFFF -> reserved
+ * 0xEF600000 .... 0xEFFFFFFF -> 405GP internal Devices (10 MiB)
+ * 0xF0000000 .... 0xF01FFFFF -> Flash-ROM (2 MiB)
+ * 0xF0200000 .... 0xF7FFFFFF -> free for flash devices
+ * 0xF8000000 .... 0xF8000FFF -> OnChipMemory (4kiB)
+ * 0xF8001000 .... 0xFFDFFFFF -> free for flash devices
+ * 0xFFE00000 .... 0xFFFFFFFF -> BOOT-ROM (2 MiB)
+ */
#define CONFIG_SOLIDCARD3 1
#define CONFIG_4xx 1
@@ -65,10 +65,11 @@
#define CONFIG_BOARD_EARLY_INIT_F 1
/*
- * define IDE_USES_ISA_EMULATION for slower IDE access in the ISA-IO address range
- * If undefed, IDE access uses a seperat emulation with higher access speed
+ * Define IDE_USES_ISA_EMULATION for slower IDE access in the ISA-IO address range
+ * If undefined, IDE access uses a seperat emulation with higher access speed.
* Consider to inform your Linux IDE driver about the different addresses!
- * IDE_USES_ISA_EMULATION is only used if your CONFIG_COMMANDS macro includes the CFG_CMD_IDE macro!
+ * IDE_USES_ISA_EMULATION is only used if your CONFIG_COMMANDS macro includes
+ * the CFG_CMD_IDE macro!
*/
#define IDE_USES_ISA_EMULATION
@@ -384,9 +385,14 @@ extern unsigned long offsetOfEnvironment;
#define CFG_ENV_IS_IN_FLASH 1
#if CFG_ENV_IS_IN_FLASH
- #define CFG_ENV_OFFSET 0x00000000 /* Offset of Environment Sector in bottom type */
- #define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
- #define CFG_ENV_SECT_SIZE 0x4000 /* see README - env sector total size */
+#define CFG_ENV_OFFSET 0x00000000 /* Offset of Environment Sector in bottom type */
+#define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
+#define CFG_ENV_SECT_SIZE 0x4000 /* see README - env sector total size */
+
+/* Address and size of Redundant Environment Sector */
+#define CFG_ENV_OFFSET_REDUND (CFG_ENV_OFFSET+CFG_ENV_SIZE)
+#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
+
#endif
/* let us changing anything in our environment */
#define CONFIG_ENV_OVERWRITE