ARM: i.MX: IIM: Add functions to access fuses field wise
Accessing the IIM registers is cumbersome. The fuses are documented with
different register strides and there is no header file available, so the
different fields have to be read in the datasheets and translated into
the barebox format over and over again. This patch adds a header file
which has defines for the various fuses (for i.MX25 only so far, but
others can be added later) along with C functions to read/write the
fields.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e9add3a commit 11e32a5a46c5910a1ad133fb5a8b9e44d8d284d3
@Sascha Hauer Sascha Hauer authored on 13 May 2016
Showing 3 changed files
View
arch/arm/mach-imx/iim.c
View
arch/arm/mach-imx/include/mach/iim.h
View
arch/arm/mach-imx/include/mach/imx25-fusemap.h 0 → 100644