On 11/27/20 3:52 PM, Biju Das wrote:

Sorry for the late reply.

[...]

diff --git a/arch/arm/mach-rmobile/cpu_info-rcar.c 
b/arch/arm/mach-rmobile/cpu_info-rcar.c
index 5bde24ae0e..08345503a2 100644
--- a/arch/arm/mach-rmobile/cpu_info-rcar.c
+++ b/arch/arm/mach-rmobile/cpu_info-rcar.c
@@ -6,6 +6,7 @@
   */
  #include <common.h>
  #include <asm/io.h>
+#include <soc.h>
#define PRR_MASK 0x7fff
  #define R8A7796_REV_1_0               0x5200
@@ -21,9 +22,28 @@ static u32 rmobile_get_prr(void)
  #endif
  }
+static bool is_rzg_family(void)
+{
+       bool rzg_family_type = false;
+       struct udevice *soc;
+       char name[16];
+
+       if (!(soc_get(&soc) || soc_get_family(soc, name, 16))) {

This depends on some other patchset, right ?
I will wait for that to land and then apply this one.

Did you check that this is still OK on RCar Gen2 with its size-limited SPL?

Also, do you have a git tree with all the remaining patches applied on top? It would be useful to get an overview what's still pending for mainline.

Thanks

+               if (!strcmp(name, "RZ/G2"))
+                       rzg_family_type = true;
+       }

[...]

Reply via email to