mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 17:41:08 +00:00
e77b7496c6
The Allwinner H6 SoC come with a totally new memory map. Add basical definition of the new memory map into a header file, and let the cpu.h header include it in the situation of H6. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com>
22 lines
456 B
C
22 lines
456 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_MACH_SUN50I_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_H5 0x1718
|
|
#define SOCID_R40 0x1701
|
|
|
|
#endif /* _SUNXI_CPU_H */
|