aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-09-15 11:35:54 -0700
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2017-11-28 21:59:30 +0100
commit73780b012e2794246046a81ef7d2122454bf249f (patch)
treedd0778e5f3dc09028b92b60ba7dfbfc213b1f795 /arch
parent64f733d3fab26d0444096cf8dd4f5fb2bb298c22 (diff)
downloadu-boot-73780b012e2794246046a81ef7d2122454bf249f.zip
u-boot-73780b012e2794246046a81ef7d2122454bf249f.tar.gz
u-boot-73780b012e2794246046a81ef7d2122454bf249f.tar.bz2
MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds
The u-boot.lds linker script for MIPS defines a PTR_COUNT_SHIFT macro to 2 or 3 for 32 bit or 64 bit builds respectively. This macro is never actually used though, so remove the dead code. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/cpu/u-boot.lds6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/cpu/u-boot.lds b/arch/mips/cpu/u-boot.lds
index bd5536f..fc943af 100644
--- a/arch/mips/cpu/u-boot.lds
+++ b/arch/mips/cpu/u-boot.lds
@@ -5,12 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#if defined(CONFIG_64BIT)
-#define PTR_COUNT_SHIFT 3
-#else
-#define PTR_COUNT_SHIFT 2
-#endif
-
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS