[PATCH 08/17] MIPS: malta: fix GT64120 base virtual address on 64BIT
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Jun 6 01:35:13 PDT 2023
On 05.06.23 22:10, Denis Orlov wrote:
> 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>
Reviewd-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> 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 */
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list