mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +00:00

Rename ARCH_RMOBILE to ARCH_RENESAS because all the chips are made by Renesas, while only a subset of them is from the R-Mobile line. Use the following command to perform the rename: " $ git grep -l 'ARCH_RMOBILE' | xargs -I {} sed -i 's@ARCH_RMOBILE@ARCH_RENESAS@g' {} " Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
56 lines
1.6 KiB
C
56 lines
1.6 KiB
C
#ifndef __ASM_ARCH_RENESAS_H
|
|
#define __ASM_ARCH_RENESAS_H
|
|
|
|
#if defined(CONFIG_ARCH_RENESAS)
|
|
#if defined(CONFIG_R8A7790)
|
|
#include <asm/arch/r8a7790.h>
|
|
#elif defined(CONFIG_R8A7791)
|
|
#include <asm/arch/r8a7791.h>
|
|
#elif defined(CONFIG_R8A7792)
|
|
#include <asm/arch/r8a7792.h>
|
|
#elif defined(CONFIG_R8A7793)
|
|
#include <asm/arch/r8a7793.h>
|
|
#elif defined(CONFIG_R8A7794)
|
|
#include <asm/arch/r8a7794.h>
|
|
#elif defined(CONFIG_RCAR_GEN3)
|
|
#include <asm/arch/rcar-gen3-base.h>
|
|
#elif defined(CONFIG_RCAR_GEN4)
|
|
#include <asm/arch/rcar-gen4-base.h>
|
|
#elif defined(CONFIG_R7S72100)
|
|
#elif defined(CONFIG_RZG2L)
|
|
#include <asm/arch/rzg2l.h>
|
|
#else
|
|
#error "SOC Name not defined"
|
|
#endif
|
|
#endif /* CONFIG_ARCH_RENESAS */
|
|
|
|
/* PRR CPU IDs */
|
|
#define RENESAS_CPU_TYPE_R8A7740 0x40
|
|
#define RENESAS_CPU_TYPE_R8A7790 0x45
|
|
#define RENESAS_CPU_TYPE_R8A7791 0x47
|
|
#define RENESAS_CPU_TYPE_R8A7792 0x4A
|
|
#define RENESAS_CPU_TYPE_R8A7793 0x4B
|
|
#define RENESAS_CPU_TYPE_R8A7794 0x4C
|
|
#define RENESAS_CPU_TYPE_R8A7795 0x4F
|
|
#define RENESAS_CPU_TYPE_R8A7796 0x52
|
|
#define RENESAS_CPU_TYPE_R8A77965 0x55
|
|
#define RENESAS_CPU_TYPE_R8A77970 0x54
|
|
#define RENESAS_CPU_TYPE_R8A77980 0x56
|
|
#define RENESAS_CPU_TYPE_R8A77990 0x57
|
|
#define RENESAS_CPU_TYPE_R8A77995 0x58
|
|
#define RENESAS_CPU_TYPE_R8A779A0 0x59
|
|
#define RENESAS_CPU_TYPE_R8A779F0 0x5A
|
|
#define RENESAS_CPU_TYPE_R8A779G0 0x5C
|
|
#define RENESAS_CPU_TYPE_R8A779H0 0x5D
|
|
#define RENESAS_CPU_TYPE_R9A07G044L 0x9A070440
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#include <asm/types.h>
|
|
|
|
const u8 *rzg_get_cpu_name(void);
|
|
u32 renesas_get_cpu_type(void);
|
|
u32 renesas_get_cpu_rev_integer(void);
|
|
u32 renesas_get_cpu_rev_fraction(void);
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_ARCH_RENESAS_H */
|