diff options
author | shravan <shravan.k@phytec.in> | 2013-08-23 14:12:48 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-26 08:59:19 +0200 |
commit | 07acd1cc6581e1db000bd1ddeb1e62855c3c7dad (patch) | |
tree | 6e9c18541dae0aa817065450819413325eec56e5 /arch/arm/mach-omap/include/mach/bbu.h | |
parent | c1b18f6f2a58a6ffab53391a7405d9af14152941 (diff) | |
download | barebox-07acd1cc6581e1db000bd1ddeb1e62855c3c7dad.tar.gz barebox-07acd1cc6581e1db000bd1ddeb1e62855c3c7dad.tar.xz |
ARM: omap: barebox update spi nor MLO handler
-Added mlo spi NOR copy handler
-This handler will convert the MLO to big endian
-Tested with pcm051 board
Signed-off-by: shravan <shravan.k@phytec.in>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-omap/include/mach/bbu.h')
-rw-r--r-- | arch/arm/mach-omap/include/mach/bbu.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/include/mach/bbu.h b/arch/arm/mach-omap/include/mach/bbu.h new file mode 100644 index 0000000000..6d4b70f803 --- /dev/null +++ b/arch/arm/mach-omap/include/mach/bbu.h @@ -0,0 +1,15 @@ +#ifndef __MACH_BBU_H +#define __MACH_BBU_H + +#include <bbu.h> + +#ifdef CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO +int am33xx_bbu_spi_nor_mlo_register_handler(const char *name, char *devicefile); +#else +int am33xx_bbu_spi_nor_mlo_register_handler(const char *name, char *devicefile) +{ + return 0; +} +#endif + +#endif |