From 679a592fff1e5a483717a3ad96f6414b57c7e61a Mon Sep 17 00:00:00 2001 From: Denis Orlov Date: Mon, 5 Jun 2023 23:10:39 +0300 Subject: MIPS: malta: fix GT64120 base virtual address on 64BIT 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 Reviewd-by: Ahmad Fatoum Link: https://lore.barebox.org/20230605202634.42175-9-denorl2009@gmail.com Signed-off-by: Sascha Hauer --- arch/mips/mach-malta/include/mach/mach-gt64120.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips/mach-malta') 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 */ -- cgit v1.2.3