]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
Raname solidcard3 into sc3; add redundant env for sc3
authorWolfgang Denk <wd@pollux.denx.de>
Tue, 16 Jan 2007 17:30:50 +0000 (18:30 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 16 Jan 2007 17:30:50 +0000 (18:30 +0100)
CHANGELOG
MAKEALL
Makefile
board/sc3/Makefile [moved from board/solidcard3/Makefile with 100% similarity]
board/sc3/config.mk [moved from board/solidcard3/config.mk with 100% similarity]
board/sc3/init.S [moved from board/solidcard3/init.S with 100% similarity]
board/sc3/sc3.c [moved from board/solidcard3/solidcard3.c with 99% similarity]
board/sc3/sc3.h [moved from board/solidcard3/solidcard3.h with 100% similarity]
board/sc3/sc3nand.c [moved from board/solidcard3/sc3nand.c with 100% similarity]
board/sc3/u-boot.lds [moved from board/solidcard3/u-boot.lds with 99% similarity]
include/configs/sc3.h [moved from include/configs/solidcard3.h with 89% similarity]

index 5bc95fac49a4c9a42e0b16ac286ec3a6c23fa4bd..ed9ca83612fef42bf2f22abc37462ab431e1a4c8 100644 (file)
--- 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 d2159ef0c9bfd26288baaa086438522df405e13b..7ccaf918c0e57b22e6e36738dc911a321d7702aa 100755 (executable)
--- 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           \
 "
 
 #########################################################################
index 01349f128c512dc990db7fd6173882a2cb0fbd32..3e12982cdef1f9d641646e4b29c7015ed0f22a65 100644 (file)
--- 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..."
similarity index 100%
rename from board/solidcard3/Makefile
rename to board/sc3/Makefile
similarity index 100%
rename from board/solidcard3/init.S
rename to board/sc3/init.S
similarity index 99%
rename from board/solidcard3/solidcard3.c
rename to board/sc3/sc3.c
index 21cc031ef9e0997fd5d941641cf8b360f9b57142..d94896ecd00d8541e13440c4a6194c8a2a42b319 100644 (file)
@@ -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>
similarity index 99%
rename from board/solidcard3/u-boot.lds
rename to board/sc3/u-boot.lds
index dcd560112c3ba51419d44970196093a84032ca68..dc255d283ec2a4b2189d074c2572188980952aec 100644 (file)
@@ -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)
similarity index 89%
rename from include/configs/solidcard3.h
rename to include/configs/sc3.h
index d71fcaec2aae73e88fdf84ee36213ea70c8c9ca2..2d0278290a23fe01a1fd28b1c55e6b10965ef70b 100644 (file)
 #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
 #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