History log of /rk3399_ARM-atf/include/ (Results 2126 – 2150 of 3957)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
579d1e9027-Mar-2020 Julius Werner <jwerner@chromium.org>

coreboot: Add memory range parsing

This patch adds code to parse memory range information passed by
coreboot, and a simple helper to test whether a specific address belongs
to a range. This may be u

coreboot: Add memory range parsing

This patch adds code to parse memory range information passed by
coreboot, and a simple helper to test whether a specific address belongs
to a range. This may be useful for coreboot-using platforms that need to
know information about the system's memory layout (e.g. to check whether
an address passed in via SMC targets valid DRAM).

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I3bea326c426db27d1a8b7d6e17418e4850e884b4

show more ...

1150416302-Apr-2020 Masahiro Yamada <yamada.masahiro@socionext.com>

locks: bakery: use is_dcache_enabled() helper

bakery_lock_normal.c uses the raw register accessor, read_sctlr(_el3)
to check whether the dcache is enabled.

Using is_dcache_enabled() is cleaner, and

locks: bakery: use is_dcache_enabled() helper

bakery_lock_normal.c uses the raw register accessor, read_sctlr(_el3)
to check whether the dcache is enabled.

Using is_dcache_enabled() is cleaner, and a good abstraction for
the library code like this.

A problem is is_dcache_enabled() is declared in the local header,
lib/xlat_tables_v2/xlat_tables_private.h

I searched for a good place to declare this helper. Moving it to
arch_helpers.h, closed to cache operation helpers, looks good enough
to me.

I also changed the type of 'is_cached' to bool for consistency,
and to avoid MISRA warnings.

Change-Id: I9b016f67bc8eade25c316aa9c0db0fa4cd375b79
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

show more ...

8f3ad76606-Apr-2020 Alexei Fedorov <Alexei.Fedorov@arm.com>

TF-A GICv3 driver: Add extended PPI and SPI range

This patch provides support for GICv3.1 extended PPI and SPI
range. The option is enabled by setting to 1 and passing
`GIC_EXT_INTID` build flag to

TF-A GICv3 driver: Add extended PPI and SPI range

This patch provides support for GICv3.1 extended PPI and SPI
range. The option is enabled by setting to 1 and passing
`GIC_EXT_INTID` build flag to gicv3.mk makefile.
This option defaults to 0 with no extended range support.

Change-Id: I7d09086fe22ea531c5df51a8a1efd8928458d394
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>

show more ...

37d56d3804-Apr-2020 Mark Dykes <mardyk01@review.trustedfirmware.org>

Merge "Fix MISRA C issues in BL1/BL2/BL31" into integration

3443a70220-Mar-2020 John Powell <john.powell@arm.com>

Fix MISRA C issues in BL1/BL2/BL31

Attempts to address MISRA compliance issues in BL1, BL2, and BL31 code.
Mainly issues like not using boolean expressions in conditionals,
conflicting variable name

Fix MISRA C issues in BL1/BL2/BL31

Attempts to address MISRA compliance issues in BL1, BL2, and BL31 code.
Mainly issues like not using boolean expressions in conditionals,
conflicting variable names, ignoring return values without (void), adding
explicit casts, etc.

Change-Id: If1fa18ab621b9c374db73fa6eaa6f6e5e55c146a
Signed-off-by: John Powell <john.powell@arm.com>

show more ...


/rk3399_ARM-atf/Makefile
/rk3399_ARM-atf/bl1/aarch32/bl1_context_mgmt.c
/rk3399_ARM-atf/bl1/aarch64/bl1_context_mgmt.c
/rk3399_ARM-atf/bl1/bl1_fwu.c
/rk3399_ARM-atf/bl1/bl1_main.c
/rk3399_ARM-atf/bl2/bl2_image_load_v2.c
/rk3399_ARM-atf/bl2u/bl2u_main.c
/rk3399_ARM-atf/common/desc_image_load.c
/rk3399_ARM-atf/docs/about/release-information.rst
/rk3399_ARM-atf/docs/change-log.rst
/rk3399_ARM-atf/docs/components/fconf.rst
/rk3399_ARM-atf/docs/components/index.rst
/rk3399_ARM-atf/docs/components/spci-manifest-binding.rst
/rk3399_ARM-atf/docs/getting_started/build-options.rst
/rk3399_ARM-atf/docs/plat/meson-gxbb.rst
/rk3399_ARM-atf/docs/resources/diagrams/plantuml/fconf_bl1_load_config.puml
/rk3399_ARM-atf/docs/resources/diagrams/plantuml/fconf_bl2_populate.puml
arch/aarch32/arch.h
arch/aarch64/arch.h
lib/smccc.h
lib/utils_def.h
/rk3399_ARM-atf/make_helpers/defaults.mk
/rk3399_ARM-atf/plat/imx/imx8qx/imx8qx_bl31_setup.c
/rk3399_ARM-atf/plat/imx/imx8qx/include/platform_def.h
/rk3399_ARM-atf/plat/imx/imx8qx/platform.mk
/rk3399_ARM-atf/plat/rpi/common/aarch64/plat_helpers.S
/rk3399_ARM-atf/plat/rpi/common/include/rpi_shared.h
/rk3399_ARM-atf/plat/rpi/common/rpi3_pm.c
/rk3399_ARM-atf/plat/rpi/rpi3/include/platform_def.h
/rk3399_ARM-atf/plat/rpi/rpi3/platform.mk
/rk3399_ARM-atf/plat/rpi/rpi4/include/platform_def.h
/rk3399_ARM-atf/plat/rpi/rpi4/platform.mk
/rk3399_ARM-atf/plat/socionext/uniphier/platform.mk
/rk3399_ARM-atf/plat/socionext/uniphier/tsp/uniphier_tsp_setup.c
/rk3399_ARM-atf/plat/socionext/uniphier/uniphier_bl2_setup.c
/rk3399_ARM-atf/plat/socionext/uniphier/uniphier_bl31_setup.c
/rk3399_ARM-atf/plat/socionext/uniphier/uniphier_xlat_setup.c
f4367eb703-Apr-2020 Manish Pandey <manish.pandey2@arm.com>

Merge "xlat lib v2: Add support to pass shareability attribute for normal memory region" into integration

926cd70a03-Apr-2020 Manish Pandey <manish.pandey2@arm.com>

Merge changes from topic "brcm_initial_support" into integration

* changes:
doc: brcm: Add documentation file for brcm stingray platform
drivers: Add SPI Nor flash support
drivers: Add iproc s

Merge changes from topic "brcm_initial_support" into integration

* changes:
doc: brcm: Add documentation file for brcm stingray platform
drivers: Add SPI Nor flash support
drivers: Add iproc spi driver
drivers: Add emmc driver for Broadcom platforms
Add BL31 support for Broadcom stingray platform
Add BL2 support for Broadcom stingray platform
Add bl31 support common across Broadcom platforms
Add bl2 setup code common across Broadcom platforms
drivers: Add support to retrieve plat_toc_flags

show more ...


/rk3399_ARM-atf/docs/plat/brcm-stingray.rst
/rk3399_ARM-atf/drivers/brcm/chimp.c
/rk3399_ARM-atf/drivers/brcm/emmc/emmc_chal_sd.c
/rk3399_ARM-atf/drivers/brcm/emmc/emmc_csl_sdcard.c
/rk3399_ARM-atf/drivers/brcm/emmc/emmc_csl_sdcmd.c
/rk3399_ARM-atf/drivers/brcm/emmc/emmc_pboot_hal_memory_drv.c
/rk3399_ARM-atf/drivers/brcm/iproc_gpio.c
/rk3399_ARM-atf/drivers/brcm/ocotp.c
/rk3399_ARM-atf/drivers/brcm/scp.c
/rk3399_ARM-atf/drivers/brcm/sotp.c
/rk3399_ARM-atf/drivers/brcm/spi/iproc_qspi.c
/rk3399_ARM-atf/drivers/brcm/spi/iproc_qspi.h
/rk3399_ARM-atf/drivers/brcm/spi/iproc_spi.c
/rk3399_ARM-atf/drivers/brcm/spi_flash.c
/rk3399_ARM-atf/drivers/brcm/spi_sf.c
/rk3399_ARM-atf/drivers/io/io_fip.c
drivers/brcm/chimp.h
drivers/brcm/chimp_nv_defs.h
drivers/brcm/dmu.h
drivers/brcm/emmc/bcm_emmc.h
drivers/brcm/emmc/emmc_api.h
drivers/brcm/emmc/emmc_brcm_rdb_sd4_top.h
drivers/brcm/emmc/emmc_chal_sd.h
drivers/brcm/emmc/emmc_chal_types.h
drivers/brcm/emmc/emmc_csl_sd.h
drivers/brcm/emmc/emmc_csl_sdcmd.h
drivers/brcm/emmc/emmc_csl_sdprot.h
drivers/brcm/emmc/emmc_pboot_hal_memory_drv.h
drivers/brcm/fru.h
drivers/brcm/iproc_gpio.h
drivers/brcm/ocotp.h
drivers/brcm/scp.h
drivers/brcm/sf.h
drivers/brcm/sotp.h
drivers/brcm/spi.h
drivers/brcm/spi_flash.h
drivers/io/io_fip.h
plat/brcm/common/bcm_console.h
plat/brcm/common/bcm_elog.h
plat/brcm/common/brcm_def.h
plat/brcm/common/plat_brcm.h
/rk3399_ARM-atf/plat/brcm/board/common/bcm_console.c
/rk3399_ARM-atf/plat/brcm/board/common/bcm_elog.c
/rk3399_ARM-atf/plat/brcm/board/common/bcm_elog_ddr.c
/rk3399_ARM-atf/plat/brcm/board/common/bcm_elog_ddr.h
/rk3399_ARM-atf/plat/brcm/board/common/board_arm_trusted_boot.c
/rk3399_ARM-atf/plat/brcm/board/common/board_common.c
/rk3399_ARM-atf/plat/brcm/board/common/board_common.mk
/rk3399_ARM-atf/plat/brcm/board/common/brcm_mbedtls.c
/rk3399_ARM-atf/plat/brcm/board/common/chip_id.h
/rk3399_ARM-atf/plat/brcm/board/common/cmn_plat_def.h
/rk3399_ARM-atf/plat/brcm/board/common/cmn_plat_util.h
/rk3399_ARM-atf/plat/brcm/board/common/cmn_sec.c
/rk3399_ARM-atf/plat/brcm/board/common/cmn_sec.h
/rk3399_ARM-atf/plat/brcm/board/common/err.c
/rk3399_ARM-atf/plat/brcm/board/common/plat_setup.c
/rk3399_ARM-atf/plat/brcm/board/common/platform_common.c
/rk3399_ARM-atf/plat/brcm/board/common/sbl_util.c
/rk3399_ARM-atf/plat/brcm/board/common/sbl_util.h
/rk3399_ARM-atf/plat/brcm/board/common/timer_sync.c
/rk3399_ARM-atf/plat/brcm/board/stingray/aarch64/plat_helpers.S
/rk3399_ARM-atf/plat/brcm/board/stingray/bcm958742t-ns3.mk
/rk3399_ARM-atf/plat/brcm/board/stingray/bcm958742t.mk
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/ddr/soc/include/board_family.h
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/ext_sram_init/ext_sram_init.c
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/ext_sram_init/ext_sram_init.h
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/ihost_pll_config.c
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/plat_emmc.c
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/swreg.c
/rk3399_ARM-atf/plat/brcm/board/stingray/include/bl33_info.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/board_info.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/crmu_def.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/ddr_init.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/fsx.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/ihost_pm.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/iommu.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/ncsi.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/paxb.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/paxc.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/plat_macros.S
/rk3399_ARM-atf/plat/brcm/board/stingray/include/platform_def.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/platform_sotp.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/scp_cmd.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/scp_utils.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/sdio.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/sr_def.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/sr_utils.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/swreg.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/timer_sync.h
/rk3399_ARM-atf/plat/brcm/board/stingray/platform.mk
/rk3399_ARM-atf/plat/brcm/board/stingray/src/bl2_setup.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/bl31_setup.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/brcm_pm_ops.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/fsx.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/ihost_pm.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/iommu.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/ncsi.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/paxb.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/paxc.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/pm.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/scp_cmd.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/scp_utils.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/sdio.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/sr_paxb_phy.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/topology.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/tz_sec.c
/rk3399_ARM-atf/plat/brcm/common/brcm_bl2_mem_params_desc.c
/rk3399_ARM-atf/plat/brcm/common/brcm_bl2_setup.c
/rk3399_ARM-atf/plat/brcm/common/brcm_bl31_setup.c
/rk3399_ARM-atf/plat/brcm/common/brcm_ccn.c
/rk3399_ARM-atf/plat/brcm/common/brcm_common.c
/rk3399_ARM-atf/plat/brcm/common/brcm_gicv3.c
/rk3399_ARM-atf/plat/brcm/common/brcm_image_load.c
/rk3399_ARM-atf/plat/brcm/common/brcm_io_storage.c
/rk3399_ARM-atf/plat/brcm/common/brcm_mhu.c
/rk3399_ARM-atf/plat/brcm/common/brcm_mhu.h
/rk3399_ARM-atf/plat/brcm/common/brcm_scpi.c
/rk3399_ARM-atf/plat/brcm/common/brcm_scpi.h
/rk3399_ARM-atf/plat/socionext/uniphier/include/platform_def.h
/rk3399_ARM-atf/plat/socionext/uniphier/platform.mk
06aca85719-Feb-2020 Pramod Kumar <pramod.kumar@broadcom.com>

xlat lib v2: Add support to pass shareability attribute for normal memory region

Present framework restricts platform to pass desired shareability attribute
for normal memory region mapped in MMU. i

xlat lib v2: Add support to pass shareability attribute for normal memory region

Present framework restricts platform to pass desired shareability attribute
for normal memory region mapped in MMU. it defaults to inner shareability.

There are platforms where memories (like SRAM) are not placed at snoopable
region in advaned interconnect like CCN/CMN hence snoopable transaction is
not possible to these memory. Though These memories could be mapped in MMU
as MT_NON_CACHEABLE, data caches benefits won't be available.

If these memories are mapped as cacheable with non-shareable attribute,
when only one core is running like at boot time, MMU data cached could be
used for faster execution. Hence adding support to pass the shareability
attribute for memory regions.

Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Change-Id: I678cb50120a28dae4aa9d1896e8faf1dd5cf1754

show more ...

49dec7f705-Jan-2020 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

drivers: Add SPI Nor flash support

Add SPI Nor flash support

Change-Id: I0cde3fdb4dcad5bcaf445b3bb48e279332bd28af
Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

e3ee7b7d05-Jan-2020 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

drivers: Add iproc spi driver

Add iproc spi driver

Change-Id: I652efab1efd9c487974dae9cb9d98b9b8e3759c4
Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

bffde63d05-Jan-2020 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

drivers: Add emmc driver for Broadcom platforms

Add emmc driver for Broadcom platforms

Change-Id: I126a6dfccd41062cb0b856f2c2fb1f724730b95e
Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadco

drivers: Add emmc driver for Broadcom platforms

Add emmc driver for Broadcom platforms

Change-Id: I126a6dfccd41062cb0b856f2c2fb1f724730b95e
Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

show more ...

3942d3a818-Dec-2019 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

Add BL31 support for Broadcom stingray platform

Change-Id: Icfef5b6923dc292e637001045a334c499d346fe9
Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

f29d1e0c18-Dec-2019 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

Add BL2 support for Broadcom stingray platform

Change-Id: I5daa3f2b4b9d85cb857547a588571a9aa8ad05c2
Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>


/rk3399_ARM-atf/drivers/brcm/iproc_gpio.c
/rk3399_ARM-atf/drivers/brcm/ocotp.c
/rk3399_ARM-atf/drivers/brcm/scp.c
/rk3399_ARM-atf/drivers/brcm/sotp.c
drivers/brcm/chimp.h
drivers/brcm/fru.h
drivers/brcm/iproc_gpio.h
drivers/brcm/ocotp.h
drivers/brcm/scp.h
drivers/brcm/sotp.h
plat/brcm/common/bcm_elog.h
/rk3399_ARM-atf/plat/brcm/board/common/bcm_elog.c
/rk3399_ARM-atf/plat/brcm/board/common/bcm_elog_ddr.c
/rk3399_ARM-atf/plat/brcm/board/common/bcm_elog_ddr.h
/rk3399_ARM-atf/plat/brcm/board/common/board_arm_trusted_boot.c
/rk3399_ARM-atf/plat/brcm/board/common/board_common.mk
/rk3399_ARM-atf/plat/brcm/board/common/brcm_mbedtls.c
/rk3399_ARM-atf/plat/brcm/board/common/chip_id.h
/rk3399_ARM-atf/plat/brcm/board/common/cmn_plat_def.h
/rk3399_ARM-atf/plat/brcm/board/common/platform_common.c
/rk3399_ARM-atf/plat/brcm/board/common/sbl_util.c
/rk3399_ARM-atf/plat/brcm/board/common/sbl_util.h
/rk3399_ARM-atf/plat/brcm/board/stingray/bcm958742t-ns3.mk
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/ddr/soc/include/board_family.h
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/ext_sram_init/ext_sram_init.c
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/ext_sram_init/ext_sram_init.h
/rk3399_ARM-atf/plat/brcm/board/stingray/driver/swreg.c
/rk3399_ARM-atf/plat/brcm/board/stingray/include/board_info.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/ddr_init.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/platform_def.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/platform_sotp.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/scp_cmd.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/scp_utils.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/sr_utils.h
/rk3399_ARM-atf/plat/brcm/board/stingray/include/swreg.h
/rk3399_ARM-atf/plat/brcm/board/stingray/platform.mk
/rk3399_ARM-atf/plat/brcm/board/stingray/src/bl2_setup.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/scp_cmd.c
/rk3399_ARM-atf/plat/brcm/board/stingray/src/scp_utils.c
9a40c0fb18-Dec-2019 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

Add bl31 support common across Broadcom platforms

Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>
Change-Id: Ic1a392a633b447935fa3a7528326c97845f5b1bc

8a53445e03-Apr-2020 Olivier Deprez <olivier.deprez@arm.com>

Merge changes from topic "sb/fconf" into integration

* changes:
Check for out-of-bound accesses in the platform io policies
Check for out-of-bound accesses in the CoT description

717448d613-Dec-2019 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>

Add bl2 setup code common across Broadcom platforms

Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>
Change-Id: Iabeaee35c22608c93945c8295bf70947b0f6049a

cb2e35b502-Apr-2020 Mark Dykes <mardyk01@review.trustedfirmware.org>

Merge changes from topic "macro-cleanup" into integration

* changes:
plat: remove redundant =1 from -D option
Pass more -D options to BL*_CPPFLAGS instead of BL*_CFLAGS

3142f6df02-Apr-2020 joanna.farley <joanna.farley@arm.com>

Merge "cryptocell: add support for Cryptocell 713" into integration

afe6262402-Apr-2020 Sandrine Bailleux <sandrine.bailleux@arm.com>

Check for out-of-bound accesses in the platform io policies

The platform io policies array is now always accessed through a fconf getter.
This gives us an ideal spot to check for out-of-bound access

Check for out-of-bound accesses in the platform io policies

The platform io policies array is now always accessed through a fconf getter.
This gives us an ideal spot to check for out-of-bound accesses.

Remove the assertion in plat_get_image_source(), which is now redundant.

Change-Id: Iefe808d530229073b68cbd164d927b8b6662a217
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>

show more ...

6f8a256525-Mar-2020 Sandrine Bailleux <sandrine.bailleux@arm.com>

Check for out-of-bound accesses in the CoT description

The chain of trust array is now always accessed through a fconf getter.
This gives us an ideal spot to check for out-of-bound accesses.

Change

Check for out-of-bound accesses in the CoT description

The chain of trust array is now always accessed through a fconf getter.
This gives us an ideal spot to check for out-of-bound accesses.

Change-Id: Ic5ea20e43cf8ca959bb7f9b60de7c0839b390add
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>

show more ...

ea7fc9d102-Apr-2020 Sandrine Bailleux <sandrine.bailleux@arm.com>

Merge changes from topic "xlat" into integration

* changes:
xlat_tables_v2: fix assembler warning of PLAT_RO_XLAT_TABLES
linker_script: move bss section to bl_common.ld.h
linker_script: replac

Merge changes from topic "xlat" into integration

* changes:
xlat_tables_v2: fix assembler warning of PLAT_RO_XLAT_TABLES
linker_script: move bss section to bl_common.ld.h
linker_script: replace common read-only data with RODATA_COMMON
linker_script: move more common code to bl_common.ld.h

show more ...

9cefb4b101-Apr-2020 Masahiro Yamada <yamada.masahiro@socionext.com>

Pass more -D options to BL*_CPPFLAGS instead of BL*_CFLAGS

Commit d5e97a1d2c79 ("Build: define IMAGE_AT_EL1 or IMAGE_AT_EL3
globally for C files") does not have commit 848a7e8ce1d9 ("Build:
introduc

Pass more -D options to BL*_CPPFLAGS instead of BL*_CFLAGS

Commit d5e97a1d2c79 ("Build: define IMAGE_AT_EL1 or IMAGE_AT_EL3
globally for C files") does not have commit 848a7e8ce1d9 ("Build:
introduce per-BL CPPFLAGS and ASFLAGS") as an ancestor because
they were pulled almost at the same time.

This is a follow-up conversion to be consistent with commit
11a3c5ee7325 ("plat: pass -D option to BL*_CPPFLAGS instead of
BL*_CFLAGS").

With this change, the command line option, IMAGE_AT_EL3, will be
passed to .S files as well.

I remove the definition in include/lib/cpus/aarch64/cpu_macros.S

Otherwise, the following error would happen.

include/lib/cpus/aarch64/cpu_macros.S:29:0: error: "IMAGE_AT_EL3" redefined [-Werror]

Change-Id: I943c8f22356483c2ae3c57b515c69243a8fa6889
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

show more ...

268131c226-Mar-2020 Masahiro Yamada <yamada.masahiro@socionext.com>

xlat_tables_v2: fix assembler warning of PLAT_RO_XLAT_TABLES

If PLAT_RO_XLAT_TABLES is defined, the base xlat table goes to the
.rodata section instead of .bss section.

This causes a warning like:

xlat_tables_v2: fix assembler warning of PLAT_RO_XLAT_TABLES

If PLAT_RO_XLAT_TABLES is defined, the base xlat table goes to the
.rodata section instead of .bss section.

This causes a warning like:

/tmp/ccswitLr.s: Assembler messages:
/tmp/ccswitLr.s:297: Warning: setting incorrect section attributes for .rodata

It is practically no problem, but I want to keep the build log clean.

Put the base table into the "base_xlat_table" section to suppress the
assembler warnings.

The linker script determines its final destination; rodata section if
PLAT_RO_XLAT_TABLES=1, or bss section otherwise. So, the result is the
same.

Change-Id: Ic85d1d2dddd9b5339289fc2378cbcb21dd7db02e
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

show more ...

a7739bc726-Mar-2020 Masahiro Yamada <yamada.masahiro@socionext.com>

linker_script: move bss section to bl_common.ld.h

Move the bss section to the common header. This adds BAKERY_LOCK_NORMAL
and PMF_TIMESTAMP, which previously existed only in BL31. This is not
a big

linker_script: move bss section to bl_common.ld.h

Move the bss section to the common header. This adds BAKERY_LOCK_NORMAL
and PMF_TIMESTAMP, which previously existed only in BL31. This is not
a big deal because unused data should not be compiled in the first
place. I believe this should be controlled by BL*_SOURCES in Makefiles,
not by linker scripts.

I investigated BL1, BL2, BL2U, BL31 for plat=fvp, and BL2-AT-EL3,
BL31, BL31 for plat=uniphier. I did not see any more unexpected
code addition.

The bss section has bigger alignment. I added BSS_ALIGN for this.

Currently, SORT_BY_ALIGNMENT() is missing in sp_min.ld.S, and with this
change, the BSS symbols in SP_MIN will be sorted by the alignment.
This is not a big deal (or, even better in terms of the image size).

Change-Id: I680ee61f84067a559bac0757f9d03e73119beb33
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

show more ...

0a0a7a9a26-Mar-2020 Masahiro Yamada <yamada.masahiro@socionext.com>

linker_script: replace common read-only data with RODATA_COMMON

The common section data are repeated in many linker scripts (often
twice in each script to support SEPARATE_CODE_AND_RODATA). When you

linker_script: replace common read-only data with RODATA_COMMON

The common section data are repeated in many linker scripts (often
twice in each script to support SEPARATE_CODE_AND_RODATA). When you
add a new read-only data section, you end up with touching lots of
places.

After this commit, you will only need to touch bl_common.ld.h when
you add a new section to RODATA_COMMON.

Replace a series of RO section with RODATA_COMMON, which contains
6 sections, some of which did not exist before.

This is not a big deal because unneeded data should not be compiled
in the first place. I believe this should be controlled by BL*_SOURCES
in Makefiles, not by linker scripts.

When I was working on this commit, the BL1 image size increased
due to the fconf_populator. Commit c452ba159c14 ("fconf: exclude
fconf_dyn_cfg_getter.c from BL1_SOURCES") fixed this issue.

I investigated BL1, BL2, BL2U, BL31 for plat=fvp, and BL2-AT-EL3,
BL31, BL31 for plat=uniphier. I did not see any more unexpected
code addition.

Change-Id: I5d14d60dbe3c821765bce3ae538968ef266f1460
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

show more ...

1...<<81828384858687888990>>...159