[U-Boot] [PATCH v4 7/8] mips: support optimize tuning for same common processor cores

Wills Wang wills.wang at live.com
Sun Dec 27 04:03:22 CET 2015



On 12/27/2015 02:58 AM, Daniel Schwierzeck wrote:
>
> Am 25.12.2015 um 19:56 schrieb Wills Wang:
>> Signed-off-by: Wills Wang <wills.wang at live.com>
>> ---
>>
>> Changes in v4: None
>> Changes in v3: None
>> Changes in v2: None
> I would prefer it like this [1] so you can drop patches 07/08 and 08/08.
>
> [1] http://patchwork.ozlabs.org/patch/561113/
Ok.
>>   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/
>>



More information about the U-Boot mailing list