mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 22:03:15 +00:00
3d5e52bd97
As the code to switch an ARM core from secure to the non-secure state needs to know the base address of the Generic Interrupt Controller (GIC), we read an Arm Cortex defined system register that is supposed to hold that base address. However there are SoCs out there that get this wrong, and this CBAR register either reads as 0 or points to the wrong address. To accommodate those systems, so far we use a macro defined in some platform specific header files, for affected boards. To simplify future extensions, replace that macro with a Kconfig variable that holds this override address, and define a default value for SoCs that need it. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Sam Edwards <CFSworks@gmail.com>
21 lines
446 B
C
21 lines
446 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2013 Samsung Electronics
|
|
*
|
|
* Configuration settings for the SAMSUNG Arndale board.
|
|
*/
|
|
|
|
#ifndef __CONFIG_ARNDALE_H
|
|
#define __CONFIG_ARNDALE_H
|
|
|
|
#define EXYNOS_FDTFILE_SETTING \
|
|
"fdtfile=exynos5250-arndale.dtb\0"
|
|
|
|
#include "exynos5250-common.h"
|
|
#include <configs/exynos5-common.h>
|
|
|
|
/* Miscellaneous configurable options */
|
|
|
|
#define CFG_SMP_PEN_ADDR 0x02020000
|
|
|
|
#endif /* __CONFIG_H */
|