[U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work.

Stephen Warren
2014-02-19T17:41:17Z

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 <dennis@ausil.us>
>>>> ---
>>>>
>>>> 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 <www.nvidia.com>
>>>> + *
>>>> + * 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.