From: Ara Avanesyan Date: Fri, 28 Jan 2005 17:02:54 +0400 Subject: [U-Boot-Users] do_run_[os]. why restart if there is a minor problem? References: <20050128044149.7D6CA1F5F6@sc8-sf-spam2.sourceforge.net> Message-ID: <005501c50539$af259e00$1000000a@araavanesyan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, in function do_run_linux if it finds ramdisk's crc is bad or it's not "u-boot-ized" (mkimage) it resets the board. and many other similar minor things. so why restart? I propose making do_run_linux return something to indicate there is no need to reboot the board and bootm checks this value and returns. if you find this may cause backwards compatibility problems, let's make it depending on some preprocessor define. I can submit a patch if you say ok. __ Thanks, Ara