From: Faiz Abbas Date: Mon, 25 Feb 2019 18:25:34 +0530 Subject: [U-Boot] [PATCH] configs: dra7xx_evm: Remove ENV_IS_IN_FAT and SPL_ENV_* In-Reply-To: <5fb03ff1-a729-efed-1146-181db5080dd0@ti.com> References: <20190219145529.7796-1-faiz_abbas@ti.com> <20190219151548.GB21737@bill-the-cat> <20190221233038.GJ12379@bill-the-cat> <385bfa6a-2c5b-f6c0-f083-9b8cd7bcefe6@ti.com> <107303dd-7da7-c5f4-fbeb-daa7eab8194b@ti.com> <5fb03ff1-a729-efed-1146-181db5080dd0@ti.com> Message-ID: <4a31db6c-63f6-a477-4e43-447c8f3aa97f@ti.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 Lokesh, On 22/02/19 6:01 PM, Lokesh Vutla wrote: > > > On 22/02/19 5:46 PM, Faiz Abbas wrote: >> Lokesh, >> >> On 22/02/19 5:33 PM, Lokesh Vutla wrote: >>> >>> >>> On 22/02/19 5:21 PM, Faiz Abbas wrote: >>>> Tom, >>>> >>>> On 22/02/19 5:00 AM, Tom Rini wrote: >>>>> On Wed, Feb 20, 2019 at 01:33:50PM +0530, Faiz Abbas wrote: >>>>>> Hi Tom, >>>>>> >>>>>> On 19/02/19 8:45 PM, Tom Rini wrote: >>>>>>> On Tue, Feb 19, 2019 at 08:25:29PM +0530, Faiz Abbas wrote: >>>>>>> >>>>>>>> With U-boot supporting environment in multiple places, enable only >>>>>>>> ENV_IS_IN_EMMC in U-boot. >>>>>>>> >>>>>>>> Signed-off-by: Faiz Abbas >>>>>>> >>>>>>> Since we had previously and intentionally enabled FAT over raw MMC >>>>>>> location, why the switch back? Thanks! >>>>>>> >>>>>> >>>>>> This commit added this: >>>>>> >>>>>> commit fb69464eae1ec5aed2ee0e3a9e5533a31ad38bac >>>>>> Author: Maxime Ripard >>>>>> Date: Tue Jan 23 21:17:01 2018 +0100 >>>>>> >>>>>> env: Allow to build multiple environments in Kconfig >>>>>> >>>>>> Now that we have everything in place in the code, let's allow to build >>>>>> multiple environments backend through Kconfig. >>>>>> >>>>>> Reviewed-by: Andre Przywara >>>>>> Reviewed-by: Lukasz Majewski >>>>>> Reviewed-by: Simon Glass >>>>>> Signed-off-by: Maxime Ripard >>>>>> >>>>>> >>>>>> Looking at the the cover letter for that series >>>>>> (https://patchwork.ozlabs.org/cover/842057/) , it seems to be an attempt >>>>>> to combat the increasing size of U-boot by permanently moving the >>>>>> environment to FAT partition. >>>>> >>>>> Well, not exactly. It's about allowing more than one location to be >>>>> enabled. For example, raw eMMC when that makes sense or FAT file when >>>>> that makes sense. If Lokesh ack's the change (or passes MAINTAINER over >>>>> to someone else who acks), OK, we'll do this. But there's intentional >>>>> reasons we've put it in a file in FAT before, even on this platform. >>>>> But maybe use cases have changed, and that's fine. >>>>> >>>> >>>> Ok. The cover letter said they want to get rid of raw bootmode >>>> altogether and that is why I was concerned. Thanks for clearing it up. >>> >>> If EMMC is the already the first in the list for saving env, then we don't need >>> this change right? >>> >> >> Its not the first in list. It always tries to look for FAT first and >> then EMMC. > > okay. We have android requirements to save env in EMMC. So I am okay with this > change. Also do not drop env from SPL. Falcon boot might require it. > Ok. Removing in v2. Thanks, Faiz