]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: Introduce CONFIG_XIP to support booting from flash
authorRick Chen <rick@andestech.com>
Tue, 30 Apr 2019 05:49:33 +0000 (13:49 +0800)
committerAndes <uboot@andestech.com>
Thu, 9 May 2019 08:46:46 +0000 (16:46 +0800)
commitfc78f80ec8d40b0ba5004c50ef1cd1e012294c7a
treedfb6c4288f22c176838ace87fed0949dd747a7dc
parentfb229613eebe574831cd22abae0d2feb1944fda1
riscv: Introduce CONFIG_XIP to support booting from flash

When U-Boot boots from flash, during the boot process,
hart_lottery and available_harts_lock variable addresses
point to flash which is not writable. This causes boot
failures on AE350. Introduce a config option CONFIG_XIP
to support such configuration.

Signed-off-by: Rick Chen <rick@andestech.com>
Cc: Greentime Hu <greentime@andestech.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/Kconfig
arch/riscv/cpu/cpu.c
arch/riscv/cpu/start.S
arch/riscv/include/asm/global_data.h
arch/riscv/lib/asm-offsets.c
arch/riscv/lib/smp.c