diff options
author | Denis Orlov <denorl2009@gmail.com> | 2023-06-05 23:10:39 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-06-09 08:43:23 +0200 |
commit | 679a592fff1e5a483717a3ad96f6414b57c7e61a (patch) | |
tree | 13a9c9ffd75a7c817bf04476a60c207200192d73 /arch/mips/mach-malta | |
parent | 785ec8e1513722cae6ddc0a9e4fc50c8a168467f (diff) | |
download | barebox-679a592fff1e5a483717a3ad96f6414b57c7e61a.tar.gz barebox-679a592fff1e5a483717a3ad96f6414b57c7e61a.tar.xz |
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 <denorl2009@gmail.com>
Reviewd-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230605202634.42175-9-denorl2009@gmail.com
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-malta')
-rw-r--r-- | arch/mips/mach-malta/include/mach/mach-gt64120.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |