diff options
author | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-02-22 11:26:31 +0700 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-03-22 13:36:54 +0700 |
commit | a49bfbc621f60e47d8774d454fbade47ff6d126a (patch) | |
tree | 17f46ee2fdb7a12eb9d2d2b738bda9d2b6af9b32 /meta-rcar-gen3/conf/machine/include | |
parent | 0f4c656f1e8304ce13f43b07907fac5d9b281e4f (diff) |
rcar-gen3: machine: Add support for E3
This commit updates recipes to support R-Car E3 board (SoC: R8A77990)
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/conf/machine/include')
-rw-r--r-- | meta-rcar-gen3/conf/machine/include/r8a77990.inc | 3 | ||||
-rw-r--r-- | meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-rcar-gen3/conf/machine/include/r8a77990.inc b/meta-rcar-gen3/conf/machine/include/r8a77990.inc new file mode 100644 index 0000000..a5fed2a --- /dev/null +++ b/meta-rcar-gen3/conf/machine/include/r8a77990.inc @@ -0,0 +1,3 @@ +SOC_FAMILY =. "rcar-gen3:" +require conf/machine/include/soc-family.inc +LINUXLIBCVERSION = "4.14" diff --git a/meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc b/meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc new file mode 100644 index 0000000..ebf2c4f --- /dev/null +++ b/meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc @@ -0,0 +1,18 @@ +DEFAULTTUNE ?= "cortexa53" +require conf/machine/include/arm/arch-armv8.inc + +TUNEVALID[cortexa53] = "Enable Cortex-A53 specific processor optimizations" +TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a" + +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", " -march=armv8-a", "" ,d)}" + +MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa53", "cortexa53:", "" ,d)}" + +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa53", " -mtune=cortex-a53", "", d)}" + +# Little Endian base configs +AVAILTUNES += "cortexa53" +ARMPKGARCH_tune-cortexa53 = "cortexa53" +TUNE_FEATURES_tune-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa53" +PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa53" +BASE_LIB_tune-cortexa53 = "lib64" |