Re: [U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-19 Thread Jagan Teki
On Tue, Jul 17, 2018 at 5:24 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 03:46:10PM +0530, Jagan Teki wrote: >> On Mon, Jul 16, 2018 at 3:17 PM, Maxime Ripard >> wrote: >> > On Mon, Jul 16, 2018 at 01:49:53PM +0530, Jagan Teki wrote: >> >> Usually eMMC is default env fat device for environ

Re: [U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-17 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 03:46:10PM +0530, Jagan Teki wrote: > On Mon, Jul 16, 2018 at 3:17 PM, Maxime Ripard > wrote: > > On Mon, Jul 16, 2018 at 01:49:53PM +0530, Jagan Teki wrote: > >> Usually eMMC is default env fat device for environment, > >> if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed e

Re: [U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 3:17 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 01:49:53PM +0530, Jagan Teki wrote: >> Usually eMMC is default env fat device for environment, >> if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc >> device as 1. but with DM_MMC it can be more possible to >> prob

Re: [U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 01:49:53PM +0530, Jagan Teki wrote: > Usually eMMC is default env fat device for environment, > if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc > device as 1. but with DM_MMC it can be more possible to > probe eMMC as device 2 since for most of the sunxi platforms > eM

[U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-16 Thread Jagan Teki
Usually eMMC is default env fat device for environment, if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc device as 1. but with DM_MMC it can be more possible to probe eMMC as device 2 since for most of the sunxi platforms eMMC is configured mmc2. So update the env default device as 2 if DM_MM