summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/ocotp.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: mxs: move mxs_get_ocotp() into mach-mxs.cShawn Guo2013-04-011-100/+0
| | | | | | | All the users of mxs_get_ocotp() are in mach-mxs.c. Move the function into mach-mxs.c, make it a static function, and then remove ocotp.c. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* ARM: mxs: get ocotp base address from device treeShawn Guo2013-04-011-1/+8
| | | | | | | Instead of using the static definitions, get ocotp base address from device tree with mapping. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* ARM: mxs: ocotp: Fix sparse warningFabio Estevam2013-03-041-0/+1
| | | | | | | | | Include <mach/common.h> header to fix the following sparse warning: arch/arm/mach-mxs/ocotp.c:33:11: warning: symbol 'mxs_get_ocotp' was not declared. Should it be static? Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* arm: mxs: include asm/processor.h for cpu_relax()Wolfram Sang2011-06-061-0/+2
| | | | | | | | | | | | | | | I get this build error as of today: arch/arm/mach-mxs/ocotp.c: In function 'mxs_get_ocotp': arch/arm/mach-mxs/ocotp.c:54: error: implicit declaration of function 'cpu_relax' make[2]: *** [arch/arm/mach-mxs/ocotp.o] Error 1 Looks like it has been indirectly included before which broke now. Include it directly. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mxs: add ocotp read functionShawn Guo2011-01-211-0/+90
Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
OpenPOWER on IntegriCloud