imx8: cleanup mem.h

This commit is contained in:
cinap_lenrek 2022-07-10 11:42:03 +00:00
parent 32183b1abf
commit fdd3e1808f

View file

@ -46,7 +46,6 @@
#define VDRAM (0xFFFFFFFFC0000000ULL) /* 0x40000000 - 0x80000000 */ #define VDRAM (0xFFFFFFFFC0000000ULL) /* 0x40000000 - 0x80000000 */
#define KTZERO (VDRAM + 0x100000) /* 0x40100000 - kernel text start */ #define KTZERO (VDRAM + 0x100000) /* 0x40100000 - kernel text start */
#define ARMLOCAL (0xFFFFFFFFB1000000ULL) /* 0x31000000 */
#define VIRTIO (0xFFFFFFFFB0000000ULL) /* 0x30000000 */ #define VIRTIO (0xFFFFFFFFB0000000ULL) /* 0x30000000 */
#define KZERO (0xFFFFFFFF80000000ULL) /* 0x00000000 - kernel address space */ #define KZERO (0xFFFFFFFF80000000ULL) /* 0x00000000 - kernel address space */
@ -65,7 +64,7 @@
#define MACHADDR(n) (KTZERO-((n)+1)*MACHSIZE) #define MACHADDR(n) (KTZERO-((n)+1)*MACHSIZE)
#define CONFADDR (VDRAM + 0x10000) /* 0x40010000 */ #define CONFADDR (VDRAM + 0x10000) /* 0x40010000 */
#define REBOOTADDR (0x40020000) /* 0x40020000 */ #define REBOOTADDR (VDRAM-KZERO + 0x20000) /* 0x40020000 */
#define UZERO 0ULL /* user segment */ #define UZERO 0ULL /* user segment */
#define UTZERO (UZERO+0x10000) /* user text start */ #define UTZERO (UZERO+0x10000) /* user text start */