[PATCH 08/17] MIPS: malta: fix GT64120 base virtual address on 64BIT
Denis Orlov
denorl2009 at gmail.com
Mon Jun 5 13:10:39 PDT 2023
Use CKSEG1ADDR for it to be properly converted to the 64-bit
sign-extended address when building with CONFIG_64BIT set.
Signed-off-by: Denis Orlov <denorl2009 at gmail.com>
---
arch/mips/mach-malta/include/mach/mach-gt64120.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/mach-malta/include/mach/mach-gt64120.h b/arch/mips/mach-malta/include/mach/mach-gt64120.h
index e7d230655c..20ac4d94d6 100644
--- a/arch/mips/mach-malta/include/mach/mach-gt64120.h
+++ b/arch/mips/mach-malta/include/mach/mach-gt64120.h
@@ -12,6 +12,6 @@
#define MIPS_GT_BASE 0x1be00000
-#define GT64120_BASE 0xbbe00000
+#define GT64120_BASE CKSEG1ADDR(MIPS_GT_BASE)
#endif /* _ASM_MACH_MIPS_MACH_GT64120_DEP_H */
--
2.41.0
More information about the barebox
mailing list