From: Wolfgang Denk Date: Sun, 09 Aug 2009 22:41:53 +0200 Subject: [U-Boot] [PATCH] env: kill off default_environment_size In-Reply-To: <1248472287-19473-1-git-send-email-vapier@gentoo.org> References: <1248472287-19473-1-git-send-email-vapier@gentoo.org> Message-ID: <20090809204153.B459B833DBD2@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 Mike Frysinger, In message <1248472287-19473-1-git-send-email-vapier@gentoo.org> you wrote: > The only environment type that uses this variable is spi flash, and that is > only because it is reimplementing the common set_default_env() function. > So fix the spi flash code and kill off the default_environment_size in the > process. > > Signed-off-by: Mike Frysinger > --- > common/env_common.c | 5 ----- > common/env_dataflash.c | 1 - > common/env_flash.c | 1 - > common/env_mgdisk.c | 1 - > common/env_nand.c | 1 - > common/env_nowhere.c | 1 - > common/env_nvram.c | 1 - > common/env_sf.c | 12 +----------- > 8 files changed, 1 insertions(+), 22 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel 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 I think animal testing is a terrible idea; they get all nervous and give the wrong answers.