From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 26 Dec 2015 08:30:14 +0100 Subject: [U-Boot] [PATCH v4 7/8] mips: support optimize tuning for same common processor cores In-Reply-To: References: <1451069788-6786-1-git-send-email-wills.wang@live.com> Message-ID: <201512260830.14259.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, December 25, 2015 at 07:56:27 PM, Wills Wang wrote: Missing commit message. There is exactly zero explanation why this patch is necessary/beneficial/whatever . I just do not understand why we should pick this patch. > Signed-off-by: Wills Wang > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/mips/Makefile | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/mips/Makefile b/arch/mips/Makefile > index da5fa72..0be5e64 100644 > --- a/arch/mips/Makefile > +++ b/arch/mips/Makefile > @@ -2,6 +2,13 @@ > # SPDX-License-Identifier: GPL-2.0+ > # > > +tune-$(CONFIG_OPTIMIZE_CPU_MIPS_4KC) =-mtune=4kc > +tune-$(CONFIG_OPTIMIZE_CPU_MIPS_24KC) =-mtune=24kc > + > +tune-y := $(tune-y) > + > +PLATFORM_CPPFLAGS += $(tune-y) > + > head-y := arch/mips/cpu/start.o > > libs-y += arch/mips/cpu/ Best regards, Marek Vasut