Message ID | 20170915183554.11531-1-paul.burton@imgtec.com |
---|---|
State | Accepted |
Commit | 73780b012e2794246046a81ef7d2122454bf249f |
Delegated to: | Daniel Schwierzeck |
Headers | show |
Series | [U-Boot] MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds | expand |
Am 15.09.2017 um 20:35 schrieb Paul Burton: > 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 | 6 ------ > 1 file changed, 6 deletions(-) applied to u-boot-mips, thanks
diff --git a/arch/mips/cpu/u-boot.lds b/arch/mips/cpu/u-boot.lds index bd5536f013..fc943af923 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
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 | 6 ------ 1 file changed, 6 deletions(-)