From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/5] nios2: Enable support for fitImage
Date: Wed, 16 Dec 2015 08:13:15 +0800 [thread overview]
Message-ID: <5670AC9B.5050809@wytron.com.tw> (raw)
In-Reply-To: <201512160018.24162.marex@denx.de>
Hi Marek,
On 2015?12?16? 07:18, Marek Vasut wrote:
> On Tuesday, December 15, 2015 at 02:26:44 PM, Thomas Chou wrote:
>> Hi Marek,
>>
>> On 2015?12?15? 18:26, Marek Vasut wrote:
>>> On Tuesday, December 15, 2015 at 06:31:11 AM, Thomas Chou wrote:
>>>> Hi Marek,
>>>>
>>>> On 2015?12?15? 10:09, Marek Vasut wrote:
>>>>> The uImage format is legacy for years now, enable support for the
>>>>> fitImage format, which allows combining multiple files (kernel and
>>>>> dtb) into a single file, offers better protection of the payload
>>>>> and so on.
>>>>>
>>>>> Signed-off-by: Marek Vasut <marex@denx.de>
>>>>> Cc: Thomas Chou <thomas@wytron.com.tw>
>>>>> ---
>>>>>
>>>>> include/configs/10m50_devboard.h | 2 ++
>>>>> include/configs/3c120_devboard.h | 2 ++
>>>>> 2 files changed, 4 insertions(+)
>>>>>
>>>>> diff --git a/include/configs/10m50_devboard.h
>>>>> b/include/configs/10m50_devboard.h index 608127f..0aa79f7 100644
>>>>> --- a/include/configs/10m50_devboard.h
>>>>> +++ b/include/configs/10m50_devboard.h
>>>>> @@ -14,6 +14,8 @@
>>>>>
>>>>> */
>>>>>
>>>>> #define CONFIG_DISPLAY_CPUINFO
>>>>> #define CONFIG_DISPLAY_BOARDINFO_LATE
>>>>>
>>>>> +#define CONFIG_OF_LIBFDT
>>>>
>>>> Already defined.
>>>>
>>>>> +#define CONFIG_FIT
>>>>>
>>>>> /*
>>>>>
>>>>> * SERIAL
>>>>>
>>>>> diff --git a/include/configs/3c120_devboard.h
>>>>> b/include/configs/3c120_devboard.h index 6c9dc3f..0054d8b 100644
>>>>> --- a/include/configs/3c120_devboard.h
>>>>> +++ b/include/configs/3c120_devboard.h
>>>>> @@ -14,6 +14,8 @@
>>>>>
>>>>> */
>>>>>
>>>>> #define CONFIG_DISPLAY_CPUINFO
>>>>> #define CONFIG_DISPLAY_BOARDINFO_LATE
>>>>>
>>>>> +#define CONFIG_OF_LIBFDT
>>>>
>>>> Ditto.
>>>>
>>>>> +#define CONFIG_FIT
>>>>>
>>>>> /*
>>>>>
>>>>> * SERIAL
>>>
>>> The compiler is not complaining, is it really ?
>>
>> Hmm, it might be the compiler's problem.
>>
>> It might be better to move CONFIG_FIT to the misc (the last) config
>> section.
>
> Apparently, if the macro is defined in the same file twice and it is the same,
> CPP will not complain.
>
Please note that CONFIG_FIT is moved to Kconfig. So it should be added
to defcofnig.
Best regards,
Thomas
next prev parent reply other threads:[~2015-12-16 0:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 2:09 [U-Boot] [PATCH 1/5] nios2: Calculate the env position from monitor size Marek Vasut
2015-12-15 2:09 ` [U-Boot] [PATCH 2/5] nios2: Up the monitor size to 512kiB Marek Vasut
2015-12-15 5:25 ` Thomas Chou
2015-12-15 13:17 ` Thomas Chou
2015-12-15 2:09 ` [U-Boot] [PATCH 3/5] nios2: Preconfigure $loadaddr variable Marek Vasut
2015-12-15 5:26 ` Thomas Chou
2015-12-15 13:17 ` Thomas Chou
2015-12-15 2:09 ` [U-Boot] [PATCH 4/5] nios2: Enable support for fitImage Marek Vasut
2015-12-15 5:31 ` Thomas Chou
2015-12-15 10:26 ` Marek Vasut
2015-12-15 13:26 ` Thomas Chou
2015-12-15 23:18 ` Marek Vasut
2015-12-16 0:13 ` Thomas Chou [this message]
2015-12-15 2:09 ` [U-Boot] [PATCH 5/5] nios2: Soup up the shell experience Marek Vasut
2015-12-15 5:33 ` Thomas Chou
2015-12-15 10:27 ` Marek Vasut
2015-12-15 23:18 ` Marek Vasut
2015-12-15 5:25 ` [U-Boot] [PATCH 1/5] nios2: Calculate the env position from monitor size Thomas Chou
2015-12-15 13:16 ` Thomas Chou
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=5670AC9B.5050809@wytron.com.tw \
--to=thomas@wytron.com.tw \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox