[PATCH v9 0/4] Add CPU identification support for RZ/G2 SoC's

Biju Das biju.das.jz at bp.renesas.com
Sun Jan 17 13:50:20 CET 2021


This patch series aims to add CPU identification support for RZ/G2 SoC's
and adding SDHI quirks using SoC identification driver.

This patch series depend on SoC identification driver[1]
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=224764

v9:
 * Fixed make file to use default family type function for SPL builds
   for both R-Car Gen{2,3} family's.

v8:
 * Added Jaehoon Chung's Rb tag
 * Optimized the cpu detection image size, when Renesas SoC identification
   driver is disabled for R-Car Gen2 SPL builds

with v8:
--------
  $ size spl/arch/arm/mach-rmobile/cpu_info.o
   text	   data	    bss	    dec	    hex	filename
    330	      0	      0	    330	    14a	spl/arch/arm/mach-rmobile/cpu_info.o

  $ ls -al spl/arch/arm/mach-rmobile/cpu_info.o
	-rw-r--r-- 1 biju biju 9176 Jan 16 18:10 spl/arch/arm/mach-rmobile/cpu_info.o

  $ ls -al spl/arch/arm/mach-rmobile/cpu_info-rcar.o 
	-rw-r--r-- 1 biju biju 6244 Jan 16 18:30 spl/arch/arm/mach-rmobile/cpu_info-rcar.o

  $ size spl/arch/arm/mach-rmobile/cpu_info-rcar.o 
   text	   data	    bss	    dec	    hex	filename
    120	      0	      0	    120	     78	spl/arch/arm/mach-rmobile/cpu_info-rcar.o


with v7:
--------
  $ size spl/arch/arm/mach-rmobile/cpu_info.o
   text	   data	    bss	    dec	    hex	filename
    462	      0	      0	    462	    1ce	spl/arch/arm/mach-rmobile/cpu_info.o

  $ ls -al spl/arch/arm/mach-rmobile/cpu_info.o
	-rw-r--r-- 1 biju biju 9308 Jan 16 17:28 spl/arch/arm/mach-rmobile/cpu_info.o

  $ ls -al spl/arch/arm/mach-rmobile/cpu_info-rcar.o 
	-rw-r--r-- 1 biju biju 6864 Jan 16 18:28 spl/arch/arm/mach-rmobile/cpu_info-rcar.o

  $ size spl/arch/arm/mach-rmobile/cpu_info-rcar.o 
   text	   data	    bss	    dec	    hex	filename
    154	      0	      0	    154	     9a	spl/arch/arm/mach-rmobile/cpu_info-rcar.o

v7:
 * Incorporated Jaehoon Chung's review comments.
 * Fixed the build error on Renesas ARM32 platforms.
 * Seperated driver patch series from board support patches.
v6:
 * Optimized the unique CPU identification method by using Renesas SoC identification driver.
 * quirks using soc_device_match.

Biju Das (4):
  arm: rmobile: Add RZ/G2[HMNE] SoC support
  mmc: renesas-sdhi: Add SDHI quirks for R-Car M3-W and RZ/G2M
  mmc: renesas-sdhi: Add SDHI quirks for R-Car M3-N and RZ/G2N
  mmc: renesas-sdhi: Add SDHI quirks for R-Car H3 and RZ/G2H

 arch/arm/mach-rmobile/Makefile               |   5 +
 arch/arm/mach-rmobile/cpu_info-rcar.c        |  20 ++-
 arch/arm/mach-rmobile/cpu_info.c             |  12 +-
 arch/arm/mach-rmobile/include/mach/rmobile.h |  63 ++++++--
 arch/arm/mach-rmobile/soc_family-info.c      |  21 +++
 drivers/mmc/renesas-sdhi.c                   | 160 +++++++++++++++++++
 6 files changed, 260 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm/mach-rmobile/soc_family-info.c

-- 
2.17.1



More information about the U-Boot mailing list