From: Hannes Schmelzer Date: Tue, 29 Sep 2015 08:54:44 +0200 Subject: [U-Boot] [PATCH v2 10/13] cmd: bootvx: Always get VxWorks bootline from env In-Reply-To: <1443431530-472-11-git-send-email-bmeng.cn@gmail.com> References: <1443431530-472-1-git-send-email-bmeng.cn@gmail.com> <1443431530-472-11-git-send-email-bmeng.cn@gmail.com> Message-ID: <560A35B4.1070107@schmelzer.or.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Tested-by: Hannes Schmelzer on B&R kwb board. On 28.09.2015 11:12, Bin Meng wrote: > So far VxWorks bootline can be contructed from various environment > variables, but when these variables do not exist we get these from > corresponding config macros. This is not helpful as it requires > rebuilding U-Boot, and to make sure these config macros take effect > we should not have these environment variables. This is a little > bit complex and confusing. > > Now we change the logic to always contruct the bootline from > environments (the only single source), by adding two new variables > "bootdev" and "othbootargs", and adding some comments about network > related settings mentioning they are optional. The doc about the > bootline handling is also updated. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini > --- > > Changes in v2: None > > README | 12 +----- > common/cmd_elf.c | 121 +++++++++++++++++++++++++++++++----------------------- > include/vxworks.h | 22 ---------- > 3 files changed, 72 insertions(+), 83 deletions(-)