From: Wolfgang Denk Date: Tue, 04 Apr 2017 12:31:37 +0200 Subject: [U-Boot] Remove global variable env_t *env_ptr ? In-Reply-To: <1491301459.28343.1.camel@infinera.com> References: <1491221969.4177.81.camel@infinera.com> <20170404105529.3740f49f@jawa> <1491301459.28343.1.camel@infinera.com> Message-ID: <20170404103137.68669120907@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 Joakim, In message <1491301459.28343.1.camel@infinera.com> you wrote: > > Use case is when CONFIG_ENV_SECT_SIZE and/or CONFIG_ENV_ADDR are non constants. That is my exact question - when would this happen? Flash sectors do now wander around in memory or change size :-) So you attempt to switch between different settings? 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 Shakespeare's Law of Prototyping: (Hamlet III, iv, 156-160) O, throw away the worser part of it, And live the purer with the other half.