[PATCH U-Boot v2019.04-aspeed-openbmc 2/3] arch: ARM: Aspeed: Add SPL eMMC partition boot support

Joel Stanley joel at jms.id.au
Wed Oct 28 15:28:25 AEDT 2020


On Mon, 12 Oct 2020 at 13:34, Eddie James <eajames at linux.ibm.com> wrote:
>
>
> On 10/8/20 10:41 PM, Joel Stanley wrote:
> > On Mon, 28 Sep 2020 at 20:28, Eddie James <eajames at linux.ibm.com> wrote:
> >> Support loading U-Boot from a specific partition on the eMMC
> >> device.
> >>
> >> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> >> ---
> >>   arch/arm/mach-aspeed/Kconfig            | 7 +++++++
> >>   arch/arm/mach-aspeed/ast2600/spl_boot.c | 9 ++++++++-
> >>   2 files changed, 15 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig
> >> index 06f14f4f55..0e3bb841d0 100644
> >> --- a/arch/arm/mach-aspeed/Kconfig
> >> +++ b/arch/arm/mach-aspeed/Kconfig
> >> @@ -90,6 +90,13 @@ config ASPEED_UBOOT_MMC_BASE
> >>            The base block number of the U-Boot
> >>            image in the eMMC device
> >>
> >> +config ASPEED_UBOOT_MMC_PART
> >> +       int "U-Boot eMMC partition"
> >> +       default 0
> >> +       help
> >> +         The partition number of the U-Boot
> >> +         image in the eMMC device
> > To clarify, it's the partition number in the user area of the eMMC
> > device? (and not the eMMC partition).
>
>
> Ah, no it is the eMMC partition, where 0 is user data, 1 is boot
> partition 0, and 2 is boot partition 1.

Can you update your patch to make that clear?


More information about the openbmc mailing list