aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/lib
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2011-06-15 16:50:25 -0700
committerNick Foster <nick@ettus.com>2011-06-15 16:57:42 -0700
commit79079a342f98906fb897f66c9b32fe1a6bed0fb8 (patch)
treeb04c745701868d7e82b871f3a5ae24ebf76aa086 /firmware/zpu/lib
parent0cef788d3d34a298c975e32c488e800a5c65ccce (diff)
downloaduhd-79079a342f98906fb897f66c9b32fe1a6bed0fb8.tar.gz
uhd-79079a342f98906fb897f66c9b32fe1a6bed0fb8.tar.bz2
uhd-79079a342f98906fb897f66c9b32fe1a6bed0fb8.zip
N2XX: firmware stops device streaming on fw update, and updater script checks hw rev before proceeding
Diffstat (limited to 'firmware/zpu/lib')
-rw-r--r--firmware/zpu/lib/udp_fw_update.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/zpu/lib/udp_fw_update.h b/firmware/zpu/lib/udp_fw_update.h
index d25525bd2..d98447aef 100644
--- a/firmware/zpu/lib/udp_fw_update.h
+++ b/firmware/zpu/lib/udp_fw_update.h
@@ -45,6 +45,9 @@ typedef enum {
USRP2_FW_UPDATE_ID_RESET_MAH_COMPUTORZ_LOL = 's',
USRP2_FW_UPDATE_ID_RESETTIN_TEH_COMPUTORZ_OMG = 'S',
+ USRP2_FW_UPDATE_ID_I_CAN_HAS_HW_REV_LOL = 'v',
+ USRP2_FW_UPDATE_ID_HERES_TEH_HW_REV_OMG = 'V',
+
USRP2_FW_UPDATE_ID_KTHXBAI = '~'
} usrp2_fw_update_id_t;
@@ -54,7 +57,8 @@ typedef struct {
uint32_t id;
uint32_t seq;
union {
- uint32_t ip_addr;
+ uint32_t ip_addr;
+ uint32_t hw_rev;
struct {
uint32_t flash_addr;
uint32_t length;