aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-16 12:32:50 -0700
committerJosh Blum <josh@joshknows.com>2011-06-16 12:32:50 -0700
commit4881ca44ce19826e5e73009a7a16e894ee0c1d8b (patch)
treef522eb921fe3c26fbbe08d223ca03b0d90172ff4 /firmware/zpu/lib
parented04e666fa9ba06b33e2d9cc87bb9e89b32b945a (diff)
parentb0571f695431c6477214ab61d0770df3ff1023e3 (diff)
downloaduhd-4881ca44ce19826e5e73009a7a16e894ee0c1d8b.tar.gz
uhd-4881ca44ce19826e5e73009a7a16e894ee0c1d8b.tar.bz2
uhd-4881ca44ce19826e5e73009a7a16e894ee0c1d8b.zip
Merge branch 'fw_updater'
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;