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

Biju Das biju.das.jz at bp.renesas.com
Sun Jan 17 10:15:05 CET 2021


Hi All,

There is a typo in comments in original commit message. The correct values are as follows.

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

Regards,
Biju

> -----Original Message-----
> From: Biju Das <biju.das.jz at bp.renesas.com>
> Sent: 16 January 2021 20:37
> To: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>; Marek Vasut
> <marek.vasut+renesas at gmail.com>
> Cc: Biju Das <biju.das.jz at bp.renesas.com>; Prabhakar Mahadev Lad
> <prabhakar.mahadev-lad.rj at bp.renesas.com>; Adam Ford <aford173 at gmail.com>;
> Tom Rini <trini at konsulko.com>; Peng Fan <peng.fan at nxp.com>; u-
> boot at lists.denx.de; Chris Paterson <Chris.Paterson2 at renesas.com>
> Subject: [PATCH v8 0/4] Add CPU identification support for RZ/G2 SoC's
> 
> 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://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwor
> k.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D224764&data=04%7C0
> 1%7Cbiju.das.jz%40bp.renesas.com%7C1af7124c5afd4820c86a08d8ba5e786d%7C53d8
> 2571da1947e49cb4625a166a4a2a%7C0%7C0%7C637464262217814550%7CUnknown%7CTWFp
> bGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D
> %7C1000&sdata=bnuDAT37%2FWPaTtu226Z3NCTInny%2B3CIormHcdAwYWMo%3D&r
> eserved=0
> 
> 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
>     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
> 
> with v7:
> --------
>   $ 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
> 
> 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               |   7 +
>  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, 262 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