summaryrefslogtreecommitdiffstats
path: root/board/eltec/bab7xx
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-08 01:03:24 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-08 01:03:24 +0200
commit700a0c648df72f2c8e0589c0d0470b5ffd7cab7b (patch)
tree819928504de4b8fc80e632fa5c485204fd7542a7 /board/eltec/bab7xx
parent452e8e72ada5141f58008a902e1d4be42ce15abb (diff)
downloadbootable_bootloader_goldelico_gta04-700a0c648df72f2c8e0589c0d0470b5ffd7cab7b.zip
bootable_bootloader_goldelico_gta04-700a0c648df72f2c8e0589c0d0470b5ffd7cab7b.tar.gz
bootable_bootloader_goldelico_gta04-700a0c648df72f2c8e0589c0d0470b5ffd7cab7b.tar.bz2
Add common (with Linux) MTD partition scheme and "mtdparts" command
Old, obsolete and duplicated code was cleaned up and replace by the new partitioning method. There are two possible approaches now: * define a single, static partition * use mtdparts command line option and dynamic partitioning Default is static partitioning.
Diffstat (limited to 'board/eltec/bab7xx')
-rw-r--r--board/eltec/bab7xx/asm_init.S1
-rw-r--r--board/eltec/bab7xx/l2cache.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/eltec/bab7xx/asm_init.S b/board/eltec/bab7xx/asm_init.S
index 3f88bc2..2a9b33e 100644
--- a/board/eltec/bab7xx/asm_init.S
+++ b/board/eltec/bab7xx/asm_init.S
@@ -24,6 +24,7 @@
*/
#include <config.h>
+#include <asm/processor.h>
#include <74xx_7xx.h>
#include <mpc106.h>
#include <version.h>
diff --git a/board/eltec/bab7xx/l2cache.c b/board/eltec/bab7xx/l2cache.c
index 077f2c9..1e75377 100644
--- a/board/eltec/bab7xx/l2cache.c
+++ b/board/eltec/bab7xx/l2cache.c
@@ -27,6 +27,7 @@
#include <pci.h>
#include <mpc106.h>
+#include <asm/processor.h>
/* defines L2CR register for MPC750 */