summaryrefslogtreecommitdiff
path: root/board/warp7/Kconfig
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2018-04-24 18:46:41 +0100
committerStefano Babic <sbabic@denx.de>2018-04-26 08:53:22 +0200
commit95b649f27d7e399825782ab51688a4f2cb24c47f (patch)
tree71d7244547534b393f36965a1867cdf96ec40b09 /board/warp7/Kconfig
parent56eca404e1dc7aed65fb5268826eba1c548434ae (diff)
warp7: Add Kconfig WARP7_ROOT_PART
Adding CONFIG_WARP7_ROOT_PART allows a defconfig to specify which partition is use as the root partition on WaRP7, this is a desirable change in order to support a different partitioning schemes. The default is the current partition #2. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/warp7/Kconfig')
-rw-r--r--board/warp7/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/warp7/Kconfig b/board/warp7/Kconfig
index 00df19d47f..c089bca2ba 100644
--- a/board/warp7/Kconfig
+++ b/board/warp7/Kconfig
@@ -6,6 +6,14 @@ config SYS_BOARD
config SYS_CONFIG_NAME
default "warp7"
+config WARP7_ROOT_PART
+ int "Partition number to use for root filesystem"
+ default 2
+ help
+ The partition number to use for root filesystem this is the
+ partition that is typically specified with root=/dev/sdaX or
+ which gets converted into a root=PARTUUID=some_uuid.
+
config SYS_FDT_ADDR
hex "FDT load address"
default 0x83000000