From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrice CHOTARD Date: Fri, 2 Oct 2020 11:29:21 +0000 Subject: [Uboot-stm32] [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf In-Reply-To: <20200909152426.3.Ifc72cc530e2479312583fe81352d9f58b63388fe@changeid> References: <20200909152426.1.Ie383431427f46a688dc1f0932522d8f34f3192a5@changeid> <20200909152426.3.Ifc72cc530e2479312583fe81352d9f58b63388fe@changeid> Message-ID: <64207a04-c574-3d08-102e-c07f57fcccee@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Patrick On 9/9/20 3:24 PM, Patrick Delaunay wrote: > Enable the fastboot oem command partconf, used to select the correct > eMMC boot partition, with same format than 'mmc partconf' > with parameter: boot_ack boot_partition > On stm32mp1 family: > - boot_ack = 1 (Boot Acknowledge is needed by ROM code) > - boot_partition = 1 or 2 (Boot partition 1 / 2 enabled for boot) > > So on EV1 board the expected commands to select boot partition 1 or 2 > $> fastboot oem partconf:1 1 > $> fastboot oem partconf:1 2 > > Signed-off-by: Patrick Delaunay > --- > > configs/stm32mp15_basic_defconfig | 1 + > configs/stm32mp15_trusted_defconfig | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig > index 0f705eccb2..6cbfbe5274 100644 > --- a/configs/stm32mp15_basic_defconfig > +++ b/configs/stm32mp15_basic_defconfig > @@ -86,6 +86,7 @@ CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1" > CONFIG_FASTBOOT_MMC_USER_SUPPORT=y > CONFIG_FASTBOOT_MMC_USER_NAME="mmc1" > CONFIG_FASTBOOT_CMD_OEM_FORMAT=y > +CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y > CONFIG_DM_HWSPINLOCK=y > CONFIG_HWSPINLOCK_STM32=y > CONFIG_DM_I2C=y > diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig > index 3e9cca6a1e..cc114896df 100644 > --- a/configs/stm32mp15_trusted_defconfig > +++ b/configs/stm32mp15_trusted_defconfig > @@ -66,6 +66,7 @@ CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1" > CONFIG_FASTBOOT_MMC_USER_SUPPORT=y > CONFIG_FASTBOOT_MMC_USER_NAME="mmc1" > CONFIG_FASTBOOT_CMD_OEM_FORMAT=y > +CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y > CONFIG_DM_HWSPINLOCK=y > CONFIG_HWSPINLOCK_STM32=y > CONFIG_DM_I2C=y Reviewed-by: Patrice Chotard Thanks