diff options
author | Andy Fleming <afleming@gmail.com> | 2015-11-04 15:48:32 -0600 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-11-04 15:19:34 -0800 |
commit | 87e29878caba758ed3e09e9912ac8eb6dfc55f39 (patch) | |
tree | d98b04c33498eb2bb30dac21961d1bb32637823c /board/varisys/common/eeprom.h | |
parent | c79e1c1ce9e5c1ddf6fac631e4741999f8a0cc58 (diff) |
mpc85xx: Add support for the Varisys Cyrus board
This board runs a P5020 or P5040 chip, and utilizes
an EEPROM with similar formatting to the Freescale P5020DS.
Large amounts of this code were developed by
Adrian Cox <adrian at humboldt dot co dot uk>
Signed-off-by: Andy Fleming <afleming@gmail.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/varisys/common/eeprom.h')
-rw-r--r-- | board/varisys/common/eeprom.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/varisys/common/eeprom.h b/board/varisys/common/eeprom.h new file mode 100644 index 0000000000..004816a0fd --- /dev/null +++ b/board/varisys/common/eeprom.h @@ -0,0 +1,6 @@ +/* EEPROM init functions for Cyrus */ + + +void init_eeprom(int bus_num, int addr, int addr_len); +void mac_read_from_fixed_id(void); +int mac_read_from_eeprom_common(void); |