public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v10 1/4] config: exynos5420: move non common configs to specific board files
Date: Fri, 05 Dec 2014 20:14:49 +0100	[thread overview]
Message-ID: <1417806889.32660.28.camel@collabora.co.uk> (raw)
In-Reply-To: <1417504034-25522-2-git-send-email-human.hwang@samsung.com>

On Tue, 2014-12-02 at 16:07 +0900, Hyungwon Hwang wrote:
> The media for boot and environment is a board-specific feature, not a
> processor-specific. This is same to console port number and  some
> other addresses. This patch moves the that kinds of configs to each
> board-specific files from the common config file for Exynos5420.
> 
> Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> Cc: Lukasz Majewski <l.majewski@samsung.com>
> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> Cc: Javier Martinez Canillas <javier@dowhile0.org>
> Cc: Simon Glass <sjg@chromium.org>
> ---
> Changes for v10:
> - Newly added
> 
>  include/configs/exynos5420-common.h | 18 ------------------
>  include/configs/peach-pi.h          |  6 ++++++
>  include/configs/peach-pit.h         |  6 ++++++
>  include/configs/smdk5420.h          | 11 +++++++++++
>  4 files changed, 23 insertions(+), 18 deletions(-)
> 


> diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h
> index 5c9a3c0..9742427 100644
> --- a/include/configs/smdk5420.h
> +++ b/include/configs/smdk5420.h
> @@ -11,13 +11,24 @@
>  
>  #include <configs/exynos5420-common.h>
>  
> +#define CONFIG_ENV_IS_IN_SPI_FLASH
> +#define CONFIG_SPI_FLASH
> +#define CONFIG_ENV_SPI_BASE	0x12D30000
> +#define FLASH_SIZE		(0x4 << 20)
> +#define CONFIG_ENV_OFFSET	(FLASH_SIZE - CONFIG_BL2_SIZE)
> +#define CONFIG_SPI_BOOTING

These need to be defined before including configs/exynos5420-common.h.
With this patch smdk5420_defconfig doesn't build any longer


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6170 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141205/e1977a3e/attachment.bin>

  parent reply	other threads:[~2014-12-05 19:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02  7:07 [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board Hyungwon Hwang
2014-12-02  7:07 ` [U-Boot] [PATCH v10 1/4] config: exynos5420: move non common configs to specific board files Hyungwon Hwang
2014-12-02 17:22   ` Simon Glass
2014-12-05 19:14   ` Sjoerd Simons [this message]
2014-12-02  7:07 ` [U-Boot] [PATCH v10 2/4] Odroid-XU3: Add support for Odroid-XU3 Hyungwon Hwang
2014-12-02 17:28   ` Simon Glass
2014-12-05 19:31   ` Sjoerd Simons
2014-12-09  2:04     ` Hyungwon Hwang
2014-12-02  7:07 ` [U-Boot] [PATCH v10 3/4] Odroid-XU3: Add documentation " Hyungwon Hwang
2014-12-02 17:22   ` Simon Glass
2014-12-09  2:09     ` Hyungwon Hwang
2014-12-02  7:07 ` [U-Boot] [PATCH v10 4/4] Odroid-XU3: Add entry for DTS EHCI GPIO Hyungwon Hwang
2014-12-02 17:25   ` Simon Glass
2014-12-03  9:05     ` Sjoerd Simons
2014-12-03 12:46 ` [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board Przemyslaw Marczak
2014-12-03 16:15   ` Suriyan Ramasami
2014-12-04  1:27     ` Inha Song
2014-12-04  5:05       ` Hyungwon Hwang
2014-12-03 16:28   ` Simon Glass
2014-12-03 17:08     ` Przemyslaw Marczak
2014-12-03 17:31       ` Simon Glass
2014-12-04  4:56         ` Hyungwon Hwang

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=1417806889.32660.28.camel@collabora.co.uk \
    --to=sjoerd.simons@collabora.co.uk \
    --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