| 5c380888 | 08-Jul-2016 |
Scott Branden <scott.branden@broadcom.com> |
drivers: Add support to retrieve plat_toc_flags
Add support to retrieve plat_toc_flags value from FIP header flags. plat_toc_flags is for platform specific use. It is stored in FIP header by fiptool
drivers: Add support to retrieve plat_toc_flags
Add support to retrieve plat_toc_flags value from FIP header flags. plat_toc_flags is for platform specific use. It is stored in FIP header by fiptool using --plat-toc-flags option.
Change-Id: Ibadd91b4f28e6503f4426e4efd404bbe512ad124 Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>
show more ...
|
| 0edfd377 | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "plat: imx: imx8qx: provide debug uart num as build param" into integration |
| e0ca555e | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "Update code freeze and release target date for 2.3" into integration |
| 787d848a | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "xlat_tables_v2: add enable_mmu()" into integration |
| 614be75d | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "Add get_current_el_maybe_constant()" into integration |
| 426d5f9c | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "Build: define IMAGE_AT_EL1 or IMAGE_AT_EL3 globally for C files" into integration |
| fa65b0e4 | 31-Mar-2020 |
laurenw-arm <lauren.wehrmeister@arm.com> |
Update code freeze and release target date for 2.3
Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com> Change-Id: Icf0a5737852e4f025dd8ce3748594ad25da43045 |
| dc341a1a | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "fconf: exclude fconf_dyn_cfg_getter.c from BL1_SOURCES" into integration |
| 0603a064 | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "bl32: sp_min: reduce the alignment for fconf_populator" into integration |
| 4ed750a4 | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "plat: pass -D option to BL*_CPPFLAGS instead of BL*_CFLAGS" into integration |
| f80f2d1c | 31-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "Build: introduce per-BL CPPFLAGS and ASFLAGS" into integration |
| db059ea4 | 31-Mar-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: Fix broken external link for Odroid C2
The file README.odroid-c2 has been moved in the U-Boot repository.
Reference the official uplink repository.
Signed-off-by: Heinrich Schuchardt <xypron.
doc: Fix broken external link for Odroid C2
The file README.odroid-c2 has been moved in the U-Boot repository.
Reference the official uplink repository.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Change-Id: Ie72c7aefd6363a406f88ad2c87faee1c7a2125a3
show more ...
|
| 8eceb1c9 | 31-Mar-2020 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "Create separate header for ARM specific SMCCC defines" into integration |
| a7062b7d | 31-Mar-2020 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "Makefile: don't use $(CC) before value is explicit set" into integration |
| 32b209bf | 25-Feb-2020 |
Ahmad Fatoum <a.fatoum@pengutronix.de> |
Makefile: don't use $(CC) before value is explicit set
Unless specified in the environment, $(CC) expands to some generic host C compiler like cc or c99. We set our own value for $(CC), but only few
Makefile: don't use $(CC) before value is explicit set
Unless specified in the environment, $(CC) expands to some generic host C compiler like cc or c99. We set our own value for $(CC), but only few lines later.
Move the first use of the $(CC) variable behind the definition to correct this.
Change-Id: I45344e063d21ddfe22b7ad77954e85c1c46087bd Fixes: 1684b8733 ("Use clang assembler when clang compiler is used") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
show more ...
|
| 27c5e15e | 31-Mar-2020 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "TF-A GICv3 driver: Introduce makefile" into integration |
| 93b2434f | 31-Mar-2020 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "Tegra: fixup GIC init from the 'on_finish' handler" into integration |
| 3be86517 | 31-Mar-2020 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "Tegra186: increase memory mapped regions" into integration |
| c452ba15 | 31-Mar-2020 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
fconf: exclude fconf_dyn_cfg_getter.c from BL1_SOURCES
fconf_dyn_cfg_getter.c calls FCONF_REGISTER_POPULATOR(), which populates the fconf_populator structure.
However, bl1/bl1.ld.S does not have:
fconf: exclude fconf_dyn_cfg_getter.c from BL1_SOURCES
fconf_dyn_cfg_getter.c calls FCONF_REGISTER_POPULATOR(), which populates the fconf_populator structure.
However, bl1/bl1.ld.S does not have:
__FCONF_POPULATOR_START__ = .; KEEP(*(.fconf_populator)) __FCONF_POPULATOR_END__ = .;
So, this is not linked to bl1.elf
We could change either bl1/bl1.lds.S or lib/fconf/fconf.mk to make them consistent.
I chose to fix up fconf.mk to keep the current behavior.
This is a groundwork to factor out the common code from linker scripts.
Change-Id: I07b7ad4db4ec77b57acf1588fffd0b06306d7293 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| 85ee795c | 25-Mar-2020 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
bl32: sp_min: reduce the alignment for fconf_populator
sp_min.ld.S is used for aarch32.
ALIGN(4) is used for alignment of the other structures. I do not think struct fconf_populator is a special ca
bl32: sp_min: reduce the alignment for fconf_populator
sp_min.ld.S is used for aarch32.
ALIGN(4) is used for alignment of the other structures. I do not think struct fconf_populator is a special case. Let's use ALIGN(4) here too.
Perhaps, this is just a copy-paste mistake of commit 26d1e0c33098 ("fconf: necessary modifications to support fconf in BL31 & SP_MIN").
Change-Id: I29f4c68680842c1b5ef913934b4ccf378e9bfcfb Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| 11a3c5ee | 25-Mar-2020 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
plat: pass -D option to BL*_CPPFLAGS instead of BL*_CFLAGS
-D is a preprocessor flag that defines a macro. So, adding it to BL*_CPPFLAGS makes more sense. You can reference it not only from .c files
plat: pass -D option to BL*_CPPFLAGS instead of BL*_CFLAGS
-D is a preprocessor flag that defines a macro. So, adding it to BL*_CPPFLAGS makes more sense. You can reference it not only from .c files but also from .S files.
Change-Id: Ib4f2f27a3ed3eae476a6a32da7ab5225ad0649de Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| 848a7e8c | 25-Mar-2020 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Build: introduce per-BL CPPFLAGS and ASFLAGS
Currently, BL*_CFLAGS and BL*_LDFLAGS are supported.
For completion, this adds BL*_CPPFLAGS and BL*_ASFLAGS.
My main motivation is to pass -D<macro> to
Build: introduce per-BL CPPFLAGS and ASFLAGS
Currently, BL*_CFLAGS and BL*_LDFLAGS are supported.
For completion, this adds BL*_CPPFLAGS and BL*_ASFLAGS.
My main motivation is to pass -D<macro> to BL*_CPPFLAGS so that the macro can be used from all source files.
Change-Id: I0ca1e4e26386bef7fed999af140ee7cce7c2f8ef Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| f5547735 | 26-Mar-2020 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
xlat_tables_v2: add enable_mmu()
enable_mmu_* has a different function name, so it is not handy in the shared code. enable_mmu() calls an appropriate one depending on the exception level.
Change-Id
xlat_tables_v2: add enable_mmu()
enable_mmu_* has a different function name, so it is not handy in the shared code. enable_mmu() calls an appropriate one depending on the exception level.
Change-Id: I0657968bfcb91c32733f75f9259f550a5c35b1c3 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| fd092be2 | 26-Mar-2020 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Add get_current_el_maybe_constant()
There are some cases where we want to run EL-dependent code in the shared code.
We could use #ifdef, but it leaves slight possibility where we do not know the ex
Add get_current_el_maybe_constant()
There are some cases where we want to run EL-dependent code in the shared code.
We could use #ifdef, but it leaves slight possibility where we do not know the exception level at the build-time (e.g. library code).
The counter approach is to use get_current_el(), but it is run-time detection, so all EL code is linked, some of which might be unneeded.
This commit adds get_current_el_maybe_constant(). This is a static inline function that returns a constant value if we know the exception level at build-time. This is mostly the case.
if (get_current_el_maybe_constant() == 1) { /* do something for EL1 */ } else if (get_current_el_maybe_constant() == 3) { /* do something for EL3 */ }
If get_current_el_maybe_constant() is build-time constant, the compiler will optimize out the unreachable code.
If such code is included from the library code, it is not built-time constant. In this case, it falls back to get_current_el(), so it still works.
Change-Id: Idb03c20342a5b5173fe2d6b40e1fac7998675ad3 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| d5e97a1d | 26-Mar-2020 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Build: define IMAGE_AT_EL1 or IMAGE_AT_EL3 globally for C files
The build system defines the IMAGE_BL* macro when compiling each image. This is useful to distinguish which image the current file is
Build: define IMAGE_AT_EL1 or IMAGE_AT_EL3 globally for C files
The build system defines the IMAGE_BL* macro when compiling each image. This is useful to distinguish which image the current file is being built for by using #if defined(IMAGE_BL2) or #if defined(IMAGE_BL31), or whatever.
There are some cases where we are more interested in which exception level the current file is being built for.
include/lib/cpus/{aarch32,aarch64}/cpu_macros.S defines IMAGE_AT_EL3, but we do not have it globally.
Pass IMAGE_AT_EL1 or IMAGE_AT_EL3 to BL*_CFLAGS so that it is available from all C code.
The library code (libc.a, libmbedtls.a, etc.) is exceptional cases, where the code can be shared between BL images.
Other than that, we know the exception level at the build time, and this macro will be useful in the shared code.
Change-Id: I7c8a1da10726906adfba981cfe8464dff111d6b0 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|