[U-Boot] [PATCH v3 1/4] riscv: Introduce CONFIG_XIP to support booting from flash

Auer, Lukas lukas.auer at aisec.fraunhofer.de
Mon Apr 29 11:53:07 UTC 2019


On Mon, 2019-04-29 at 15:44 +0800, Andes wrote:
> From: Rick Chen <rick at andestech.com>
> 
> 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 at andestech.com>
> Cc: Greentime Hu <greentime at andestech.com>
> ---
>  arch/riscv/Kconfig                   | 7 +++++++
>  arch/riscv/cpu/cpu.c                 | 2 ++
>  arch/riscv/cpu/start.S               | 6 ++++++
>  arch/riscv/include/asm/global_data.h | 2 ++
>  arch/riscv/lib/asm-offsets.c         | 2 ++
>  arch/riscv/lib/smp.c                 | 2 ++
>  6 files changed, 21 insertions(+)
> 

Reviewed-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>


More information about the U-Boot mailing list