History log of /rk3399_rockchip-uboot/arch/arm/cpu/ (Results 476 – 500 of 3557)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8f2e2f1518-Jul-2016 Fabio Estevam <fabio.estevam@nxp.com>

mx6: clock: Fix the logic for reading axi_alt_sel

According to the IMX6DQRM Reference Manual, the description
of bit 7 (axi_alt_sel) of the CCM_CBCDR register is:

"AXI alternative clock select
0 pl

mx6: clock: Fix the logic for reading axi_alt_sel

According to the IMX6DQRM Reference Manual, the description
of bit 7 (axi_alt_sel) of the CCM_CBCDR register is:

"AXI alternative clock select
0 pll2 396MHz PFD will be selected as alternative clock for AXI root clock
1 pll3 540MHz PFD will be selected as alternative clock for AXI root clock "

The current logic is inverted, so fix it to match the reference manual.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

show more ...

66669fcf19-Jul-2016 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-fsl-qoriq

Signed-off-by: Tom Rini <trini@konsulko.com>

Conflicts:
arch/arm/cpu/armv8/Makefile
arch/arm/lib/bootm-fdt.c


/rk3399_rockchip-uboot/README
armv7/virt-dt.c
armv8/Makefile
armv8/cache_v8.c
armv8/cpu-dt.c
armv8/fsl-layerscape/Makefile
armv8/fsl-layerscape/cpu.c
armv8/fsl-layerscape/fdt.c
armv8/fsl-layerscape/ppa.c
armv8/s32v234/cpu.c
armv8/sec_firmware.c
armv8/sec_firmware_asm.S
armv8/zynqmp/cpu.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-layerscape/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-layerscape/ppa.h
/rk3399_rockchip-uboot/arch/arm/include/asm/armv8/mmu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/armv8/sec_firmware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/global_data.h
/rk3399_rockchip-uboot/arch/arm/include/asm/psci.h
/rk3399_rockchip-uboot/arch/arm/lib/Makefile
/rk3399_rockchip-uboot/arch/arm/lib/bootm-fdt.c
/rk3399_rockchip-uboot/arch/arm/lib/psci-dt.c
/rk3399_rockchip-uboot/arch/arm/mach-exynos/mmu-arm64.c
/rk3399_rockchip-uboot/arch/arm/mach-meson/board.c
/rk3399_rockchip-uboot/arch/arm/mach-snapdragon/sysmap-apq8016.c
/rk3399_rockchip-uboot/arch/arm/mach-sunxi/board.c
/rk3399_rockchip-uboot/arch/arm/mach-tegra/arm64-mmu.c
/rk3399_rockchip-uboot/arch/arm/mach-uniphier/arm64/mem_map.c
/rk3399_rockchip-uboot/board/armltd/vexpress64/vexpress64.c
/rk3399_rockchip-uboot/board/cavium/thunderx/thunderx.c
/rk3399_rockchip-uboot/board/freescale/ls1043aqds/ddr.c
/rk3399_rockchip-uboot/board/freescale/ls1043ardb/ddr.c
/rk3399_rockchip-uboot/board/freescale/ls1043ardb/ls1043ardb.c
/rk3399_rockchip-uboot/board/freescale/ls2080a/ddr.c
/rk3399_rockchip-uboot/board/freescale/ls2080aqds/ddr.c
/rk3399_rockchip-uboot/board/freescale/ls2080ardb/ddr.c
/rk3399_rockchip-uboot/board/hisilicon/hikey/hikey.c
/rk3399_rockchip-uboot/board/raspberrypi/rpi/rpi.c
/rk3399_rockchip-uboot/cmd/bdinfo.c
/rk3399_rockchip-uboot/common/board_f.c
/rk3399_rockchip-uboot/include/asm-generic/global_data.h
/rk3399_rockchip-uboot/include/configs/ls1043ardb.h
/rk3399_rockchip-uboot/test/py/tests/test_ofplatdata.py
45684ae328-Jun-2016 Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

ARMv8/PSCI: Fixup the device tree for PSCI

Set the enable-method in the cpu node to PSCI, and create device
node for PSCI, when PSCI was enabled.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

ARMv8/PSCI: Fixup the device tree for PSCI

Set the enable-method in the cpu node to PSCI, and create device
node for PSCI, when PSCI was enabled.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>

show more ...

032d5bb428-Jun-2016 Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

ARMv8/Layerscape: switch SMP method accordingly

If the PSCI and PPA is ready, skip the fixup for spin-table and
waking secondary cores. Otherwise, change SMP method to spin-table,
and the device nod

ARMv8/Layerscape: switch SMP method accordingly

If the PSCI and PPA is ready, skip the fixup for spin-table and
waking secondary cores. Otherwise, change SMP method to spin-table,
and the device node of PSCI will be removed.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>

show more ...

f1dd4cad28-Jun-2016 Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

ARMv8/layerscape: Add FSL PPA support

The FSL Primary Protected Application (PPA) is a software component
loaded during boot which runs in TrustZone and remains resident
after boot.

Use the secure

ARMv8/layerscape: Add FSL PPA support

The FSL Primary Protected Application (PPA) is a software component
loaded during boot which runs in TrustZone and remains resident
after boot.

Use the secure firmware framework to integrate FSL PPA into U-Boot.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>

show more ...

b45db3b528-Jun-2016 Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

ARMv8: add the secure monitor firmware framework

This framework is introduced for ARMv8 secure monitor mode firmware.
The main functions of the framework are, on EL3, verify the firmware,
load it to

ARMv8: add the secure monitor firmware framework

This framework is introduced for ARMv8 secure monitor mode firmware.
The main functions of the framework are, on EL3, verify the firmware,
load it to the secure memory and jump into it, and while it returned
to U-Boot, do some necessary setups at the 'target exception level'
that is determined by the respective secure firmware.

So far, the framework support only FIT format image, and need to define
the name of which config node should be used in 'configurations' and
the name of property for the raw secure firmware image in that config.
The FIT image should be stored in Byte accessing memory, such as NOR
Flash, or else it should be copied to main memory to use this framework.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>

show more ...

85cdf38e28-Jun-2016 Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

This function assume that the d-cache and MMU has been enabled earlier,
so it just created MMU table in main memory. But the ass

armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

This function assume that the d-cache and MMU has been enabled earlier,
so it just created MMU table in main memory. But the assumption is not
always correct, for example, the early setup is done in EL3, while
enable_caches() is called when the PE has turned into another EL.

Define the function mmu_setup() for fsl-layerscape to cover the weak
one.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>

show more ...

5ad5823d24-Jun-2016 York Sun <york.sun@nxp.com>

armv8: layerscape: Convert to use common MMU framework

Drop platform code to create static MMU tables. Use common framework
to create MMU tables on the run. Tested on LS2080ARDB with secure and
non-

armv8: layerscape: Convert to use common MMU framework

Drop platform code to create static MMU tables. Use common framework
to create MMU tables on the run. Tested on LS2080ARDB with secure and
non-secure ram scenarios.

Signed-off-by: York Sun <york.sun@nxp.com>

show more ...

be1a17ff13-Jul-2016 Stefan Agner <stefan.agner@toradex.com>

mx7_common: use Kconfig for ARMv7 non-secure mode

Use existing Kconfig symbols to let the user configure whether to
build a U-Boot with non-secure mode support or not. This also allows
to enable vir

mx7_common: use Kconfig for ARMv7 non-secure mode

Use existing Kconfig symbols to let the user configure whether to
build a U-Boot with non-secure mode support or not. This also allows
to enable virtualization extension easily.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>

show more ...

ec7fde3e13-Jul-2016 Stefan Agner <stefan.agner@toradex.com>

mx7: set soc environment according to exact SoC type

This can be useful if the same U-Boot binary is used for boards
available with a i.MX 7Solo and i.MX 7Dual.

Signed-off-by: Stefan Agner <stefan.

mx7: set soc environment according to exact SoC type

This can be useful if the same U-Boot binary is used for boards
available with a i.MX 7Solo and i.MX 7Dual.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...

62a3b7dd15-Jul-2016 Robert P. J. Day <rpjday@crashcourse.ca>

Various, unrelated tree-wide typo fixes.

Fix a number of typos, including:

* "compatble" -> "compatible"
* "eanbeld" -> "enabled"
* "envrionment" -> "environment"
* "FTD" ->

Various, unrelated tree-wide typo fixes.

Fix a number of typos, including:

* "compatble" -> "compatible"
* "eanbeld" -> "enabled"
* "envrionment" -> "environment"
* "FTD" -> "FDT" (for "flattened device tree")
* "ommitted" -> "omitted"
* "overriden" -> "overridden"
* "partiton" -> "partition"
* "propogate" -> "propagate"
* "resourse" -> "resource"
* "rest in piece" -> "rest in peace"
* "suport" -> "support"
* "varible" -> "variable"

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

show more ...


/rk3399_rockchip-uboot/README
armv7/Kconfig
armv8/fsl-layerscape/doc/README.lsch3
armv8/zynqmp/mp.c
/rk3399_rockchip-uboot/arch/arm/imx-common/ddrmc-vf610.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/board.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/clock.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/display.h
/rk3399_rockchip-uboot/arch/arm/mach-tegra/clock.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/mp.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/ppc4xx/start.S
/rk3399_rockchip-uboot/arch/powerpc/include/asm/status_led.h
/rk3399_rockchip-uboot/board/keymile/common/common.c
/rk3399_rockchip-uboot/board/keymile/kmp204x/ddr.c
/rk3399_rockchip-uboot/cmd/i2c.c
/rk3399_rockchip-uboot/common/env_common.c
/rk3399_rockchip-uboot/doc/README.gpt
/rk3399_rockchip-uboot/doc/README.scrapyard
/rk3399_rockchip-uboot/doc/feature-removal-schedule.txt
/rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/sys.c
/rk3399_rockchip-uboot/drivers/crypto/fsl/desc.h
/rk3399_rockchip-uboot/drivers/ddr/fsl/ctrl_regs.c
/rk3399_rockchip-uboot/drivers/fpga/fpga.c
/rk3399_rockchip-uboot/drivers/mmc/Kconfig
/rk3399_rockchip-uboot/drivers/mtd/nand/mxs_nand.c
/rk3399_rockchip-uboot/drivers/mtd/nand/tegra_nand.c
/rk3399_rockchip-uboot/drivers/usb/musb-new/musb_dsps.c
/rk3399_rockchip-uboot/drivers/video/tegra.c
/rk3399_rockchip-uboot/include/configs/arndale.h
/rk3399_rockchip-uboot/include/configs/bcm_ep_board.h
/rk3399_rockchip-uboot/include/configs/mxs.h
/rk3399_rockchip-uboot/include/configs/v38b.h
/rk3399_rockchip-uboot/include/configs/vexpress_ca15_tc2.h
/rk3399_rockchip-uboot/include/net.h
/rk3399_rockchip-uboot/lib/hashtable.c
/rk3399_rockchip-uboot/net/eth_internal.h
/rk3399_rockchip-uboot/post/cpu/ppc4xx/ether.c
/rk3399_rockchip-uboot/tools/env/fw_env.config
cd4b0c5f24-Jun-2016 York Sun <york.sun@nxp.com>

armv8: mmu: Add support of non-identical mapping

Introduce virtual and physical addresses in the mapping table. This change
have no impact on existing boards because they all use idential mapping.

armv8: mmu: Add support of non-identical mapping

Introduce virtual and physical addresses in the mapping table. This change
have no impact on existing boards because they all use idential mapping.

Signed-off-by: York Sun <york.sun@nxp.com>

show more ...

f733d46624-Jun-2016 York Sun <york.sun@nxp.com>

armv8: mmu: split block if necessary

When page tables are created, allow later table to be created on
previous block entry. Splitting block feature is already working
with current code. This patch o

armv8: mmu: split block if necessary

When page tables are created, allow later table to be created on
previous block entry. Splitting block feature is already working
with current code. This patch only rearranges the code order and
adds one condition to call split_block().

Signed-off-by: York Sun <york.sun@nxp.com>

show more ...

252cdb4624-Jun-2016 York Sun <york.sun@nxp.com>

armv8: mmu: house cleaning

Make setup_pgtages() and get_tcr() available for platform code to
customize MMU tables.
Remove unintentional call of create_table().

Signed-off-by: York Sun <york.sun@nxp

armv8: mmu: house cleaning

Make setup_pgtages() and get_tcr() available for platform code to
customize MMU tables.
Remove unintentional call of create_table().

Signed-off-by: York Sun <york.sun@nxp.com>

show more ...

e61a753424-Jun-2016 York Sun <york.sun@nxp.com>

armv8: Move secure_ram variable out of generic global data

Secure_ram variable was put in generic global data. But only ARMv8
uses this variable. Move it to ARM specific data structure.

Signed-off-

armv8: Move secure_ram variable out of generic global data

Secure_ram variable was put in generic global data. But only ARMv8
uses this variable. Move it to ARM specific data structure.

Signed-off-by: York Sun <york.sun@nxp.com>

show more ...

1f9ef0dc15-Jul-2016 Tom Rini <trini@konsulko.com>

Merge branch 'master' of http://git.denx.de/u-boot-sunxi


/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/README
/rk3399_rockchip-uboot/arch/arm/config.mk
armv7/Makefile
armv7/ls102xa/psci.S
armv7/mx7/psci-mx7.c
armv7/mx7/psci.S
armv7/nonsec_virt.S
armv7/psci-common.c
armv7/psci.S
armv7/sunxi/Makefile
armv7/sunxi/psci.c
u-boot.lds
/rk3399_rockchip-uboot/arch/arm/dts/Makefile
/rk3399_rockchip-uboot/arch/arm/dts/exynos4210-origen.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos4210-trats.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos4210-universal_c210.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos4412-odroid.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos4412-trats2.dts
/rk3399_rockchip-uboot/arch/arm/dts/rk3288-firefly.dts
/rk3399_rockchip-uboot/arch/arm/dts/sun50i-a64-pine64-plus.dts
/rk3399_rockchip-uboot/arch/arm/dts/sun50i-a64.dtsi
/rk3399_rockchip-uboot/arch/arm/dts/sun8i-h3-orangepi-2.dts
/rk3399_rockchip-uboot/arch/arm/dts/sun8i-h3-orangepi-lite.dts
/rk3399_rockchip-uboot/arch/arm/dts/sun8i-h3-orangepi-pc.dts
/rk3399_rockchip-uboot/arch/arm/dts/sun8i-h3-orangepi-plus.dts
/rk3399_rockchip-uboot/arch/arm/dts/sun8i-h3.dtsi
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/sdram.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/clock_sun6i.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/gpio.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/mmc.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/armv7.h
/rk3399_rockchip-uboot/arch/arm/include/asm/psci.h
/rk3399_rockchip-uboot/arch/arm/include/asm/secure.h
/rk3399_rockchip-uboot/arch/arm/lib/cache.c
/rk3399_rockchip-uboot/arch/arm/lib/sections.c
/rk3399_rockchip-uboot/arch/arm/mach-exynos/include/mach/dwmmc.h
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3288-board-spl.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
/rk3399_rockchip-uboot/arch/arm/mach-sunxi/board.c
/rk3399_rockchip-uboot/arch/arm/mach-tegra/psci.S
/rk3399_rockchip-uboot/arch/sandbox/Kconfig
/rk3399_rockchip-uboot/arch/sandbox/config.mk
/rk3399_rockchip-uboot/arch/sandbox/cpu/Makefile
/rk3399_rockchip-uboot/arch/sandbox/cpu/cpu.c
/rk3399_rockchip-uboot/arch/sandbox/cpu/os.c
/rk3399_rockchip-uboot/arch/sandbox/cpu/spl.c
/rk3399_rockchip-uboot/arch/sandbox/cpu/start.c
/rk3399_rockchip-uboot/arch/sandbox/cpu/u-boot-spl.lds
/rk3399_rockchip-uboot/arch/sandbox/dts/sandbox.dts
/rk3399_rockchip-uboot/arch/sandbox/include/asm/spl.h
/rk3399_rockchip-uboot/arch/sandbox/lib/Makefile
/rk3399_rockchip-uboot/board/sandbox/MAINTAINERS
/rk3399_rockchip-uboot/board/sunxi/MAINTAINERS
/rk3399_rockchip-uboot/board/sunxi/board.c
/rk3399_rockchip-uboot/common/spl/spl.c
/rk3399_rockchip-uboot/configs/firefly-rk3288_defconfig
/rk3399_rockchip-uboot/configs/orangepi_lite_defconfig
/rk3399_rockchip-uboot/configs/orangepi_pc_defconfig
/rk3399_rockchip-uboot/configs/pine64_plus_defconfig
/rk3399_rockchip-uboot/configs/sandbox_spl_defconfig
/rk3399_rockchip-uboot/doc/driver-model/of-plat.txt
/rk3399_rockchip-uboot/drivers/clk/clk-uclass.c
/rk3399_rockchip-uboot/drivers/clk/clk_fixed_rate.c
/rk3399_rockchip-uboot/drivers/clk/clk_rk3288.c
/rk3399_rockchip-uboot/drivers/core/device-remove.c
/rk3399_rockchip-uboot/drivers/core/device.c
/rk3399_rockchip-uboot/drivers/core/lists.c
/rk3399_rockchip-uboot/drivers/core/regmap.c
/rk3399_rockchip-uboot/drivers/core/root.c
/rk3399_rockchip-uboot/drivers/core/syscon-uclass.c
/rk3399_rockchip-uboot/drivers/misc/Makefile
/rk3399_rockchip-uboot/drivers/misc/spltest_sandbox.c
/rk3399_rockchip-uboot/drivers/mmc/exynos_dw_mmc.c
/rk3399_rockchip-uboot/drivers/mmc/rockchip_dw_mmc.c
/rk3399_rockchip-uboot/drivers/mmc/sunxi_mmc.c
/rk3399_rockchip-uboot/drivers/mtd/spi/Kconfig
/rk3399_rockchip-uboot/drivers/mtd/spi/Makefile
/rk3399_rockchip-uboot/drivers/mtd/spi/sunxi_spi_spl.c
/rk3399_rockchip-uboot/drivers/net/Kconfig
/rk3399_rockchip-uboot/drivers/net/Makefile
/rk3399_rockchip-uboot/drivers/net/sun8i_emac.c
/rk3399_rockchip-uboot/drivers/pinctrl/rockchip/pinctrl_rk3288.c
/rk3399_rockchip-uboot/drivers/rtc/date.c
/rk3399_rockchip-uboot/drivers/serial/Kconfig
/rk3399_rockchip-uboot/drivers/serial/Makefile
/rk3399_rockchip-uboot/drivers/serial/ns16550.c
/rk3399_rockchip-uboot/drivers/serial/sandbox.c
/rk3399_rockchip-uboot/drivers/serial/serial-uclass.c
/rk3399_rockchip-uboot/drivers/serial/serial_rockchip.c
/rk3399_rockchip-uboot/dts/Kconfig
/rk3399_rockchip-uboot/include/clk.h
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/configs/jetson-tk1.h
/rk3399_rockchip-uboot/include/configs/ls1021aqds.h
/rk3399_rockchip-uboot/include/configs/ls1021atwr.h
/rk3399_rockchip-uboot/include/configs/sandbox.h
/rk3399_rockchip-uboot/include/configs/sandbox_spl.h
/rk3399_rockchip-uboot/include/configs/sun6i.h
/rk3399_rockchip-uboot/include/configs/sun7i.h
/rk3399_rockchip-uboot/include/configs/sunxi-common.h
/rk3399_rockchip-uboot/include/dm/device.h
/rk3399_rockchip-uboot/include/dm/platdata.h
/rk3399_rockchip-uboot/include/dt-structs.h
/rk3399_rockchip-uboot/include/os.h
/rk3399_rockchip-uboot/include/regmap.h
/rk3399_rockchip-uboot/include/syscon.h
/rk3399_rockchip-uboot/lib/Makefile
/rk3399_rockchip-uboot/lib/libfdt/libfdt.swig
/rk3399_rockchip-uboot/lib/libfdt/setup.py
/rk3399_rockchip-uboot/lib/libfdt/test_libfdt.py
/rk3399_rockchip-uboot/lib/tiny-printf.c
/rk3399_rockchip-uboot/scripts/Makefile.host
/rk3399_rockchip-uboot/scripts/Makefile.spl
/rk3399_rockchip-uboot/test/py/conftest.py
/rk3399_rockchip-uboot/test/py/tests/test_ofplatdata.py
/rk3399_rockchip-uboot/test/py/u_boot_console_base.py
/rk3399_rockchip-uboot/test/py/u_boot_console_sandbox.py
/rk3399_rockchip-uboot/test/py/u_boot_spawn.py
/rk3399_rockchip-uboot/tools/Makefile
/rk3399_rockchip-uboot/tools/dtoc/.gitignore
/rk3399_rockchip-uboot/tools/dtoc/dtoc
/rk3399_rockchip-uboot/tools/dtoc/dtoc.py
/rk3399_rockchip-uboot/tools/dtoc/fdt.py
/rk3399_rockchip-uboot/tools/dtoc/fdt_fallback.py
/rk3399_rockchip-uboot/tools/dtoc/fdt_util.py
b707396519-Jun-2016 Chen-Yu Tsai <wens@csie.org>

ARM: PSCI: Make psci_get_cpu_stack_top local to armv7/psci.S

Now that we have a secure data section for storing variables, there
should be no need for platform code to get the stack address.

Make p

ARM: PSCI: Make psci_get_cpu_stack_top local to armv7/psci.S

Now that we have a secure data section for storing variables, there
should be no need for platform code to get the stack address.

Make psci_get_cpu_stack_top a local function, as it should only be
used in armv7/psci.S and only by psci_stack_setup.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

6e6622de19-Jun-2016 Chen-Yu Tsai <wens@csie.org>

ARM: PSCI: Switch to per-CPU target PC storage in secure data section

Now that we have a secure data section and space to store per-CPU target
PC address, switch to it instead of storing the target

ARM: PSCI: Switch to per-CPU target PC storage in secure data section

Now that we have a secure data section and space to store per-CPU target
PC address, switch to it instead of storing the target PC on the stack.

Also save clobbered r4-r7 registers on the stack and restore them on
return in psci_cpu_on for Tegra, i.MX7, and LS102xA platforms.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

45c334e605-Jul-2016 Chen-Yu Tsai <wens@csie.org>

ARM: PSCI: Add helper functions to access per-CPU target PC storage

Now that we have a data section, add helper functions to save and fetch
per-CPU target PC.

Signed-off-by: Chen-Yu Tsai <wens@csie

ARM: PSCI: Add helper functions to access per-CPU target PC storage

Now that we have a data section, add helper functions to save and fetch
per-CPU target PC.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

a5aa7ff305-Jul-2016 Chen-Yu Tsai <wens@csie.org>

ARM: Add secure section for initialized data

The secure monitor may need to store global or static values within the
secure section of memory, such as target PC or CPU power status.

Signed-off-by:

ARM: Add secure section for initialized data

The secure monitor may need to store global or static values within the
secure section of memory, such as target PC or CPU power status.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

afc1f65f19-Jun-2016 Chen-Yu Tsai <wens@csie.org>

ARM: Move __secure definition to common asm/secure.h

sunxi and i.mx7 both define the __secure modifier to put functions in
the secure section. Move this to a common place.

Signed-off-by: Chen-Yu Ts

ARM: Move __secure definition to common asm/secure.h

sunxi and i.mx7 both define the __secure modifier to put functions in
the secure section. Move this to a common place.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

3eff681819-Jun-2016 Chen-Yu Tsai <wens@csie.org>

ARM: Add CONFIG_ARMV7_SECURE_MAX_SIZE and check size of secure section

As the PSCI implementation grows, we might exceed the size of the secure
memory that holds the firmware.

Add a configurable CO

ARM: Add CONFIG_ARMV7_SECURE_MAX_SIZE and check size of secure section

As the PSCI implementation grows, we might exceed the size of the secure
memory that holds the firmware.

Add a configurable CONFIG_ARMV7_SECURE_MAX_SIZE so platforms can define
how much secure memory is available. The linker then checks the size of
the whole secure section against this.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

28f9035719-Jun-2016 Chen-Yu Tsai <wens@csie.org>

ARM: PSCI: Remove unused psci_text_end symbol

psci_text_end was used to calculate the PSCI stack address following the
secure monitor text. Now that we have an explicit secure stack section,
this is

ARM: PSCI: Remove unused psci_text_end symbol

psci_text_end was used to calculate the PSCI stack address following the
secure monitor text. Now that we have an explicit secure stack section,
this is no longer used.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

8c0ef7fa19-Jun-2016 Chen-Yu Tsai <wens@csie.org>

ARM: PSCI: Allocate PSCI stack in secure stack section

Now that we have a secure stack section that guarantees usable memory,
allocate the PSCI stacks in that section.

Also add a diagram detailing

ARM: PSCI: Allocate PSCI stack in secure stack section

Now that we have a secure stack section that guarantees usable memory,
allocate the PSCI stacks in that section.

Also add a diagram detailing how the stacks are placed in memory.

Reserved space for the target PC remains unchanged. This should be
moved to global variables within a secure data section in the future.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

980d6a5519-Jun-2016 Chen-Yu Tsai <wens@csie.org>

ARM: Add an empty secure stack section

Until now we've been using memory beyond psci_text_end as stack space
for the secure monitor or PSCI implementation, even if space was not
allocated for it.

T

ARM: Add an empty secure stack section

Until now we've been using memory beyond psci_text_end as stack space
for the secure monitor or PSCI implementation, even if space was not
allocated for it.

This was partially fixed in ("ARM: allocate extra space for PSCI stack
in secure section during link phase"). However, calculating stack space
from psci_text_end in one place, while allocating the space in another
is error prone.

This patch adds a separate empty secure stack section, with space for
CONFIG_ARMV7_PSCI_NR_CPUS stacks, each 1 KB. There's also
__secure_stack_start and __secure_stack_end symbols. The linker script
handles calculating the correct VMAs for the stack section. For
platforms that relocate/copy the secure monitor before using it, the
space is not allocated in the executable, saving space.

For platforms that do not define CONFIG_ARMV7_PSCI_NR_CPUS, a whole page
of stack space for 4 CPUs is allocated, matching the previous behavior.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

show more ...

1...<<11121314151617181920>>...143