public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] mxc_spi: apply new mxc_spi version configs to other soc configs
Date: Fri, 17 Aug 2012 12:46:12 +0200	[thread overview]
Message-ID: <502E20F4.4060104@denx.de> (raw)
In-Reply-To: <1345012685-24932-3-git-send-email-r65388@freescale.com>

On 15/08/2012 08:38, Terry Lv wrote:
> Apply new mxc_spi version configs to other soc configs.
> 
> Signed-off-by: Terry Lv <r65388@freescale.com>
> ---
>  arch/arm/include/asm/arch-mx31/imx-regs.h |    4 ++++
>  include/configs/efikamx.h                 |    4 ++++
>  include/configs/flea3.h                   |    3 +++
>  include/configs/imx31_litekit.h           |    5 +++++
>  include/configs/imx31_phycore.h           |    4 ++++
>  include/configs/mx31ads.h                 |    4 ++++
>  include/configs/mx31pdk.h                 |    4 ++++
>  include/configs/mx35pdk.h                 |    8 +++++++-
>  include/configs/mx51evk.h                 |    4 ++++
>  include/configs/qong.h                    |    4 ++++
>  include/configs/tt01.h                    |    5 +++++
>  11 files changed, 48 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-mx31/imx-regs.h b/arch/arm/include/asm/arch-mx31/imx-regs.h
> index 0147920..4f9c78c 100644
> --- a/arch/arm/include/asm/arch-mx31/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx31/imx-regs.h
> @@ -24,6 +24,10 @@
>  #ifndef __ASM_ARCH_MX31_IMX_REGS_H
>  #define __ASM_ARCH_MX31_IMX_REGS_H
>  
> +#define CSPI1_BASE_ADDR	0x43fa4000
> +#define CSPI2_BASE_ADDR	0x50010000
> +#define CSPI3_BASE_ADDR	0x53f84000
> +
>  #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
>  #include <asm/types.h>
>  
> diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h
> index a07c8b5..1fe558d 100644
> --- a/include/configs/efikamx.h
> +++ b/include/configs/efikamx.h
> @@ -99,6 +99,10 @@
>  
>  #define CONFIG_HARD_SPI
>  #define CONFIG_MXC_SPI
> +#define CONFIG_SPI_VER_2_3	1
> +#define CONFIG_CSPI1_BASE_ADDR	CSPI1_BASE_ADDR
> +#define CONFIG_CSPI2_BASE_ADDR	CSPI2_BASE_ADDR
> +#define CONFIG_CSPI3_BASE_ADDR	CSPI3_BASE_ADDR

These are not configurable. If a board is a MX5, they are fixed from
imx-regs.h. See also my previous answer to Patch 2/3.

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2012-08-17 10:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  6:38 [U-Boot] [PATCH 1/3] mx53_smd: add spi nor support Terry Lv
2012-08-15  6:38 ` [U-Boot] [PATCH 2/3] mxc_spi: change to use version config instead of soc config in mxc_spi Terry Lv
2012-08-17 10:44   ` Stefano Babic
2012-08-15  6:38 ` [U-Boot] [PATCH 3/3] mxc_spi: apply new mxc_spi version configs to other soc configs Terry Lv
2012-08-17 10:46   ` Stefano Babic [this message]
2012-08-17 10:36 ` [U-Boot] [PATCH 1/3] mx53_smd: add spi nor support Stefano Babic

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=502E20F4.4060104@denx.de \
    --to=sbabic@denx.de \
    --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