From e2e8b004598aa4542a03b659638f8b90a099162a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 19 Oct 2012 06:23:44 +0000 Subject: [PATCH] redefined FLASH_DATA_... constants --- BaS_GNU/sources/sysinit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaS_GNU/sources/sysinit.h b/BaS_GNU/sources/sysinit.h index f8520bf..ec097a0 100644 --- a/BaS_GNU/sources/sysinit.h +++ b/BaS_GNU/sources/sysinit.h @@ -15,8 +15,8 @@ extern void wait_10us(void); #define uart_out_word(a) MCF_PSC0_PSCTB_8BIT = (a); /* adresses where FPGA data lives in flash */ -static const uint8_t *FPGA_FLASH_DATA = (uint8_t *) 0xe0700000L; -static const uint8_t *FPGA_FLASH_DATA_END = (uint8_t *) 0xe0800000L; +#define FPGA_FLASH_DATA ((uint8_t *) 0xe0700000L) +#define FPGA_FLASH_DATA_END ((uint8_t *) 0xe0800000L) /* function(s) from init_fpga.c */ extern void init_fpga(void);