diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-04 20:38:25 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-11-04 20:38:25 -0700 |
commit | fcf9f6ba329df2538286aabe20dd26628fc4ab43 (patch) | |
tree | e59345a0e9513ae7595a79602b4a688343541089 /firmware/microblaze | |
parent | 7c36bc7b7456225f613887a2b84ebefac2b1c208 (diff) | |
download | uhd-fcf9f6ba329df2538286aabe20dd26628fc4ab43.tar.gz uhd-fcf9f6ba329df2538286aabe20dd26628fc4ab43.tar.bz2 uhd-fcf9f6ba329df2538286aabe20dd26628fc4ab43.zip |
usrp2: move mboard eeprom instance into iface to the clock control can access it
Diffstat (limited to 'firmware/microblaze')
-rw-r--r-- | firmware/microblaze/lib/eth_addrs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/microblaze/lib/eth_addrs.c b/firmware/microblaze/lib/eth_addrs.c index d7c1e0394..c6320e4fa 100644 --- a/firmware/microblaze/lib/eth_addrs.c +++ b/firmware/microblaze/lib/eth_addrs.c @@ -23,6 +23,12 @@ #include "i2c.h" #include "usrp2/fw_common.h" +//////////////////////////////////////////////////////////////////////// +// EEPROM Layout +//////////////////////////////////////////////////////////////////////// +#define USRP2_EE_MBOARD_MAC_ADDR 0x02 //6 bytes +#define USRP2_EE_MBOARD_IP_ADDR 0x0C //uint32, big-endian + static bool unprogrammed(const void *t, size_t len) { |