summaryrefslogtreecommitdiff
path: root/arch/mips/mach-octeon/cvmx-bootmem.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-12-11 19:05:56 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2021-04-23 22:03:24 +0300
commitb0f4ba02421d8e9d87a505e4381b9d6677ee3465 (patch)
tree72e7e11f1a8fbcf0413f596c1bc5738299ffd17c /arch/mips/mach-octeon/cvmx-bootmem.c
parentfe3334d0a36aee534ace306cb15bd3db825dd359 (diff)
downloadu-boot-b0f4ba02421d8e9d87a505e4381b9d6677ee3465.tar.xz
mips: octeon: Misc changes required because of the newly added headers
With the newly added headers and their restructuring (which macro is defined where), some changes in the already existing Octeon files are necessary. This patch makes the necessary changes. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/mips/mach-octeon/cvmx-bootmem.c')
-rw-r--r--arch/mips/mach-octeon/cvmx-bootmem.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/mach-octeon/cvmx-bootmem.c b/arch/mips/mach-octeon/cvmx-bootmem.c
index 80bb7ac6c8..4b10effefb 100644
--- a/arch/mips/mach-octeon/cvmx-bootmem.c
+++ b/arch/mips/mach-octeon/cvmx-bootmem.c
@@ -21,12 +21,6 @@
DECLARE_GLOBAL_DATA_PTR;
-#define CVMX_MIPS32_SPACE_KSEG0 1L
-#define CVMX_MIPS_SPACE_XKPHYS 2LL
-
-#define CVMX_ADD_SEG(seg, add) ((((u64)(seg)) << 62) | (add))
-#define CVMX_ADD_SEG32(seg, add) (((u32)(seg) << 31) | (u32)(add))
-
/**
* This is the physical location of a struct cvmx_bootmem_desc
* structure in Octeon's memory. Note that dues to addressing