u-boot-brain/arch/arm
AKASHI Takahiro 70a64a070e arm: qemu: fix failure in flash initialization if booting from TF-A
If U-Boot is loaded and started from TF-A (you need to change
SYS_TEXT_BASE to 0x60000000), it will hang up at flash initialization.

If secure mode is off (default, or -machine virt,secure=off) at qemu,
it will provide dtb with two flash memory banks:
	flash@0 {
		bank-width = <0x4>;
		reg = <0x0 0x0 0x0 0x4000000 0x0 0x4000000 0x0 0x4000000>;
		compatible = "cfi-flash";
	};
If secure mode is on, on the other hand, qemu provides dtb with 1 bank:
	flash@0 {
		bank-width = <0x4>;
		reg = <0x0 0x4000000 0x0 0x4000000>;
		compatible = "cfi-flash";
	};

As a result, flash_init()/flash_get_size() will eventually fail.
With this patch applied, relevant CONFIG values are modified.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-07-18 11:31:28 -04:00
..
cpu arm: move CONFIG_TFABOOT to generic Kconfig 2019-07-18 11:31:27 -04:00
dts Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi 2019-07-16 11:19:31 -04:00
include ARM: correct detection of thumb mode 2019-07-18 11:31:24 -04:00
lib arm64: add an option to switch visibility of CONFIG_SYS_INIT_SP_BSS_OFFSET 2019-07-10 22:37:23 +09:00
mach-aspeed
mach-at91
mach-bcm283x
mach-bcmstb
mach-davinci
mach-exynos
mach-highbank
mach-imx configs: Rename CONFIG_IMAGE_FORMAT_LEGACY to CONFIG_LEGACY_IMAGE_FORMAT 2019-07-11 14:11:18 -04:00
mach-integrator
mach-k3
mach-keystone
mach-kirkwood km: modify Kconfig file organization for KM boards 2019-07-11 10:58:03 +02:00
mach-mediatek
mach-meson
mach-mvebu arm: mvebu: set 38x and 39x AVS on lower frequency 2019-07-11 10:58:03 +02:00
mach-omap2 configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default 2019-07-13 11:11:29 -04:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default 2019-07-13 11:11:29 -04:00
mach-rockchip
mach-s5pc1xx
mach-snapdragon
mach-socfpga
mach-sti
mach-stm32
mach-stm32mp stm32mp1: bsec: Fix warnings when compiling with W=1 2019-07-12 11:50:54 +02:00
mach-sunxi sunxi: H6: Enable USB for existing boards 2019-07-16 17:13:15 +05:30
mach-tegra arm64: add an option to switch visibility of CONFIG_SYS_INIT_SP_BSS_OFFSET 2019-07-10 22:37:23 +09:00
mach-uniphier ARM: uniphier: set {kernel, ramdisk, fdt}_addr_r at boot-time 2019-07-10 22:42:09 +09:00
mach-versal
mach-versatile
mach-zynq
mach-zynqmp
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk
Kconfig arm: qemu: fix failure in flash initialization if booting from TF-A 2019-07-18 11:31:28 -04:00
Kconfig.debug
Makefile