Don't return error information from console_flushAnd from crash_console_flush.We ignore the error information return by console_flush in _every_place where we call it, and casting the return typ
Don't return error information from console_flushAnd from crash_console_flush.We ignore the error information return by console_flush in _every_place where we call it, and casting the return type to void does notwork around the MISRA violation that this causes. Instead, we collectthe error information from the driver (to avoid changing that API), anddon't return it to the caller.Change-Id: I1e35afe01764d5c8f0efd04f8949d333ffb688c1Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
show more ...
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- inclu
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- include/lib/el3_runtime/${ARCH}The reason for this change is that having a global namespace forincludes isn't a good idea. It defeats one of the advantages of havingfolders and it introduces problems that are sometimes subtle (becauseyou may not know the header you are actually including if there are twoof them).For example, this patch had to be created because two headers werecalled the same way: e0ea0928d5b7 ("Fix gpio includes of mt8173 platformto avoid collision."). More recently, this patch has had similarproblems: 46f9b2c3a282 ("drivers: add tzc380 support").This problem was introduced in commit 4ecca33988b9 ("Move include andsource files to logical locations"). At that time, there weren't toomany headers so it wasn't a real issue. However, time has shown thatthis creates problems.Platforms that want to preserve the way they include headers may add theremoved paths to PLAT_INCLUDES, but this is discouraged.Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8fSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
poplar: Decouple from plat/arm filesplat/arm files should only be used by Arm platforms. If other platformsuse them, they create dependencies that can introduce problems whenupdating Arm platform
poplar: Decouple from plat/arm filesplat/arm files should only be used by Arm platforms. If other platformsuse them, they create dependencies that can introduce problems whenupdating Arm platforms.This patch copies the needed code from Arm platforms so that poplar canbe independent from them.Change-Id: I0b194f5bdb0377b8ccacbd400e021614c026c7feTested-by: Shawn Guo <shawn.guo@linaro.org>Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
poplar: Migrate to new interfaces- Remove support for LOAD_IMAGE_V2=0.- Replace deprecated bl1_init_bl2_mem_layout().- Migrate to bl2_early_platform_setup2().- Migrate to bl31_early_platform_set
poplar: Migrate to new interfaces- Remove support for LOAD_IMAGE_V2=0.- Replace deprecated bl1_init_bl2_mem_layout().- Migrate to bl2_early_platform_setup2().- Migrate to bl31_early_platform_setup2().- Use PLAT_VIRT_ADDR_SPACE_SIZE and PLAT_PHY_ADDR_SPACE_SIZE.- Remove references to removed build options.- Update Makefile paths.Change-Id: I52e02633365b3db4244f7ff0f99a6446eae619f0Tested-by: Shawn Guo <shawn.guo@linaro.org>Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
poplar: Support Trusted OS extra image (OP-TEE header) parsingSigned-off-by: Victor Chong <victor.chong@linaro.org>Tested-by: Shawn Guo <shawn.guo@linaro.org>
poplar: Add BL32 (OP-TEE) supportSigned-off-by: Victor Chong <victor.chong@linaro.org>
Poplar: Initial commit for Poplar E-96BoardsThe board features the Hi3798C V200 with an integrated quad-core64-bit ARM Cortex A53 processor and high performance Mali T720 GPU,making it capable of
Poplar: Initial commit for Poplar E-96BoardsThe board features the Hi3798C V200 with an integrated quad-core64-bit ARM Cortex A53 processor and high performance Mali T720 GPU,making it capable of running any commercial set-top solution based onLinux or Android. Its high performance specification also supports apremium user experience with up to H.265 HEVC decoding of 4K video at60 frames per second.SOC Hisilicon Hi3798CV200CPU Quad-core ARM Cortex-A53 64 bitDRAM DDR3/3L/4 SDRAM interface, maximum 32-bit data width 2 GBUSB Two USB 2.0 ports One USB 3.0 portsCONSOLE USB-micro port for console supportETHERNET 1 GBe EthernetPCIE One PCIe 2.0 interfacesJTAG 8-Pin JTAGEXPANSION INTERFACE Linaro 96Boards Low Speed Expansion slotDIMENSION Standard 160×120 mm 96Boards Enterprice Edition form factorWIFI 802.11AC 2*2 with BluetoothCONNECTORS One connector for Smart Card One connector for TSIThe platform boot sequence is as follows: l-loader --> arm_trusted_firmware --> u-bootRepositories: - https://github.com/Linaro/poplar-l-loader.git - https://github.com/Linaro/poplar-u-boot.gitU-Boot is also upstream in the project's master branch.Make sure you are using the correct branch on each one of theserepositories. The definition of "correct" might change over time (atthis moment in time this would be the "latest" branch).Build Line:make CROSS_COMPILE=aarch64-linux-gnu- all fip SPD=none DEBUG=1PLAT=poplar BL33=/path/to/u-boot.binSigned-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>Signed-off-by: Leo Yan <leo.yan@linaro.org>Signed-off-by: Alex Elder <elder@linaro.org>Tested-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>Tested-by: Leo Yan <leo.yan@linaro.org>Tested-by: Alex Elder <elder@linaro.org>