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

login
register
mail settings
Submitter Holger Brunck
Date Jan. 16, 2013, 8:51 a.m.
Message ID <1358326282-27147-3-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/212440/
State Accepted
Delegated to: Prafulla Wadaskar
Headers show

Comments

Holger Brunck - Jan. 16, 2013, 8:51 a.m.
This board is from a u-boot point of view a mixture between kmnusa and
a standard km_kirkwood board. We have our u-boot environment in the spi
NOR flash, but we have a direct connection between the kirkwood and the
piggy. A FPGA is connected via the PCIe interface. So we only have to
select the specific features in the board setup.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
---
 boards.cfg                    |    1 +
 include/configs/km_kirkwood.h |    8 ++++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
Prafulla Wadaskar - Feb. 11, 2013, 3:39 a.m.
> -----Original Message-----
> From: Holger Brunck [mailto:holger.brunck@keymile.com]
> Sent: 16 January 2013 14:21
> To: u-boot@lists.denx.de
> Cc: Holger Brunck; Valentin Longchamp; Prafulla Wadaskar
> Subject: [PATCH 3/3] arm/km: add support for kmsuv31 board
> 
> This board is from a u-boot point of view a mixture between kmnusa and
> a standard km_kirkwood board. We have our u-boot environment in the
> spi
> NOR flash, but we have a direct connection between the kirkwood and
> the
> piggy. A FPGA is connected via the PCIe interface. So we only have to
> select the specific features in the board setup.
> 
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
> cc: Prafulla Wadaskar <prafulla@marvell.com>
> ---
>  boards.cfg                    |    1 +
>  include/configs/km_kirkwood.h |    8 ++++++++
>  2 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/boards.cfg b/boards.cfg
> index e4b0d44..19c36a3 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -162,6 +162,7 @@ lsxhl                        arm         arm926ejs
> lsxl                buffalo
>  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
>  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
>  kmcoge5un                    arm         arm926ejs   km_arm
> keymile        kirkwood    km_kirkwood:KM_COGE5UN
>  portl2                       arm         arm926ejs   km_arm
> keymile        kirkwood    km_kirkwood:KM_PORTL2
> diff --git a/include/configs/km_kirkwood.h
> b/include/configs/km_kirkwood.h
> index 762cc10..83bb7aa 100644
> --- a/include/configs/km_kirkwood.h
> +++ b/include/configs/km_kirkwood.h
> @@ -98,6 +98,14 @@
>  #define KM_IVM_BUS			"pca9544a:70:9" /* I2C2 (Mux-Port 1)*/
>  #define CONFIG_KM_PIGGY4_88E6061
> 
> +/* KM_SUV31 */
> +#elif defined(CONFIG_KM_SUV31)
> +#define KM_IVM_BUS			"pca9547:70:9"	/* I2C2 (Mux-Port 1)*/
> +#define CONFIG_IDENT_STRING		"\nKeymile SUV31"
> +#define CONFIG_HOSTNAME			kmsuv31
> +#define CONFIG_KM_ENV_IS_IN_SPI_NOR
> +#define CONFIG_KM_FPGA_CONFIG
> +
>  #else
>  #error ("Board unsupported")
>  #endif

Acked-By: Prafulla Wadaskar <prafulla@marvell.com>
Will pull this soon.

Regards...
Prafulla . . .

Patch

diff --git a/boards.cfg b/boards.cfg
index e4b0d44..19c36a3 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -162,6 +162,7 @@  lsxhl                        arm         arm926ejs   lsxl                buffalo
 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
 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
 kmcoge5un                    arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_COGE5UN
 portl2                       arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_PORTL2
diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h
index 762cc10..83bb7aa 100644
--- a/include/configs/km_kirkwood.h
+++ b/include/configs/km_kirkwood.h
@@ -98,6 +98,14 @@ 
 #define KM_IVM_BUS			"pca9544a:70:9" /* I2C2 (Mux-Port 1)*/
 #define CONFIG_KM_PIGGY4_88E6061
 
+/* KM_SUV31 */
+#elif defined(CONFIG_KM_SUV31)
+#define KM_IVM_BUS			"pca9547:70:9"	/* I2C2 (Mux-Port 1)*/
+#define CONFIG_IDENT_STRING		"\nKeymile SUV31"
+#define CONFIG_HOSTNAME			kmsuv31
+#define CONFIG_KM_ENV_IS_IN_SPI_NOR
+#define CONFIG_KM_FPGA_CONFIG
+
 #else
 #error ("Board unsupported")
 #endif