From: Wolfgang Denk Date: Mon, 26 Jul 2004 18:46:17 +0200 Subject: [U-Boot-Users] Protect Flash from tftpboot typos In-Reply-To: Your message of "Mon, 26 Jul 2004 17:09:46 +0200." <20040726150944.GA8491@synertronixx3> Message-ID: <20040726164622.E5F4DC109F@atlas.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 In message <20040726150944.GA8491@synertronixx3> you wrote: > > > > Well, it seems a solution for your problems has been found. > > I don't understand. If Flash driver drives VPEN Pin there also must be > defined, where it should be driven and where not. So I could allow > tftpboot in some areas and in some not also. Enable earing/programming only in the flash erase/program routines. Than any other code that really triggers a erase/program sequence will not do any harm. This has nothing to do with tftp - it does not write to flash. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Old programmers never die, they just branch to a new address.