mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
807d94258c
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>
18 lines
372 B
C
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 */
|