u-boot/arch/arm/include/asm/arch-sunxi/prcm.h
Jernej Skrabec 807d94258c sunxi: prcm: Add memory map for H6 like SoCs
There was no need to have prcm definitions for H6 and similar SoCs till
now. However, support R_I2C will be needed soon in SPL.

Move old definitions to prcm_sun6i.h and add new ones in prcm_sun50i.h.
One of those files will be selected in common prcm.h based on defined
macros.

This commit doesn't do any functional change.

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>
2021-01-25 21:52:00 +00:00

18 lines
372 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2020 Jernej Skrabec <jernej.skrabec@siol.net>
*
* Sunxi platform prcm register definition.
*/
#ifndef _SUNXI_PRCM_H
#define _SUNXI_PRCM_H
/* prcm regs definition */
#if defined(CONFIG_SUN50I_GEN_H6)
#include <asm/arch/prcm_sun50i.h>
#else
#include <asm/arch/prcm_sun6i.h>
#endif
#endif /* _SUNXI_PRCM_H */