summaryrefslogtreecommitdiff
path: root/include/configs/omap3_evm.h
diff options
context:
space:
mode:
authorDerald D. Woods <woods.technical@gmail.com>2018-01-20 21:16:13 -0600
committerTom Rini <trini@konsulko.com>2018-01-28 12:27:29 -0500
commit6e1364fe4558f248222a0223e06fd0e73e72bf0a (patch)
tree8507bf38272ba6209cf4c690b96ff5180c639d1c /include/configs/omap3_evm.h
parentaf2f44267fdc006e47166187632f63d396822bed (diff)
downloadu-boot-6e1364fe4558f248222a0223e06fd0e73e72bf0a.tar.gz
distro bootcmd: Allow board defined UBI partition and volume names
This commit allows overriding the default assumption that the boot UBI MTD partition is named 'UBI' and the UBI volume is 'boot'. A board desiring to use a legacy or alternative NAND layout can now define the following two extra environment variables: bootubipart=<some_ubi_partition_name> bootubivol=<some_ubi_volume_name> EXAMPLE: [include/configs/some_board.h] ---8<------------------------------------------------------------------- [...] #include <config_distro_defaults.h> #define MEM_LAYOUT_ENV_SETTINGS \ DEFAULT_LINUX_BOOT_ENV #define BOOT_TARGET_DEVICES(func) \ func(UBIFS, ubifs, 0) #include <config_distro_bootcmd.h> [...] #define CONFIG_EXTRA_ENV_SETTINGS \ MEM_LAYOUT_ENV_SETTINGS \ "bootubivol=rootfs\0" \ "bootubipart=rootfs\0" \ BOOTENV [...] ---8<------------------------------------------------------------------- Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Diffstat (limited to 'include/configs/omap3_evm.h')
0 files changed, 0 insertions, 0 deletions