From 56eca404e1dc7aed65fb5268826eba1c548434ae Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Tue, 24 Apr 2018 18:46:40 +0100 Subject: warp7: Make CONFIG_SYS_FDT_ADDR a define In order to sign images with the IMX code-signing-tool (CST) we need to know the load address of a given image. The best way to derive this load address is to make it into a define - so that u-boot.cfg contains the address - which we can then parse when generating the IMX CST headers. Signed-off-by: Bryan O'Donoghue Reviewed-by: Ryan Harkin Tested-by: Breno Lima Reviewed-by: Fabio Estevam --- board/warp7/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'board/warp7/Kconfig') diff --git a/board/warp7/Kconfig b/board/warp7/Kconfig index 61c33fb53e..00df19d47f 100644 --- a/board/warp7/Kconfig +++ b/board/warp7/Kconfig @@ -6,4 +6,10 @@ config SYS_BOARD config SYS_CONFIG_NAME default "warp7" +config SYS_FDT_ADDR + hex "FDT load address" + default 0x83000000 + help + The address the FDT file should be loaded to. + endif -- cgit From 95b649f27d7e399825782ab51688a4f2cb24c47f Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Tue, 24 Apr 2018 18:46:41 +0100 Subject: 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 Tested-by: Breno Lima Reviewed-by: Fabio Estevam --- board/warp7/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'board/warp7/Kconfig') 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 -- cgit