From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 19 Feb 2014 18:44:13 +0100 Subject: [U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work. In-Reply-To: <5304ECBD.6050101@wwwdotorg.org> References: <1392659798-1665-1-git-send-email-dennis@ausil.us> <201402191830.29577.marex@denx.de> <5304ECBD.6050101@wwwdotorg.org> Message-ID: <201402191844.13998.marex@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 On Wednesday, February 19, 2014 at 06:41:17 PM, Stephen Warren wrote: > On 02/19/2014 10:30 AM, Marek Vasut wrote: > > On Wednesday, February 19, 2014 at 06:28:39 PM, Stephen Warren wrote: > >> On 02/19/2014 08:54 AM, Marek Vasut wrote: > >>> On Monday, February 17, 2014 at 06:56:36 PM, Dennis Gilmore wrote: > >>>> Signed-off-by: Dennis Gilmore > >>>> --- > >>>> > >>>> include/config_distro_bootcmd.h | 172 > >>>> > >>>> ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 172 > >>>> insertions(+) > >>>> > >>>> create mode 100644 include/config_distro_bootcmd.h > >>>> > >>>> diff --git a/include/config_distro_bootcmd.h > >>>> b/include/config_distro_bootcmd.h new file mode 100644 > >>>> index 0000000..d32dc12 > >>>> --- /dev/null > >>>> +++ b/include/config_distro_bootcmd.h > >>>> @@ -0,0 +1,172 @@ > >>>> +/* > >>>> + * (C) Copyright 2014 > >>>> + * NVIDIA Corporation > >>>> + * > >>>> + * Copyright 2014 Red Hat, Inc. > >>>> + * > >>>> + * SPDX-License-Identifier: GPL-2.0+ > >>>> + */ > >>>> + > >>>> +#ifndef _CONFIG_CMD_DISTRO_BOOTCMD_H > >>>> +#define _CONFIG_CMD_DISTRO_BOOTCMD_H > >>>> + > >>>> + > >>>> +#ifdef CONFIG_CMD_MMC > >>>> +#define BOOTCMDS_MMC \ > >>> > >>> You might want to #undef all this temporary stuff so it's not > >>> propagated into the U-Boot further. > >> > >> I don't understand. What temporary stuff are you referring to? > > > > BOOTCMDS_MMC for example. This certainly doesn't need to propagate into > > the rest of the U-Boot build, does it ? > > Oh, you mean #undef it at the end of the file? That would probably work. > I thought you meant something else, although I wasn't sure what. That's what I meant, sorry. Best regards, Marek Vasut