1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-28 21:29:21 +01:00
Files
u-boot-megous/include/configs
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
..
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-03-28 10:42:47 +03:00
2019-01-19 09:49:26 -05:00
2019-05-21 07:52:33 +02:00
2019-06-11 10:42:48 +02:00
2018-08-16 16:45:02 -04:00
2018-08-17 13:03:54 -04:00
2019-04-02 13:44:18 +02:00
2018-08-17 13:03:54 -04:00
2019-01-19 09:49:26 -05:00
2019-05-21 08:03:38 +02:00
2019-02-01 16:59:13 +01:00
2018-08-16 16:45:02 -04:00
2019-02-09 12:50:21 -07:00
2019-02-02 08:23:57 -05:00
2019-05-21 07:52:33 +02:00
2019-03-25 17:36:59 -04:00
2019-04-12 07:04:18 +02:00
2019-03-25 17:36:59 -04:00
2018-11-26 22:52:13 -05:00
2018-08-17 13:03:54 -04:00
2019-03-25 17:36:59 -04:00
2019-05-18 08:15:35 -04:00
2018-08-17 13:03:54 -04:00
2019-03-25 17:36:59 -04:00
2018-08-17 13:03:54 -04:00
2018-08-17 13:03:54 -04:00
2018-08-17 13:03:54 -04:00
2019-06-11 10:42:48 +02:00
2019-02-02 08:23:57 -05:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:53 -04:00
2019-02-20 09:01:44 -07:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-03-25 17:36:59 -04:00
2019-01-19 09:49:26 -05:00
2018-08-17 13:03:54 -04:00
2019-07-10 16:52:58 -06:00
2019-05-21 07:52:33 +02:00
2018-08-17 13:03:54 -04:00
2018-07-27 11:19:49 +09:00
2019-07-12 11:50:53 +02:00
2019-02-20 09:01:44 -07:00
2018-08-17 13:03:54 -04:00
2019-03-25 17:36:59 -04:00
2018-08-16 16:45:02 -04:00
2018-11-27 21:06:53 +05:30
2019-07-15 10:30:08 +08:00
2018-08-17 13:03:54 -04:00
2018-10-22 09:18:49 -04:00
2019-05-21 07:52:33 +02:00
2019-05-21 07:52:33 +02:00
2019-05-08 13:02:18 +08:00
2018-08-16 16:45:02 -04:00