diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-28 11:21:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-28 12:06:17 +0200 |
commit | 63ea06d03e9f0ef574ff4d68b1bd3b3abff67e8e (patch) | |
tree | bbcb866b89b24e6f20662e67b4ac49760926a1e9 /arch/arm/mach-omap/include/mach/bbu.h | |
parent | c74930f7bd2189a4f2ebcd05c9803307a9e6652f (diff) | |
download | barebox-63ea06d03e9f0ef574ff4d68b1bd3b3abff67e8e.tar.gz barebox-63ea06d03e9f0ef574ff4d68b1bd3b3abff67e8e.tar.xz |
ARM: OMAP: bbu: Add an all-in-one NAND update handler
This adds a NAND update handler which automatically detects on the
filetype which stage shall be updated. It takes a single partition
for both the xload images and the barebox images. It uses a fixed
layout on this partition, so there's no need to configure anything
on the board side.
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/include/mach/bbu.h b/arch/arm/mach-omap/include/mach/bbu.h index c8b0a55acb..94d3f96bb4 100644 --- a/arch/arm/mach-omap/include/mach/bbu.h +++ b/arch/arm/mach-omap/include/mach/bbu.h @@ -23,6 +23,7 @@ int am33xx_bbu_nand_xloadslots_register_handler(const char *name, int num_devicefiles); int am33xx_bbu_nand_slots_register_handler(const char *name, char **devicefile, int num_devicefiles); +int am33xx_bbu_nand_register_handler(const char *device); #else static inline int am33xx_bbu_nand_xloadslots_register_handler(const char *name, char **devicefile, @@ -37,6 +38,11 @@ static inline int am33xx_bbu_nand_slots_register_handler(const char *name, { return 0; } + +static inline int am33xx_bbu_nand_register_handler(const char *device) +{ + return 0; +} #endif #ifdef CONFIG_BAREBOX_UPDATE_AM33XX_EMMC |