From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 5/8] board:samsung:universal: add env variables describing platform
Date: Thu, 23 Jan 2014 09:41:02 +0100 [thread overview]
Message-ID: <52E0D59E.3010404@samsung.com> (raw)
In-Reply-To: <1390402477-24340-6-git-send-email-p.wilczek@samsung.com>
Hello Piotr,
On 01/22/2014 03:54 PM, Piotr Wilczek wrote:
> This patch adds variables describing platform (soc, board, vendor)
> to default environment.
>
> 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>
> ---
> Changes for V2:
> - rebased on patchset [PATCH v6 00/11] Introduce Samsung misc file and LCD menu
>
> board/samsung/universal_c210/universal.c | 3 +++
> include/configs/s5pc210_universal.h | 3 +++
> 2 files changed, 6 insertions(+)
>
> diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
> index 98b387f..5ce74b7 100644
> --- a/board/samsung/universal_c210/universal.c
> +++ b/board/samsung/universal_c210/universal.c
> @@ -516,6 +516,9 @@ int board_init(void)
> #ifdef CONFIG_MISC_INIT_R
> int misc_init_r(void)
> {
> +#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
> + set_board_info();
> +#endif
> #ifdef CONFIG_LCD_MENU
> keys_init();
> check_boot_mode();
> diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h
> index bfb044b..67921e9 100644
> --- a/include/configs/s5pc210_universal.h
> +++ b/include/configs/s5pc210_universal.h
> @@ -124,6 +124,9 @@
> #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_EXTRA_ENV_SETTINGS \
> "updateb=" \
> "onenand erase 0x0 0x100000;" \
>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com
next prev parent reply other threads:[~2014-01-23 8:41 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
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 [this message]
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=52E0D59E.3010404@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 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.