From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Thompson Date: Wed, 31 Aug 2011 09:56:42 +0100 Subject: [U-Boot] [PATCH 3/5] da830: add support for NAND boot mode In-Reply-To: <1314706560-12773-4-git-send-email-nagabhushana.netagunte@ti.com> References: <1314706560-12773-1-git-send-email-nagabhushana.netagunte@ti.com> <1314706560-12773-4-git-send-email-nagabhushana.netagunte@ti.com> Message-ID: <4E5DF74A.7060806@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 30/08/11 13:15, nagabhushana.netagunte at ti.com wrote: > From: Nagabhushana Netagunte > > Add support for enabling NAND boot mode in configuration file and > add correspanding pinmux support, nand initialize function in board file. > Since the environment variable are stored in first block My environment variables are not stored in the first block. Where does your assumption stem from? If I use this patch on my boards here, they will all "loose" their environment. By moving env you are creating a compatibility issue for boards that already use NAND. > CONFIG_ENV_OFFSET is set to offset 0 from (512 << 10) and also the > size required for environment variables not more than 10KB > the CONFIG_ENV_SIZE is set to 10KB from (512 << 10). >