mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
8201188cf9
The R40 seems to have a variant of the memory controller found in the H3 and A64 SoCs. Adapt the code for use on the R40. The changes are based on released DRAM code and comparing register dumps from boot0. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
21 lines
383 B
C
21 lines
383 B
C
/*
|
|
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _SUNXI_CPU_H
|
|
#define _SUNXI_CPU_H
|
|
|
|
#if defined(CONFIG_MACH_SUN9I)
|
|
#include <asm/arch/cpu_sun9i.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 */
|