summaryrefslogtreecommitdiff
path: root/board/zinger/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/zinger/board.c')
-rw-r--r--board/zinger/board.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/zinger/board.c b/board/zinger/board.c
index 5f1201ea76..f7552523a5 100644
--- a/board/zinger/board.c
+++ b/board/zinger/board.c
@@ -20,8 +20,9 @@
const struct rsa_public_key pkey __attribute__((section(".rsa_pubkey"))) =
#include "gen_pub_key.h"
/* The RSA signature is stored at the end of the RW firmware */
-static const void *rw_sig = (void *)CONFIG_FLASH_BASE + CONFIG_RW_MEM_OFF
- + CONFIG_RW_SIZE - RSANUMBYTES;
+static const void *rw_sig = (void *)CONFIG_PROGRAM_MEMORY_BASE +
+ CONFIG_RW_MEM_OFF + CONFIG_RW_SIZE -
+ RSANUMBYTES;
/* Large 768-Byte buffer for RSA computation : could be re-use afterwards... */
static uint32_t rsa_workbuf[3 * RSANUMWORDS];
@@ -29,7 +30,7 @@ extern void pd_rx_handler(void);
/* RW firmware reset vector */
static uint32_t * const rw_rst =
- (uint32_t *)(CONFIG_FLASH_BASE+CONFIG_RW_MEM_OFF+4);
+ (uint32_t *)(CONFIG_PROGRAM_MEMORY_BASE+CONFIG_RW_MEM_OFF+4);
/* External interrupt EXTINT7 for external comparator on PA7 */
void pd_rx_interrupt(void)