]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds
authorPaul Burton <paul.burton@imgtec.com>
Fri, 15 Sep 2017 18:35:54 +0000 (11:35 -0700)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 28 Nov 2017 20:59:30 +0000 (21:59 +0100)
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>
arch/mips/cpu/u-boot.lds

index bd5536f0137466a7c849c85829a872adde6dcc6c..fc943af92350ee80e11dbd0158a4b66f5c2cfcb8 100644 (file)
@@ -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