aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/usrp2p/bootloader_utils.h
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-12-15 11:58:02 -0800
committerNick Foster <nick@nerdnetworks.org>2010-12-15 11:58:02 -0800
commit62338938a07123841f9622d69f0f07e4ab9cfcdb (patch)
treeea9d486f4d4a6a441513ae07e606df80a5233b20 /firmware/microblaze/usrp2p/bootloader_utils.h
parent5afdc004a7a1d489af81c5d035aa84a16ac1a353 (diff)
downloaduhd-62338938a07123841f9622d69f0f07e4ab9cfcdb.tar.gz
uhd-62338938a07123841f9622d69f0f07e4ab9cfcdb.tar.bz2
uhd-62338938a07123841f9622d69f0f07e4ab9cfcdb.zip
ZPU: bootloader for 210 mods
Diffstat (limited to 'firmware/microblaze/usrp2p/bootloader_utils.h')
-rw-r--r--firmware/microblaze/usrp2p/bootloader_utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/microblaze/usrp2p/bootloader_utils.h b/firmware/microblaze/usrp2p/bootloader_utils.h
index f597c0113..9fdeebf17 100644
--- a/firmware/microblaze/usrp2p/bootloader_utils.h
+++ b/firmware/microblaze/usrp2p/bootloader_utils.h
@@ -9,8 +9,8 @@
//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
-//instead of 32K, we write 31K because we're using the top 1K for stack space!
-#define FW_IMAGE_SIZE_BYTES 31744
+//16K
+#define FW_IMAGE_SIZE_BYTES 16384
#define SAFE_FPGA_IMAGE_LOCATION_ADDR 0x00000000
#define SAFE_FW_IMAGE_LOCATION_ADDR 0x003F0000
@@ -19,4 +19,4 @@
int is_valid_fpga_image(uint32_t addr);
int is_valid_fw_image(uint32_t addr);
-void start_program(uint32_t addr);
+void start_program(void);