summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-11 23:06:34 +0000
committerwdenk <wdenk>2003-09-11 23:06:34 +0000
commit4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7 (patch)
tree5aadeadbf3f022aa31bd34b35e4ff6f1ff134d74 /include
parenta43278a43d522fba7fea0ed3045b718a9c8d22ac (diff)
downloadblackbird-obmc-uboot-4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7.tar.gz
blackbird-obmc-uboot-4f7cb08ee7b48a511a9cd2398fd4a243ca2733c7.zip
* Patch by Martin Krause, 11 Sep 2003:
add burn-in tests for TRAB board * Enable instruction cache on MPC5200 board
Diffstat (limited to 'include')
-rw-r--r--include/_exports.h4
-rw-r--r--include/configs/IceCube.h4
-rw-r--r--include/configs/trab.h5
-rw-r--r--include/exports.h6
4 files changed, 16 insertions, 3 deletions
diff --git a/include/_exports.h b/include/_exports.h
index a4e1561137..17cb91be3d 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -10,3 +10,7 @@ EXPORT_FUNC(malloc)
EXPORT_FUNC(free)
EXPORT_FUNC(udelay)
EXPORT_FUNC(get_timer)
+#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+EXPORT_FUNC(i2c_write)
+EXPORT_FUNC(i2c_read)
+#endif /* CFG_CMD_I2C */
diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h
index 44ea654be2..9d914a6bb3 100644
--- a/include/configs/IceCube.h
+++ b/include/configs/IceCube.h
@@ -191,8 +191,8 @@
/*
* Various low-level settings
*/
-#define CFG_HID0_INIT 0
-#define CFG_HID0_FINAL 0
+#define CFG_HID0_INIT HID0_ICE | HID0_ICFI
+#define CFG_HID0_FINAL HID0_ICE
#define CFG_BOOTCS_START CFG_FLASH_BASE
#define CFG_BOOTCS_SIZE CFG_FLASH_SIZE
diff --git a/include/configs/trab.h b/include/configs/trab.h
index d96241a2be..daa62a349a 100644
--- a/include/configs/trab.h
+++ b/include/configs/trab.h
@@ -315,6 +315,11 @@
#define CONFIG_MISC_INIT_R /* have misc_init_r() function */
/*-----------------------------------------------------------------------
+ * burn-in test stuff
+ */
+#define BURN_IN_CYCLE_DELAY 20 /* delay in sec between burn-in test cycles */
+
+/*-----------------------------------------------------------------------
* Stack sizes
*
* The stack sizes are set up in start.S using the settings below
diff --git a/include/exports.h b/include/exports.h
index f812f16072..84bc56b7a0 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -18,6 +18,10 @@ void *malloc(size_t);
void free(void*);
void udelay(unsigned long);
unsigned long get_timer(unsigned long);
+#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+int i2c_write (uchar, uint, int , uchar* , int);
+int i2c_read (uchar, uint, int , uchar* , int);
+#endif /* CFG_CMD_I2C */
void app_startup(char **);
@@ -31,7 +35,7 @@ enum {
XF_MAX
};
-#define XF_VERSION 1
+#define XF_VERSION 2
#if defined(CONFIG_I386)
extern gd_t *global_data;
OpenPOWER on IntegriCloud