refactor(plat/imx/imx): make imx io-storage logic for TBBR/FIP commonThis commit makes imx image io-storage logic common for allimx platform.Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debia
refactor(plat/imx/imx): make imx io-storage logic for TBBR/FIP commonThis commit makes imx image io-storage logic common for allimx platform.Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>Change-Id: I15045ac8f9dfa8cb714e32f9e7475d5eae4e86e4
show more ...
imx: Unify Platform specific defines for PSCI modulePLATFORM_CORE_COUNT - Unsigned intPLATFORM_CLUSTER_COUNT - Unsigned intPLATFORM_MAX_CPUS_PER_CLUSTER - Unsigned intPLATFORM_CORE_COUNT_PER_CLU
imx: Unify Platform specific defines for PSCI modulePLATFORM_CORE_COUNT - Unsigned intPLATFORM_CLUSTER_COUNT - Unsigned intPLATFORM_MAX_CPUS_PER_CLUSTER - Unsigned intPLATFORM_CORE_COUNT_PER_CLUSTER - Unsigned intSigned-off-by: Deepika Bhavnani <deepika.bhavnani@arm.com>Change-Id: I8b19e833a4e1067e1cfcc9bfaede7854e0e63004
plat: imx7: refactor code for reuseFor the iMX7 SOCs, part of the code for platformsetup implementation can be reused and madecommon for all these SoCs. This patch extractsthe common part for re
plat: imx7: refactor code for reuseFor the iMX7 SOCs, part of the code for platformsetup implementation can be reused and madecommon for all these SoCs. This patch extractsthe common part for reuse.Signed-off-by: Jun Nie <jun.nie@linaro.org>Change-Id: I42fd4167e6903416df96a0159a046abf3896e878
warp7: Define DTB overlay address in memory mapThis patch defines the expected DTB overlay address in the memory map forthis platform. Its important that all points in the boot process agree onth
warp7: Define DTB overlay address in memory mapThis patch defines the expected DTB overlay address in the memory map forthis platform. Its important that all points in the boot process agree onthis memory map even if not all elements utilize it.Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
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>
io_block: define MAX_IO_BLOCK_DEVICES as unsignedThis is used as a table index, and already compared with an unsigned int:block_dev_count.Signed-off-by: Yann Gautier <yann.gautier@st.com>
Standardise header guards across codebaseAll identifiers, regardless of use, that start with two underscores arereserved. This means they can't be used in header guards.The style that this proje
Standardise header guards across codebaseAll identifiers, regardless of use, that start with two underscores arereserved. This means they can't be used in header guards.The style that this project is now to use the full name of the file incapital letters followed by 'H'. For example, for a file called"uart_example.h", the header guard is UART_EXAMPLE_H.The exceptions are files that are imported from other projects:- CryptoCell driver- dt-bindings folders- zlib headersChange-Id: I50561bf6c88b491ec440d0c8385c74650f3c106eSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
warp7: Define a platform_def.hThis patch defines a platform_def.h describing- FIP layout and location- eMMC device select- UART identity select- System clock frequency- Operational memory map
warp7: Define a platform_def.hThis patch defines a platform_def.h describing- FIP layout and location- eMMC device select- UART identity select- System clock frequency- Operational memory mapSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>Signed-off-by: Jun Nie <jun.nie@linaro.org>Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>