summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-08-29 03:18:30 +0200
committerMarek Vasut <marex@denx.de>2018-09-15 03:19:06 +0200
commitc5fcd9e5839cf0a2bf16133c092510ff103f4aa3 (patch)
tree8139ef0077562212763ffb01099f7b18cec971e7
parentecb10a41c9adf2c499c3d19fff96a08bb9ad2aef (diff)
downloadu-boot-c5fcd9e5839cf0a2bf16133c092510ff103f4aa3.tar.gz
u-boot-c5fcd9e5839cf0a2bf16133c092510ff103f4aa3.tar.xz
u-boot-c5fcd9e5839cf0a2bf16133c092510ff103f4aa3.zip
sh: sh7723: ap325rxa: Drop duplicate HIZCRB macro
Drop the macro as it is defined in sh7723.h already. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-rw-r--r--board/renesas/ap325rxa/cpld-ap325rxa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/renesas/ap325rxa/cpld-ap325rxa.c b/board/renesas/ap325rxa/cpld-ap325rxa.c
index 16fadcbca7..5d9dc9387e 100644
--- a/board/renesas/ap325rxa/cpld-ap325rxa.c
+++ b/board/renesas/ap325rxa/cpld-ap325rxa.c
@@ -61,8 +61,6 @@
#define CPLD_DONE_ADR ((vu_char *)0xA4050132)
#define CPLD_DONE_DAT 0x20
-#define HIZCRB ((vu_short *)0xA405015A)
-
/* data */
#define CPLD_NOMAL_START 0xA0A80000
#define CPLD_SAFE_START 0xA0AC0000
@@ -191,7 +189,7 @@ void init_cpld(void)
if (*CPLD_DONE_ADR & CPLD_DONE_DAT) /* Already DONE */
return;
- *HIZCRB = 0x0000;
+ *((vu_short *)HIZCRB) = 0x0000;
*CPLD_PFC_ADR = 0x7c00; /* FPGA PROG = OUTPUT */
/* write CPLD data from NOR flash to device */