summaryrefslogtreecommitdiff
path: root/board/mpl/common/common_util.h
diff options
context:
space:
mode:
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)