mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
44726096cf
It turns out that there are at least 2 other SoCs which have basically the same memory map, similar clocks and other features as H6. It's very likely that we'll see more such SoCs in the future. In order to ease porting to new SoCs and lower ifdef clutter, introduce common symbol for them. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
26 lines
477 B
C
26 lines
477 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration settings for the Allwinner A64 (sun50i) CPU
|
|
*/
|
|
|
|
#ifndef __CONFIG_H
|
|
#define __CONFIG_H
|
|
|
|
/*
|
|
* A64 specific configuration
|
|
*/
|
|
|
|
#ifndef CONFIG_SUN50I_GEN_H6
|
|
#define GICD_BASE 0x1c81000
|
|
#define GICC_BASE 0x1c82000
|
|
#else
|
|
#define GICD_BASE 0x3021000
|
|
#define GICC_BASE 0x3022000
|
|
#endif
|
|
|
|
/*
|
|
* Include common sunxi configuration where most the settings are
|
|
*/
|
|
#include <configs/sunxi-common.h>
|
|
|
|
#endif /* __CONFIG_H */
|