From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/7] board:samsung:universal: add env variables describing platform
Date: Tue, 14 Jan 2014 11:09:36 +0100 [thread overview]
Message-ID: <52D50CE0.3050700@samsung.com> (raw)
In-Reply-To: <000001cf110c$356bca10$a0435e30$%wilczek@samsung.com>
Hello Piotr,
On 01/14/2014 10:37 AM, Piotr Wilczek wrote:
> Hi Przemyslaw,
>
>> -----Original Message-----
>> From: Przemyslaw Marczak [mailto:p.marczak at samsung.com]
>> Sent: Tuesday, January 14, 2014 9:48 AM
>> To: u-boot at lists.denx.de
>> Cc: Piotr Wilczek; Minkyu Kang; Kyungmin Park; Lukasz Majewski
>> Subject: Re: [PATCH 5/7] board:samsung:universal: add env variables
>> describing platform
>>
>> Hello Piotr,
>>
>> On 01/14/2014 08:59 AM, Piotr Wilczek wrote:
>>> This patch adds variables describing platform (soc, board, vendor) to
>>> default environment.
>>>
>>> Samsung's common misc imitialisation is enabled to provide additional
>>> board information in envs.
>>>
>>> Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
>>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>>> Cc: Przemyslaw Marczak <p.marczak@samsung.com>
>>> ---
>>> include/configs/s5pc210_universal.h | 5 +++++
>>> 1 file changed, 5 insertions(+)
>>>
>>> diff --git a/include/configs/s5pc210_universal.h
>>> b/include/configs/s5pc210_universal.h
>>> index d9e4c56..5e5f8e0 100644
>>> --- a/include/configs/s5pc210_universal.h
>>> +++ b/include/configs/s5pc210_universal.h
>>> @@ -124,6 +124,11 @@
>>> #define CONFIG_SYS_CONSOLE_INFO_QUIET
>>> #define CONFIG_SYS_CONSOLE_IS_IN_ENV
>>>
>>> +#define CONFIG_ENV_VARS_UBOOT_CONFIG
>>> +#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
>>> +
>>> +#define CONFIG_MISC_INIT_R
>>> +
>>
>> You depends on my patch set and here we have a conflict in universal,
>> trats and trats2. My patchset defines CONFIG_MISC_INIT_R for these
>> three boards, so you can remove it from configs.
>>
> Is the samsung/common/misc.c file reserved only for misc_init_r function?
> I think that CONFIG_MISC_INIT_R is misleading.
>
No, it isn't reserved. Misc_init_r function is for various things and is
called from board_init_r. In this function we can put any common code
for our vendor boards. So why do you think it is bad?
>>> #define CONFIG_EXTRA_ENV_SETTINGS \
>>> "updateb=" \
>>> "onenand erase 0x0 0x100000;" \
>>>
>>
>> Thank you,
>> --
>> Przemyslaw Marczak
>> Samsung R&D Institute Poland
>> Samsung Electronics
>> p.marczak at samsung.com
>
> Best regards,
> Piotr Wilczek
>
>
>
>
Thank you,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com
next prev parent reply other threads:[~2014-01-14 10:09 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-14 7:59 [U-Boot] [PATCH 0/7] arm: add runtime envs describing build configuration Piotr Wilczek
2014-01-14 7:59 ` [U-Boot] [PATCH 1/7] arm:exynos: add cpu revision Piotr Wilczek
2014-01-14 7:59 ` [U-Boot] [PATCH 2/7] arm:s5pc110: " Piotr Wilczek
2014-01-14 7:59 ` [U-Boot] [PATCH 3/7] board:samsung:common: set envs with board unified information Piotr Wilczek
2014-01-15 16:17 ` Gerhard Sittig
2014-01-16 7:06 ` Piotr Wilczek
2014-01-14 7:59 ` [U-Boot] [PATCH 4/7] board:samsung:goni: add env variables describing platform Piotr Wilczek
2014-01-14 7:59 ` [U-Boot] [PATCH 5/7] board:samsung:universal: " Piotr Wilczek
2014-01-14 8:48 ` Przemyslaw Marczak
2014-01-14 9:37 ` Piotr Wilczek
2014-01-14 10:09 ` Przemyslaw Marczak [this message]
2014-01-14 12:33 ` Piotr Wilczek
2014-01-14 13:48 ` Przemyslaw Marczak
2014-01-14 7:59 ` [U-Boot] [PATCH 6/7] board:samsung:trats: enable boot with appended and separated DTB Piotr Wilczek
2014-01-14 7:59 ` [U-Boot] [PATCH 7/7] board:samsung:trats2: " Piotr Wilczek
2014-01-22 14:54 ` [U-Boot] [PATCH V2 0/8] arm: add runtime envs describing build Piotr Wilczek
2014-01-22 14:54 ` [U-Boot] [PATCH V2 1/8] arm:exynos: add cpu revision Piotr Wilczek
2014-01-23 10:28 ` Wolfgang Denk
2014-02-03 8:18 ` Minkyu Kang
2014-01-22 14:54 ` [U-Boot] [PATCH V2 2/8] arm:s5pc110: " Piotr Wilczek
2014-01-22 14:54 ` [U-Boot] [PATCH V2 3/8] board:samsung:common: set envs with board unified information Piotr Wilczek
2014-01-22 14:54 ` [U-Boot] [PATCH V2 4/8] board:samsung:goni: add env variables describing platform Piotr Wilczek
2014-01-22 14:54 ` [U-Boot] [PATCH V2 5/8] board:samsung:universal: " Piotr Wilczek
2014-01-23 8:41 ` Przemyslaw Marczak
2014-01-22 14:54 ` [U-Boot] [PATCH V2 6/8] board:samsung:trats: " Piotr Wilczek
2014-01-22 14:54 ` [U-Boot] [PATCH V2 7/8] board:samsung:trats2: " Piotr Wilczek
2014-01-22 14:54 ` [U-Boot] [PATCH V2 8/8] board:samsung:trats/trats2: enable boot with appended and separated DTB Piotr Wilczek
2014-02-07 6:19 ` [U-Boot] [PATCH V2 0/8] arm: add runtime envs describing build Minkyu Kang
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=52D50CE0.3050700@samsung.com \
--to=p.marczak@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox