2 * arch/arm/cpu/armv7/rmobile/cpu_info-r8a7791.c
4 * Copyright (C) 2013 Renesas Electronics Corporation
6 * SPDX-License-Identifier: GPL-2.0
11 #define PRR 0xFF000044
13 u32 rmobile_get_cpu_type(void)
19 return (u32)((product & 0x00007F00) >> 8);
22 u32 rmobile_get_cpu_rev_integer(void)
28 return (u32)((product & 0x000000F0) >> 4);