summaryrefslogtreecommitdiff
path: root/board/micronas
diff options
context:
space:
mode:
Diffstat (limited to 'board/micronas')
-rw-r--r--board/micronas/vct/config.mk13
-rw-r--r--board/micronas/vct/vct.h6
2 files changed, 4 insertions, 15 deletions
diff --git a/board/micronas/vct/config.mk b/board/micronas/vct/config.mk
deleted file mode 100644
index 354d918474..0000000000
--- a/board/micronas/vct/config.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# (C) Copyright 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
-
-#
-# vct_xxx boards with MIPS 4Kc CPU core
-#
-
-ifndef CONFIG_SYS_TEXT_BASE
-CONFIG_SYS_TEXT_BASE = 0x87000000
-endif
diff --git a/board/micronas/vct/vct.h b/board/micronas/vct/vct.h
index 0a1c5fcb82..67da6a8e73 100644
--- a/board/micronas/vct/vct.h
+++ b/board/micronas/vct/vct.h
@@ -80,12 +80,14 @@ void vct_pin_mux_initialize(void);
*/
static inline void reg_write(u32 addr, u32 data)
{
- __raw_writel(data, addr + REG_GLOBAL_START_ADDR);
+ void *reg = (void *)(addr + REG_GLOBAL_START_ADDR);
+ __raw_writel(data, reg);
}
static inline u32 reg_read(u32 addr)
{
- return __raw_readl(addr + REG_GLOBAL_START_ADDR);
+ const void *reg = (const void *)(addr + REG_GLOBAL_START_ADDR);
+ return __raw_readl(reg);
}
#endif /* _VCT_H */