diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-10-05 11:53:43 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-10-05 11:53:43 -0700 |
commit | 92fdf6ab255cc07091bbdb59e7eb5e57553115ba (patch) | |
tree | 8841360082d1e0b48b44b424205ca0295a493b98 /firmware/microblaze/usrp2p | |
parent | e4d088fa9169eef81473cb7d83bda7c82bc5d243 (diff) | |
download | uhd-92fdf6ab255cc07091bbdb59e7eb5e57553115ba.tar.gz uhd-92fdf6ab255cc07091bbdb59e7eb5e57553115ba.tar.bz2 uhd-92fdf6ab255cc07091bbdb59e7eb5e57553115ba.zip |
U2P: 32/64Mbit FLASH support, internal reference support for U2P r2
Diffstat (limited to 'firmware/microblaze/usrp2p')
-rw-r--r-- | firmware/microblaze/usrp2p/bootloader_utils.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/microblaze/usrp2p/bootloader_utils.h b/firmware/microblaze/usrp2p/bootloader_utils.h index c72128f43..f597c0113 100644 --- a/firmware/microblaze/usrp2p/bootloader_utils.h +++ b/firmware/microblaze/usrp2p/bootloader_utils.h @@ -7,14 +7,15 @@ #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. -#define FPGA_IMAGE_SIZE_BYTES 2097152 +//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 #define SAFE_FPGA_IMAGE_LOCATION_ADDR 0x00000000 -#define SAFE_FW_IMAGE_LOCATION_ADDR 0x007F0000 -#define PROD_FPGA_IMAGE_LOCATION_ADDR 0x00200000 -#define PROD_FW_IMAGE_LOCATION_ADDR 0x00400000 +#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); |