[LEDE-DEV] [PATCH 2/4] lantiq: switch from 34k to 24k

A. Benz ash.benz at bk.ru
Sun Aug 21 23:34:15 PDT 2016


 > GCC treats 24kc and 34kc exactly the same and will generate identical
 > code, so there is no need to tune to 34kc instead of 24kc.

Perhaps a future version of GCC will have this changed.

Keep them as they are, whether they are aliases (at this point) or not 
is irrelevant. If GCC has them as targets they should be used.

Regards,
A. Benz

On 08/22/16 01:23, Jonas Gorski wrote:
> GCC treats 24kc and 34kc exactly the same and will generate identical
> code, so there is no need to tune to 34kc instead of 24kc.
>
> Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
> ---
>  target/linux/lantiq/xrx200/target.mk      | 2 +-
>  target/linux/lantiq/xway/target.mk        | 2 +-
>  target/linux/lantiq/xway_legacy/target.mk | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/target/linux/lantiq/xrx200/target.mk b/target/linux/lantiq/xrx200/target.mk
> index a52816c..b998012 100644
> --- a/target/linux/lantiq/xrx200/target.mk
> +++ b/target/linux/lantiq/xrx200/target.mk
> @@ -2,7 +2,7 @@ ARCH:=mips
>  SUBTARGET:=xrx200
>  BOARDNAME:=XRX200
>  FEATURES:=squashfs atm mips16 nand ubifs
> -CPU_TYPE:=34kc
> +CPU_TYPE:=24kc
>
>  DEFAULT_PACKAGES+=kmod-leds-gpio \
>  	kmod-gpio-button-hotplug \
> diff --git a/target/linux/lantiq/xway/target.mk b/target/linux/lantiq/xway/target.mk
> index 1fe6bc4..3c90b24 100644
> --- a/target/linux/lantiq/xway/target.mk
> +++ b/target/linux/lantiq/xway/target.mk
> @@ -2,7 +2,7 @@ ARCH:=mips
>  SUBTARGET:=xway
>  BOARDNAME:=XWAY
>  FEATURES:=squashfs atm mips16 nand ubifs ramdisk
> -CPU_TYPE:=34kc
> +CPU_TYPE:=24kc
>
>  DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug
>
> diff --git a/target/linux/lantiq/xway_legacy/target.mk b/target/linux/lantiq/xway_legacy/target.mk
> index abff385..87d6971 100644
> --- a/target/linux/lantiq/xway_legacy/target.mk
> +++ b/target/linux/lantiq/xway_legacy/target.mk
> @@ -2,7 +2,7 @@ ARCH:=mips
>  SUBTARGET:=xway_legacy
>  BOARDNAME:=XWAY Legacy
>  FEATURES:=squashfs atm mips16 ramdisk small_flash
> -CPU_TYPE:=34kc
> +CPU_TYPE:=24kc
>
>  DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug
>
>



More information about the Lede-dev mailing list