sysinfo: rcar3: Add Renesas R-Car Gen3 sysinfo driver
The Renesas R-Car Gen3 development kits contain board ID EEPROM.
This driver parses out the board ID and revision out of that
EEPROM and exports it e.g. for the board-info print on boot.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Sean Anderson <sean.anderson@seco.com>
Cc: Simon Glass <sjg@chromium.org>
diff --git a/drivers/sysinfo/Kconfig b/drivers/sysinfo/Kconfig
index 381dcd8..e35f7cb 100644
--- a/drivers/sysinfo/Kconfig
+++ b/drivers/sysinfo/Kconfig
@@ -17,6 +17,13 @@
help
Support querying device information for the gdsys Gazerbeam board.
+config SYSINFO_RCAR3
+ bool "Enable sysinfo driver for the Renesas R-Car Gen3"
+ depends on RCAR_GEN3 && I2C_EEPROM
+ default y if RCAR_GEN3
+ help
+ Support querying SoC version information for Renesas R-Car Gen3.
+
config SYSINFO_SANDBOX
bool "Enable sysinfo driver for the Sandbox board"
help