From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 24 Sep 2020 12:54:36 +0200 Subject: [PATCH 2/2] env: add CONFIG_ENV_SECT_SIZE_AUTO In-Reply-To: <125344f4-2b69-1c7a-0f5a-6d27ab312487@prevas.dk> References: <20200506084701.8076-1-rasmus.villemoes@prevas.dk> <20200506084701.8076-3-rasmus.villemoes@prevas.dk> <125344f4-2b69-1c7a-0f5a-6d27ab312487@prevas.dk> Message-ID: <4015025.1600944876@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Rasmus, In message <125344f4-2b69-1c7a-0f5a-6d27ab312487@prevas.dk> you wrote: > > > > On our newer boards with the 4K erase size, saving the environment now > > takes 0.080 seconds instead of 0.53 seconds, which directly translates > > to that much faster boot time since our logic always causes the > > environment to be written during boot. Is this your way of implementing scheduled obsolescence? Automatically writing the environment on every boot is always a really bad idea. Never ever do that. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de When the bosses talk about improving productivity, they are never talking about themselves.