summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-11-05 10:32:22 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-06 09:53:05 +0100
commit5a054ae4fabf323908087865bead1df72c7d843a (patch)
tree40fb235443a1c78c986ca5aefe4ab36a9ba45c3b /arch/arm/mach-imx/Kconfig
parent1ee6ad70e2471bccd518e8dfdbc5dd7e88912e16 (diff)
downloadbarebox-5a054ae4fabf323908087865bead1df72c7d843a.tar.gz
barebox-5a054ae4fabf323908087865bead1df72c7d843a.tar.xz
ARM: rdu1: Implement RDU1 config loading
RDU1 stores various configuration parameters, including FEC's MAC address, in a configuration blob that can be located in on of three places: SPI NOR, RAVE SP EEPROM or Microwire EEPROM. This patch add an initcall to load those configuration variables from a valid source (CRC8 checked) as well as expose then as "config_<var>" environment variables. This patch also adds appropriate code to register MAC address obtained from config blob. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 63a92bd5bd..065fff7cd6 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -413,6 +413,7 @@ config MACH_ZII_RDU1
bool "ZII i.MX51 RDU1"
select ARCH_IMX51
select MACH_FREESCALE_MX51_PDK_POWER
+ select CRC8
config MACH_ZII_RDU2
bool "ZII i.MX6Q(+) RDU2"