summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h3
-rw-r--r--include/configs/MPC8641HPCN.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 83ccf7c..7e54da9 100644
--- a/include/common.h
+++ b/include/common.h
@@ -197,6 +197,9 @@ int checkdram (void);
char * strmhz(char *buf, long hz);
int last_stage_init(void);
extern ulong monitor_flash_len;
+#ifdef CFG_ID_EEPROM
+int mac_read_from_eeprom(void);
+#endif
/* common/flash.c */
void flash_perror (int);
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index aca2ecc..7e91e64 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -146,6 +146,8 @@
#define CFG_DDR_CS5_BNDS 0x00000FFF /* Not done */
#endif
+#define CFG_ID_EEPROM 1
+#define ID_EEPROM_ADDR 0x57
/*
* In MPC8641HPCN, allocate 16MB flash spaces at fe000000 and ff000000.