summaryrefslogtreecommitdiff
path: root/board/mpl/common/common_util.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-23 11:38:58 +0000
committerwdenk <wdenk>2003-05-23 11:38:58 +0000
commit33149b8812d12dc57f31fa7bf2ec0c1451dbf6f0 (patch)
tree4d06ca4a5b01325e24293577cc47bb9a55285985 /board/mpl/common/common_util.h
parent9919f13cc1d39c0fe4ff0162673afe657539d762 (diff)
downloadu-boot-imx-33149b8812d12dc57f31fa7bf2ec0c1451dbf6f0.zip
u-boot-imx-33149b8812d12dc57f31fa7bf2ec0c1451dbf6f0.tar.gz
u-boot-imx-33149b8812d12dc57f31fa7bf2ec0c1451dbf6f0.tar.bz2
Patch by Denis Peter, 19 Mai 2003:
add support for the MIP405-3 board
Diffstat (limited to 'board/mpl/common/common_util.h')
-rw-r--r--board/mpl/common/common_util.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/mpl/common/common_util.h b/board/mpl/common/common_util.h
index 70cd469..caf7f9b 100644
--- a/board/mpl/common/common_util.h
+++ b/board/mpl/common/common_util.h
@@ -27,11 +27,18 @@
typedef struct {
char signature[4];
char serial_name[17]; /* "MIP405_1000xxxxx" */
- char eth_addr[21]; /* "00:60:C2:0a:00:00" */
+ char eth_addr[21]; /* "00:60:C2:0a:00:00" */
} backup_t;
void get_backup_values(backup_t *buf);
int switch_cs(unsigned char boot);
+#if defined(CONFIG_PIP405) || defined(CONFIG_MIP405)
+int get_boot_mode(void);
+void setup_cs_reloc(void);
+#define BOOT_MPS 0x01
+#define BOOT_PCI 0x02
+#endif
+
void show_stdio_dev(void);
void check_env(void);
#if (CONFIG_COMMANDS & CFG_CMD_DOC)