[PATCH v5 0/3] Add Renesas SoC identification driver support
Biju Das
biju.das.jz at bp.renesas.com
Sat Jan 16 17:40:45 CET 2021
This patch series aims to support Renesas SoC identification driver.
Also added soc_id attribute support in UCLASS_SOC which is required for Renesas SoC
identification driver similar to mainline linux.
Patch 3 in this series depend on [1]
[1] http://u-boot.10912.n7.nabble.com/PATCH-v5-dm-core-Add-of-match-node-helper-function-tt437600.html
v4->v5
* Rebased to master and changed "priv_auto_alloc_size" to "priv_auto"
* Improved the spl image size, when Renesas SoC identification driver is disabled
with v5 on Koelsch board:-
$ ls -al spl/u-boot-spl.bin
-rwxr-xr-x 1 biju biju 13916 Jan 16 14:19 spl/u-boot-spl.bin
$ size spl/u-boot-spl
text data bss dec hex filename
13785 128 1100 15013 3aa5 spl/u-boot-spl
with v4 on Koelsch board:
$ ls -al spl/u-boot-spl.bin
-rwxr-xr-x 1 biju biju 13996 Jan 16 14:16 spl/u-boot-spl.bin
$ size spl/u-boot-spl
text data bss dec hex filename
13789 204 1100 15093 3af5 spl/u-boot-spl
v3->v4
* Added Simon's Rb tag
* Updated patch description for SoC identification using soc_id
* Updated probe function of Renesas SoC identification driver.
Biju Das (3):
soc: Fix comments from SOC to SoC
dm: soc: Add SoC id for attribute matching
dm: soc: SoC identification driver for Renesas SoC's
drivers/soc/Kconfig | 7 ++
drivers/soc/Makefile | 7 ++
drivers/soc/soc-uclass.c | 19 ++-
drivers/soc/soc_renesas.c | 244 ++++++++++++++++++++++++++++++++++++++
drivers/soc/soc_sandbox.c | 8 ++
include/soc.h | 39 +++++-
test/dm/soc.c | 8 ++
7 files changed, 325 insertions(+), 7 deletions(-)
create mode 100644 drivers/soc/soc_renesas.c
--
2.17.1
More information about the U-Boot
mailing list