Re: [RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-06-07 Thread Sean Anderson
On 6/7/21 11:14 AM, Maxime Ripard wrote: > On Mon, May 24, 2021 at 11:43:43AM -0400, Sean Anderson wrote: >> >> >> On 5/24/21 11:28 AM, Maxime Ripard wrote: >>> On Mon, May 24, 2021 at 10:37:31AM -0400, Sean Anderson wrote: On 5/23/21 8:36 PM, Andre Przywara wrote: > At the

Re: [RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-06-07 Thread Maxime Ripard
On Mon, May 24, 2021 at 11:43:43AM -0400, Sean Anderson wrote: > > > On 5/24/21 11:28 AM, Maxime Ripard wrote: > > On Mon, May 24, 2021 at 10:37:31AM -0400, Sean Anderson wrote: > >> > >> > >> On 5/23/21 8:36 PM, Andre Przywara wrote: > >>> At the moment the fastboot code relies on the Kconfig va

Re: [RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-05-24 Thread Sean Anderson
On 5/24/21 11:28 AM, Maxime Ripard wrote: > On Mon, May 24, 2021 at 10:37:31AM -0400, Sean Anderson wrote: >> >> >> On 5/23/21 8:36 PM, Andre Przywara wrote: >>> At the moment the fastboot code relies on the Kconfig variable >>> CONFIG_FASTBOOT_FLASH_MMC_DEV to point to the MMC device to use fo

Re: [RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-05-24 Thread Sean Anderson
On 5/24/21 11:15 AM, Andre Przywara wrote: > On Mon, 24 May 2021 10:37:31 -0400 > Sean Anderson wrote: > >> On 5/23/21 8:36 PM, Andre Przywara wrote: >> > At the moment the fastboot code relies on the Kconfig variable >> > CONFIG_FASTBOOT_FLASH_MMC_DEV to point to the MMC device to use for

Re: [RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-05-24 Thread Maxime Ripard
On Mon, May 24, 2021 at 10:37:31AM -0400, Sean Anderson wrote: > > > On 5/23/21 8:36 PM, Andre Przywara wrote: > > At the moment the fastboot code relies on the Kconfig variable > > CONFIG_FASTBOOT_FLASH_MMC_DEV to point to the MMC device to use for the > > flash command. This value needs to be t

Re: [RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-05-24 Thread Andre Przywara
On Mon, 24 May 2021 10:37:31 -0400 Sean Anderson wrote: > On 5/23/21 8:36 PM, Andre Przywara wrote: > > At the moment the fastboot code relies on the Kconfig variable > > CONFIG_FASTBOOT_FLASH_MMC_DEV to point to the MMC device to use for the > > flash command. This value needs to be the *U-Bo

Re: [RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-05-24 Thread Sean Anderson
On 5/23/21 8:36 PM, Andre Przywara wrote: > At the moment the fastboot code relies on the Kconfig variable > CONFIG_FASTBOOT_FLASH_MMC_DEV to point to the MMC device to use for the > flash command. This value needs to be the *U-Boot device number*, which > is picked by the U-Boot device model a

[RFC PATCH 0/3] fastboot: sunxi: Determine MMC device at runtime

2021-05-23 Thread Andre Przywara
At the moment the fastboot code relies on the Kconfig variable CONFIG_FASTBOOT_FLASH_MMC_DEV to point to the MMC device to use for the flash command. This value needs to be the *U-Boot device number*, which is picked by the U-Boot device model at runtime. This makes it quite tricky and fragile to f