From fdd3e1808fc2ec0f6a2d2c5dd8cec914a0b20476 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 10 Jul 2022 11:42:03 +0000 Subject: [PATCH] imx8: cleanup mem.h --- sys/src/9/imx8/mem.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/src/9/imx8/mem.h b/sys/src/9/imx8/mem.h index 5f0f15649..2831aa0f0 100644 --- a/sys/src/9/imx8/mem.h +++ b/sys/src/9/imx8/mem.h @@ -46,7 +46,6 @@ #define VDRAM (0xFFFFFFFFC0000000ULL) /* 0x40000000 - 0x80000000 */ #define KTZERO (VDRAM + 0x100000) /* 0x40100000 - kernel text start */ -#define ARMLOCAL (0xFFFFFFFFB1000000ULL) /* 0x31000000 */ #define VIRTIO (0xFFFFFFFFB0000000ULL) /* 0x30000000 */ #define KZERO (0xFFFFFFFF80000000ULL) /* 0x00000000 - kernel address space */ @@ -65,7 +64,7 @@ #define MACHADDR(n) (KTZERO-((n)+1)*MACHSIZE) #define CONFADDR (VDRAM + 0x10000) /* 0x40010000 */ -#define REBOOTADDR (0x40020000) /* 0x40020000 */ +#define REBOOTADDR (VDRAM-KZERO + 0x20000) /* 0x40020000 */ #define UZERO 0ULL /* user segment */ #define UTZERO (UZERO+0x10000) /* user text start */