aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/usrp2p/bootloader_utils.h
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-10-07 09:39:25 +0200
committerMartin Braun <martin.braun@ettus.com>2014-10-07 09:39:25 +0200
commit5bd58bc309e959537e3e820abfa39ee629b140a5 (patch)
tree81e3a611134e02d9118f0aa846b7146234849fe8 /firmware/zpu/usrp2p/bootloader_utils.h
parent9f6a11173aef5e661100268bd746963d713adb91 (diff)
downloaduhd-5bd58bc309e959537e3e820abfa39ee629b140a5.tar.gz
uhd-5bd58bc309e959537e3e820abfa39ee629b140a5.tar.bz2
uhd-5bd58bc309e959537e3e820abfa39ee629b140a5.zip
Reorganized firmware/ subdirectory (x300->usrp3, zpu->usrp2)
Diffstat (limited to 'firmware/zpu/usrp2p/bootloader_utils.h')
-rw-r--r--firmware/zpu/usrp2p/bootloader_utils.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/firmware/zpu/usrp2p/bootloader_utils.h b/firmware/zpu/usrp2p/bootloader_utils.h
deleted file mode 100644
index d70299b88..000000000
--- a/firmware/zpu/usrp2p/bootloader_utils.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -*- c++ -*- */
-/*
- * Copyright 2010 Ettus Research LLC
- *
- */
-
-#include <stdint.h>
-
-//we're working in bytes and byte addresses so we can run the same code with Flash chips of different sector sizes.
-//it's really 1463736, but rounded up to 1.5MB
-#define FPGA_IMAGE_SIZE_BYTES 1572864
-//16K
-#define FW_IMAGE_SIZE_BYTES 0x3fff
-
-#define SAFE_FPGA_IMAGE_LOCATION_ADDR 0x00000000
-#define SAFE_FW_IMAGE_LOCATION_ADDR 0x003F0000
-#define PROD_FPGA_IMAGE_LOCATION_ADDR 0x00180000
-#define PROD_FW_IMAGE_LOCATION_ADDR 0x00300000
-
-int is_valid_fpga_image(uint32_t addr);
-int is_valid_fw_image(uint32_t addr);
-void start_program(void);
-void do_the_bootload_thing(void);