Patchwork [U-Boot,1/3] arm/km: add support for km_kirkwood_128m16 board

login
register
mail settings
Submitter Holger Brunck
Date July 4, 2013, 1:29 p.m.
Message ID <1372944549-19794-1-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/256902/
State Superseded
Delegated to: Prafulla Wadaskar
Headers show

Comments

Holger Brunck - July 4, 2013, 1:29 p.m.
From: Karlheinz Jerg <karlheinz.jerg@keymile.com>

The board is similar to the standard km_kirkwood board. From a
u-boot point of view, the only difference is an increased
256 MiB DRAM (128M16). A board based on this design is for
example the SUP12.

Signed-off-by: Karlheinz Jerg <karlheinz.jerg@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
---
 boards.cfg                    |  1 +
 include/configs/km_kirkwood.h | 10 ++++++++++
 2 files changed, 11 insertions(+)
Holger Brunck - Sept. 25, 2013, 7:19 a.m.
Hi Prafulla, hi Albert,
we are not so far away from v2013.10 I guess, so could one of you please pick of
these small patch series? Thanks!

Note for this patch there is already a v2 posted which applies cleanly again.

So there were:
http://patchwork.ozlabs.org/patch/275613/
http://patchwork.ozlabs.org/patch/256901/
http://patchwork.ozlabs.org/patch/256900/

Regards
Holger

On 07/04/2013 03:29 PM, Holger Brunck wrote:
> From: Karlheinz Jerg <karlheinz.jerg@keymile.com>
> 
> The board is similar to the standard km_kirkwood board. From a
> u-boot point of view, the only difference is an increased
> 256 MiB DRAM (128M16). A board based on this design is for
> example the SUP12.
> 
> Signed-off-by: Karlheinz Jerg <karlheinz.jerg@keymile.com>
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> ---
>  boards.cfg                    |  1 +
>  include/configs/km_kirkwood.h | 10 ++++++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/boards.cfg b/boards.cfg
> index c0c4282..2bb493f 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -165,6 +165,7 @@ lschlv2                      arm         arm926ejs   lsxl                buffalo
>  lsxhl                        arm         arm926ejs   lsxl                buffalo        kirkwood    lsxl:LSXHL
>  km_kirkwood                  arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_KIRKWOOD
>  km_kirkwood_pci              arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_KIRKWOOD_PCI
> +km_kirkwood_128m16           arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_KIRKWOOD_128M16
>  kmnusa                       arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_NUSA
>  kmsuv31                      arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_SUV31
>  mgcoge3un                    arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_MGCOGE3UN
> diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h
> index 83bb7aa..2b5f389 100644
> --- a/include/configs/km_kirkwood.h
> +++ b/include/configs/km_kirkwood.h
> @@ -51,6 +51,16 @@
>  #define KM_IVM_BUS			"pca9544a:70:9"	/* I2C2 (Mux-Port 1)*/
>  #define CONFIG_KM_FPGA_CONFIG
>  
> +/* KM_KIRKWOOD_128M16 */
> +#elif defined(CONFIG_KM_KIRKWOOD_128M16)
> +#define CONFIG_IDENT_STRING		"\nKeymile Kirkwood 128M16"
> +#define CONFIG_HOSTNAME			km_kirkwood_128m16
> +#undef CONFIG_SYS_KWD_CONFIG
> +#define CONFIG_SYS_KWD_CONFIG \
> +		$(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
> +#define CONFIG_KM_DISABLE_PCIE
> +#define KM_IVM_BUS			"pca9544a:70:9"	/* I2C2 (Mux-Port 1)*/
> +
>  /* KM_NUSA */
>  #elif defined(CONFIG_KM_NUSA)
>  #define KM_IVM_BUS			"pca9547:70:9"	/* I2C2 (Mux-Port 1)*/
>
Prafulla Wadaskar - Sept. 25, 2013, 11:18 a.m.
> -----Original Message-----
> From: Holger Brunck [mailto:holger.brunck@keymile.com]
> Sent: 25 September 2013 12:50
> To: Prafulla Wadaskar; albert.u.boot@aribaud.net
> Cc: u-boot@lists.denx.de; Valentin Longchamp
> Subject: Re: [PATCH 1/3] arm/km: add support for
> km_kirkwood_128m16 board
> 
> Hi Prafulla, hi Albert,
> we are not so far away from v2013.10 I guess, so could
> one of you please pick of
> these small patch series? Thanks!
> 
> Note for this patch there is already a v2 posted which
> applies cleanly again.
> 
> So there were:
> http://patchwork.ozlabs.org/patch/275613/
> http://patchwork.ozlabs.org/patch/256901/
> http://patchwork.ozlabs.org/patch/256900/

Dear Holger

I have pulled these patches to u-boot-marvell.git.
Will send the pull request soon.

Regards...
Prafulla . . .

> 
> Regards
> Holger
> 
> On 07/04/2013 03:29 PM, Holger Brunck wrote:
> > From: Karlheinz Jerg <karlheinz.jerg@keymile.com>
> >
> > The board is similar to the standard km_kirkwood
> board. From a
> > u-boot point of view, the only difference is an
> increased
> > 256 MiB DRAM (128M16). A board based on this design
> is for
> > example the SUP12.
> >
> > Signed-off-by: Karlheinz Jerg
> <karlheinz.jerg@keymile.com>
> > Signed-off-by: Holger Brunck
> <holger.brunck@keymile.com>
> > ---
> >  boards.cfg                    |  1 +
> >  include/configs/km_kirkwood.h | 10 ++++++++++
> >  2 files changed, 11 insertions(+)
> >
> > diff --git a/boards.cfg b/boards.cfg
> > index c0c4282..2bb493f 100644
> > --- a/boards.cfg
> > +++ b/boards.cfg
> > @@ -165,6 +165,7 @@ lschlv2                      arm
> arm926ejs   lsxl                buffalo
> >  lsxhl                        arm         arm926ejs
> lsxl                buffalo        kirkwood
> lsxl:LSXHL
> >  km_kirkwood                  arm         arm926ejs
> km_arm              keymile        kirkwood
> km_kirkwood:KM_KIRKWOOD
> >  km_kirkwood_pci              arm         arm926ejs
> km_arm              keymile        kirkwood
> km_kirkwood:KM_KIRKWOOD_PCI
> > +km_kirkwood_128m16           arm         arm926ejs
> km_arm              keymile        kirkwood
> km_kirkwood:KM_KIRKWOOD_128M16
> >  kmnusa                       arm         arm926ejs
> km_arm              keymile        kirkwood
> km_kirkwood:KM_NUSA
> >  kmsuv31                      arm         arm926ejs
> km_arm              keymile        kirkwood
> km_kirkwood:KM_SUV31
> >  mgcoge3un                    arm         arm926ejs
> km_arm              keymile        kirkwood
> km_kirkwood:KM_MGCOGE3UN
> > diff --git a/include/configs/km_kirkwood.h
> b/include/configs/km_kirkwood.h
> > index 83bb7aa..2b5f389 100644
> > --- a/include/configs/km_kirkwood.h
> > +++ b/include/configs/km_kirkwood.h
> > @@ -51,6 +51,16 @@
> >  #define KM_IVM_BUS			"pca9544a:70:9"	/* I2C2
> (Mux-Port 1)*/
> >  #define CONFIG_KM_FPGA_CONFIG
> >
> > +/* KM_KIRKWOOD_128M16 */
> > +#elif defined(CONFIG_KM_KIRKWOOD_128M16)
> > +#define CONFIG_IDENT_STRING		"\nKeymile
> Kirkwood 128M16"
> > +#define CONFIG_HOSTNAME			km_kirkwood_128m16
> > +#undef CONFIG_SYS_KWD_CONFIG
> > +#define CONFIG_SYS_KWD_CONFIG \
> > +
> 	$(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
> > +#define CONFIG_KM_DISABLE_PCIE
> > +#define KM_IVM_BUS			"pca9544a:70:9"	/* I2C2
> (Mux-Port 1)*/
> > +
> >  /* KM_NUSA */
> >  #elif defined(CONFIG_KM_NUSA)
> >  #define KM_IVM_BUS			"pca9547:70:9"	/* I2C2
> (Mux-Port 1)*/
> >

Patch

diff --git a/boards.cfg b/boards.cfg
index c0c4282..2bb493f 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -165,6 +165,7 @@  lschlv2                      arm         arm926ejs   lsxl                buffalo
 lsxhl                        arm         arm926ejs   lsxl                buffalo        kirkwood    lsxl:LSXHL
 km_kirkwood                  arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_KIRKWOOD
 km_kirkwood_pci              arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_KIRKWOOD_PCI
+km_kirkwood_128m16           arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_KIRKWOOD_128M16
 kmnusa                       arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_NUSA
 kmsuv31                      arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_SUV31
 mgcoge3un                    arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_MGCOGE3UN
diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h
index 83bb7aa..2b5f389 100644
--- a/include/configs/km_kirkwood.h
+++ b/include/configs/km_kirkwood.h
@@ -51,6 +51,16 @@ 
 #define KM_IVM_BUS			"pca9544a:70:9"	/* I2C2 (Mux-Port 1)*/
 #define CONFIG_KM_FPGA_CONFIG
 
+/* KM_KIRKWOOD_128M16 */
+#elif defined(CONFIG_KM_KIRKWOOD_128M16)
+#define CONFIG_IDENT_STRING		"\nKeymile Kirkwood 128M16"
+#define CONFIG_HOSTNAME			km_kirkwood_128m16
+#undef CONFIG_SYS_KWD_CONFIG
+#define CONFIG_SYS_KWD_CONFIG \
+		$(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
+#define CONFIG_KM_DISABLE_PCIE
+#define KM_IVM_BUS			"pca9544a:70:9"	/* I2C2 (Mux-Port 1)*/
+
 /* KM_NUSA */
 #elif defined(CONFIG_KM_NUSA)
 #define KM_IVM_BUS			"pca9547:70:9"	/* I2C2 (Mux-Port 1)*/