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>
1 parent 1ee6ad7 commit 5a054ae4fabf323908087865bead1df72c7d843a
@Andrey Smirnov Andrey Smirnov authored on 5 Nov 2018
Sascha Hauer committed on 6 Nov 2018
Showing 3 changed files
View
arch/arm/boards/zii-imx51-rdu1/board.c
View
arch/arm/dts/imx51-zii-rdu1.dts
View
arch/arm/mach-imx/Kconfig