From: Nishanth Menon <nm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ti_armv7_common: env: Add NFS loading support to default enviroment
Date: Fri, 11 Mar 2016 14:56:11 -0600 [thread overview]
Message-ID: <56E330EB.4030606@ti.com> (raw)
In-Reply-To: <56E32AA2.1070903@ti.com>
On 03/11/2016 02:29 PM, Andrew F. Davis wrote:
> On 03/11/2016 09:38 AM, Andrew F. Davis wrote:
>> NFS loading is similar to net loading except initial files are loaded
>> over NFS instead of TFTP, this removes the need for multiple different
>> protocol servers running on the host and allows the use of a single
>> network file system containing boot related files in their usual
>> in-filesystem directory. Add defaults for this boot style here.
>>
>> Signed-off-by: Andrew F. Davis <afd@ti.com>
>> ---
>> include/configs/ti_armv7_keystone2.h | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
>> index a7206f4..1c6997a 100644
>> --- a/include/configs/ti_armv7_keystone2.h
>> +++ b/include/configs/ti_armv7_keystone2.h
>> @@ -213,6 +213,7 @@
>> #define CONFIG_CMD_SF
>> #define CONFIG_CMD_EEPROM
>> #define CONFIG_CMD_USB
>> +#define CONFIG_CMD_NFS
This should not be here.
In file included from include/configs/k2g_evm.h:36:0,
from include/config.h:5,
from include/common.h:18,
from include/ubi_uboot.h:17,
from drivers/mtd/ubi/attach.c:85:
include/configs/ti_armv7_keystone2.h:216:0: warning: "CONFIG_CMD_NFS"
redefined
#define CONFIG_CMD_NFS
Instead, it should be defined in the k2*_evm_defconfig files if the
default was 'n'... but..
cmd/Kconfig defines CMD_NFS as y.
So, all we have to do is drop the CONFIG_CMD_NFS from the header.
We can already see that when folks wanted to disable NFS
$ git grep CMD_NFS configs/|grep "is not set"
enable:
$ git grep CMD_NFS configs/|grep -v "is not set"
it might actually be nicer.. for the actual env variables to
eventually get into include/config_distro_bootcmd.h perhaps? I dont
know about that atm..
--
Regards,
Nishanth Menon
prev parent reply other threads:[~2016-03-11 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-11 15:38 [U-Boot] [PATCH] ti_armv7_common: env: Add NFS loading support to default enviroment Andrew F. Davis
2016-03-11 17:08 ` Tom Rini
2016-03-11 20:29 ` Andrew F. Davis
2016-03-11 20:56 ` Nishanth Menon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56E330EB.4030606@ti.com \
--to=nm@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.