mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 03:53:31 +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>
23 lines
480 B
C
23 lines
480 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
|
*/
|
|
|
|
#ifndef _SUNXI_CPU_H
|
|
#define _SUNXI_CPU_H
|
|
|
|
#if defined(CONFIG_MACH_SUN9I)
|
|
#include <asm/arch/cpu_sun9i.h>
|
|
#elif defined(CONFIG_SUN50I_GEN_H6)
|
|
#include <asm/arch/cpu_sun50i_h6.h>
|
|
#else
|
|
#include <asm/arch/cpu_sun4i.h>
|
|
#endif
|
|
|
|
#define SOCID_A64 0x1689
|
|
#define SOCID_H3 0x1680
|
|
#define SOCID_V3S 0x1681
|
|
#define SOCID_H5 0x1718
|
|
#define SOCID_R40 0x1701
|
|
|
|
#endif /* _SUNXI_CPU_H */
|