diff options
author | Jaewon Lee <jaewon.lee@xilinx.com> | 2018-04-27 10:12:46 -0700 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-07-18 15:42:14 -0700 |
commit | fa428a998a93650aa8a149b67b3a7e4cac17d9e8 (patch) | |
tree | f6ecb9bdd8f8400684257d801473fc639aeba25a /meta-xilinx-bsp/recipes-bsp | |
parent | 2d7b1a22d08f0d7db60e148c5e11ea2df735b6b8 (diff) | |
download | meta-xilinx-fa428a998a93650aa8a149b67b3a7e4cac17d9e8.tar.gz |
arm-trusted-firmware.inc: Add support for atf to use 2nd UART
Add ZYNQMP_CONSOLE flag to EXTRA_OEMAKE to add support for the 2nd UART.
If ZYNQMP_CONSOLE is set to cadence or cadence0, it will use UART 0 and
if set to cadence1, it will use UART 1. The default value is set to
cadence.
Change do_configure to perform make clean. Without this change,you must
manually clean sstate before building with the new value of
ZYNQMP_CONSOLE, which is not the desired behavior.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-bsp')
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc index 02bbc732..000ba61c 100644 --- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc +++ b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | |||
@@ -28,6 +28,7 @@ ATF_BASE_NAME[vardepsexclude] = "DATETIME" | |||
28 | COMPATIBLE_MACHINE = "zynqmp" | 28 | COMPATIBLE_MACHINE = "zynqmp" |
29 | PLATFORM_zynqmp = "zynqmp" | 29 | PLATFORM_zynqmp = "zynqmp" |
30 | 30 | ||
31 | |||
31 | # requires CROSS_COMPILE set by hand as there is no configure script | 32 | # requires CROSS_COMPILE set by hand as there is no configure script |
32 | export CROSS_COMPILE="${TARGET_PREFIX}" | 33 | export CROSS_COMPILE="${TARGET_PREFIX}" |
33 | 34 | ||
@@ -37,8 +38,12 @@ LDFLAGS[unexport] = "1" | |||
37 | AS[unexport] = "1" | 38 | AS[unexport] = "1" |
38 | LD[unexport] = "1" | 39 | LD[unexport] = "1" |
39 | 40 | ||
41 | ATF_CONSOLE ?= "cadence" | ||
42 | |||
43 | EXTRA_OEMAKE += "ZYNQMP_CONSOLE=${ATF_CONSOLE}" | ||
44 | |||
40 | do_configure() { | 45 | do_configure() { |
41 | : | 46 | oe_runmake clean -C ${S} BUILD_BASE=${B} PLAT=${PLATFORM} |
42 | } | 47 | } |
43 | 48 | ||
44 | do_compile() { | 49 | do_compile() { |