be moved but this is a first patch to discuss trigger
the discussion.
It was tested on P2041rdb_SPIFLASH.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
arch/powerpc/cpu/mpc85xx/Makefile| 10 --
.../powerpc/cpu/mpc85xx}/p_corenet/Makefile | 0
Hi Andy,
On 05/04/2013 12:55 AM, Andy Fleming wrote:
On Fri, May 3, 2013 at 9:02 AM, Valentin Longchamp
valentin.longch...@keymile.com mailto:valentin.longch...@keymile.com
wrote:
This allows to use this code on non Freescale QorIQ boards. If I am
right, there are currently only
Hi Prafulla,
I haven't received feedback about this patch from you. Can I please kindly
remind you about it since I am about to send patches that deal with SPI clk
setting.
Thank you.
On 06/29/2012 02:17 PM, Valentin Longchamp wrote:
The computation was not correct with low clock values
length. It is the same change that was done in the platform for this
same bug.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Stefan Bigler stefan.big...@keymile.com
---
board/keymile/common/ivm.c |2 +-
1 files changed, 1
According to our last HW measures, this could be raised while still
compatible with the potential delays on the lines.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
---
include/configs/km/km_arm.h |2 +-
1 files changed, 1
-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
---
include/configs/km/km_arm.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 2d573e4..055d946 100644
Hi Prafulla,
On 08/14/2012 03:17 PM, Prafulla Wadaskar wrote:
-Original Message-
From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
Sent: 14 August 2012 17:09
To: Prafulla Wadaskar
Cc: u-boot@lists.denx.de; Valentin Longchamp; Holger Brunck
Subject: [PATCH] km/arm
Hi Prafulla,
On 08/14/2012 03:15 PM, Prafulla Wadaskar wrote:
-Original Message-
From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
Sent: 14 August 2012 15:02
To: Prafulla Wadaskar
Cc: u-boot@lists.denx.de; Holger Brunck
Subject: Re: [PATCH] kw_spi: fix clock
).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
changes for v2:
- table nb in commit message
arch/arm/include/asm/arch-kirkwood/spi.h |1 +
drivers/spi/kirkwood_spi.c
the
88e6352. This is proposed as a first implementation that is somewhat
limited but works and that can be used as a basis for further
developments for this switch family.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Prafulla Wadaskar
This series adds supoort for the configuration of the mv88e6352 external switch
on kmnusa. It has a clear dependancy to the minimal mv88e6352 net/phy driver:
http://patchwork.ozlabs.org/patch/177953/
Valentin Longchamp (2):
arm/km: add mv88e6352 configuration for kmnusa
km_kirkwood: enable
This is required to configure the external 88e6352 switch on nusa.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
include/configs/km_kirkwood.h |2 ++
1 files changed, 2 insertions
The kmnusa board uses a mv88e6352 switch that is connected to the main
eth interface of the kirkwood. Therefore the switch must be configured
so that the kirkwood's egiga eth inferface can be used.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Cc: Holger Brunck holger.bru
On 08/17/2012 09:59 AM, Prafulla Wadaskar wrote:
-Original Message-
From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
Sent: 16 August 2012 16:55
To: u-boot@lists.denx.de
Cc: holger.bru...@keymile.com; Prafulla Wadaskar;
valentin.longch...@keymile.com
Subject
The kmnusa board uses a mv88e6352 switch that is connected to the main
eth interface of the kirkwood. Therefore the switch must be configured
so that the kirkwood's egiga eth inferface can be used.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Cc: Holger Brunck holger.bru
NAND_ECC_SOFT was the only option available while the SOFT_BCH option
may also be used.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
drivers/mtd/nand/fsl_elbc_nand.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c
It can be set to a different value for kmp204x, because we are
restricted to SRAM.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
include/configs/km/keymile-common.h | 2 --
include/configs/km/km83xx-common.h | 2 ++
include/configs/km82xx.h| 1 +
3 files
The ip kernel parameter had a typo in it (we've been lucky that it has
worked until now).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
include/configs/km/keymile-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/km/keymile
This is because kmp204x.h does not have FLASH, so this must not be
defined for all powerpc boards.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
include/configs/km/km-powerpc.h| 1 -
include/configs/km/km83xx-common.h | 2 ++
2 files changed, 2 insertions(+), 1
by Freescale which was
adapted to our design.
Valentin Longchamp (8):
km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h
km-powerpc: move CONFIG_FLASH_CFI_MTD to km83xx-common.h
KM: fix typo in default environment
mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it
fsl: do
If the DDR3 module supports industrial temperature range and requires
the x2 refresh rate for that temp range, the refresh period must be
3.9us instead of 7.8 us.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c | 2 ++
1 file
If this #define stays in config_mpc85xx.h, the P2041 based boards must
define a lot of SRIO values even if they do not implement a SRIO device.
The #define is moved into the P2041RDB board config file where it is
used.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
include
This can be useful if we want to disable an interface in u-boot and
later reenable them, so that it looks available when trying to fix the
FDT or for the kernel.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
drivers/net/fm/init.c | 7 +++
include/fm_eth.h | 1 +
2
diff --git a/MAINTAINERS b/MAINTAINERS
index 081cf96..fff77f0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -778,6 +778,7 @@ Valentin Longchamp valentin.longch...@keymile.com
mgcoge3un ARM926EJS (Kirkwood SoC)
kmcoge5un ARM926EJS (Kirkwood SoC)
portl2
On 08/13/2013 10:24 PM, York Sun wrote:
On 07/26/2013 03:02 AM, Valentin Longchamp wrote:
If the DDR3 module supports industrial temperature range and requires
the x2 refresh rate for that temp range, the refresh period must be
3.9us instead of 7.8 us.
Signed-off-by: Valentin Longchamp
On 08/13/2013 10:32 PM, York Sun wrote:
On 07/26/2013 03:02 AM, Valentin Longchamp wrote:
If this #define stays in config_mpc85xx.h, the P2041 based boards must
define a lot of SRIO values even if they do not implement a SRIO device.
The #define is moved into the P2041RDB board config file
On 08/13/2013 10:38 PM, York Sun wrote:
On 07/26/2013 03:02 AM, Valentin Longchamp wrote:
This can be useful if we want to disable an interface in u-boot and
later reenable them, so that it looks available when trying to fix the
FDT or for the kernel.
Signed-off-by: Valentin Longchamp
On 08/13/2013 10:54 PM, Scott Wood wrote:
On Fri, 2013-07-26 at 12:02 +0200, Valentin Longchamp wrote:
NAND_ECC_SOFT was the only option available while the SOFT_BCH option
may also be used.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
drivers/mtd/nand
On 08/13/2013 11:38 PM, Scott Wood wrote:
On Fri, 2013-07-26 at 12:02 +0200, Valentin Longchamp wrote:
This patch introduces the support for Keymile's kmp204x reference
design. This design is based on Freescale's P2040/P2041 SoC.
The peripherals used by this design are:
- DDR3 RAM with SPD
On 08/13/2013 11:44 PM, York Sun wrote:
On 07/26/2013 03:02 AM, Valentin Longchamp wrote:
+
+phys_size_t initdram(int board_type)
+{
+phys_size_t dram_size = 0;
+
+puts(Initializing);
+
+if (fsl_use_spd()) {
+puts(using SPD\n);
+dram_size
On 08/20/2013 02:48 AM, Scott Wood wrote:
On Mon, 2013-08-19 at 17:50 +0200, Valentin Longchamp wrote:
On 08/13/2013 11:38 PM, Scott Wood wrote:
On Fri, 2013-07-26 at 12:02 +0200, Valentin Longchamp wrote:
This patch introduces the support for Keymile's kmp204x reference
design. This design
On 08/20/2013 08:18 PM, Scott Wood wrote:
On Tue, 2013-08-20 at 08:28 +0200, Valentin Longchamp wrote:
On 08/20/2013 02:48 AM, Scott Wood wrote:
On Mon, 2013-08-19 at 17:50 +0200, Valentin Longchamp wrote:
On 08/13/2013 11:38 PM, Scott Wood wrote:
On Fri, 2013-07-26 at 12:02 +0200, Valentin
The RCW gets printed on a lot of FSL 85xx devices and it is always done
the same way.
The fsl_print_rcw function performs this exact same task.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2: None
arch/powerpc/cpu/mpc85xx/Makefile | 1 +
arch
This is because kmp204x.h does not have FLASH, so this must not be
defined for all powerpc boards.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2: None
include/configs/km/km-powerpc.h| 1 -
include/configs/km/km83xx-common.h | 2 ++
2 files changed, 2
It can be set to a different value for kmp204x, because we are
restricted to SRAM.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2: None
include/configs/km/keymile-common.h | 2 --
include/configs/km/km83xx-common.h | 2 ++
include/configs/km82xx.h
This can be useful if we want to disable an interface in u-boot and
later reenable them, so that it looks available when trying to fix the
FDT or for the kernel.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2: None
drivers/net/fm/init.c | 7 +++
include
and thus does not define it.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2:
- add CONFIG_KM_COMMON_ETH_INIT for the km board that need the common.c
board_eth_init
board/keymile/common/common.c | 2 ++
include/configs/km/km-powerpc.h | 3 +++
include
This allows to share some common code for the boards that use a corenet
base SoC.
Two different versions of the function are available in
fsl_corenet_serdes.c and fsl_corenet2_serdes.c files.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2: None
arch/powerpc
to include Freescale's copyrights
- integrate Scott's feedback
Valentin Longchamp (11):
km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h
km-powerpc: move CONFIG_FLASH_CFI_MTD to km83xx-common.h
KM: fix typo in default environment
KM: add CONFIG_KM_I2C_ABORT option
km: add
this.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2:
- Introduce CONFIG_KM_I2C_ABORT #define to avoid #if !defined in
common.c
board/keymile/common/common.c | 6 +-
include/configs/km/km_arm.h | 1 +
include/configs/km82xx.h | 1 +
3 files changed, 3
The ip kernel parameter had a typo in it (we've been lucky that it has
worked until now).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2: None
include/configs/km/keymile-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include
index 081cf96..fff77f0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -778,6 +778,7 @@ Valentin Longchamp valentin.longch...@keymile.com
mgcoge3un ARM926EJS (Kirkwood SoC)
kmcoge5un ARM926EJS (Kirkwood SoC)
portl2 ARM926EJS (Kirkwood SoC)
+ kmcoge4
NAND_ECC_SOFT was the only option available while the SOFT_BCH option
may also be used.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Acked-by: Scott Wood scottw...@freescale.com
---
Changes in v2: None
drivers/mtd/nand/fsl_elbc_nand.c | 6 +-
1 file changed, 5 insertions
If the DDR3 module supports industrial temperature range and requires
the x2 refresh rate for that temp range, the refresh period must be
3.9us instead of 7.8 us.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v2:
- when refresh rate gets halved for extended
with an SPD
EEPROM).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3: None
Changes in v2:
- when refresh rate gets halved for extended range temperature
operations, the srt bit in the mode register 2 is set.
arch/powerpc/cpu/mpc8xxx/ddr/common_timing_params.h
When exporting the new memsize without reserved PRAM area, the -Wformat
option produces a warning since %ld is used for snprintf and bi_memsize
is phys_size_t.
This patch removes this warning for all PRAM PowerPC boards.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
This can be useful if one wants to disable an interface in u-boot
because u-boot should not manage it but then later reenable it for FDT
fixing or if the kernel uses this interface.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3:
- add a call
files to include Freescale's copyrights
- integrate Scott's feedback
Valentin Longchamp (11):
powerpc: cast bi_memsize to ulong for %ld usage
km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h
KM: fix typo in default environment
KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned
This is necessary with the new I2C subystem that was introduced lately.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3: None
Changes in v2: None
arch/powerpc/cpu/mpc8xxx/ddr/main.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch
and thus does not define it.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3: None
Changes in v2:
- add CONFIG_KM_COMMON_ETH_INIT for the km board that need the common.c
board_eth_init
board/keymile/common/common.c | 2 ++
include/configs/km/km-powerpc.h | 3
The ip kernel parameter had a typo in it (we've been lucky that it has
worked until now).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3: None
Changes in v2: None
include/configs/km/keymile-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
NAND_ECC_SOFT was the only option available while the SOFT_BCH option
may also be used.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Acked-by: Scott Wood scottw...@freescale.com
---
Changes in v3: None
Changes in v2: None
drivers/mtd/nand/fsl_elbc_nand.c | 6 +-
1 file
-common.h
and defines it for km_arm.h and km82xx.h.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3:
- take the new I2C defines into account and use
CONFIG_SYS_I2C_INIT_BOARD instead of an additional option and define
it only for the I2C bitbang KM boards
@@ -785,6 +785,7 @@ Valentin Longchamp valentin.longch...@keymile.com
mgcoge3un ARM926EJS (Kirkwood SoC)
kmcoge5un ARM926EJS (Kirkwood SoC)
portl2 ARM926EJS (Kirkwood SoC)
+ kmcoge4 MPC85xx (P2041 SoC)
Nishanth Menon n...@ti.com
diff
It must be set to a different value for the later add kmp204x
architecture, because we are restricted to 1MB SRAM.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3:
- Add SYS_MALLOC_LEN to km_arm.h as well, as it was omitted before.
Changes in v2: None
This allows to share some common code for the boards that use a corenet
base SoC.
Two different versions of the function are available in
fsl_corenet_serdes.c and fsl_corenet2_serdes.c files.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
Changes in v3: None
Changes in v2
This is necessary to make sure that all the pins used for SPI access,
especially the CS, are configured back to the NAND Flash interface.
Otherwise, if either newenv or update are called, u-boot cannot access
the NAND Flash anymore.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
the same behavior as env_relocate_spec.
Since the static env_flash variable will be NULL after every function
call, it is thus removed and its functionality is replaced by a
systematic call to spi_flash_probe at the start of both
env_relocate_spec and saveenv.
Signed-off-by: Valentin Longchamp
interface is always cleaned up after
the env read/writes. Patch 2 adds a 'sf release' command that implicitly
calls spi_flash_free and is thus the pendant of 'sf probe'. Patch 3 uses
the 'sf command' for the km_arm board scripts.
Valentin Longchamp (3):
env_sf: generalize call to spi_flash_free after
The release command is the pendant of the probe command. This command
allows to call spi_flash_free from the command line. This may be
necessary for some boards where sf probe does change the state of the
hardware (like with some pin multiplexing changes for instance).
Signed-off-by: Valentin
Hi Prafulla,
On 06/12/2012 06:39 AM, Prafulla Wadaskar wrote:
-Original Message-
From: u-boot-boun...@lists.denx.de [mailto:u-boot-
boun...@lists.denx.de] On Behalf Of Valentin Longchamp
Sent: 07 June 2012 15:37
To: prafu...@mavell.com
Cc: Valentin Longchamp; holger.bru
,
that's why we keep it in our keymile specific code, where the
assumptions of the implementations remain true.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
changes for v2:
- nothing
changes for v3:
- more complete commit message
board/keymile/common/common.h |7
).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
arch/arm/include/asm/arch-kirkwood/spi.h |1 +
drivers/spi/kirkwood_spi.c |5 +++--
2 files changed, 4 insertions
Hello Prafulla,
On 07/03/2012 10:17 AM, Prafulla Wadaskar wrote:
-Original Message-
From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
Sent: 21 June 2012 18:40
To: Prafulla Wadaskar
Cc: prafu...@mavell.com; holger.bru...@keymile.com; u-
b...@lists.denx.de
Subject: Re
Hi Detlev,
On 07/09/2012 04:31 PM, Detlev Zundel wrote:
Hi Prafulla,
[...]
Hi Detlev
Clear NAK for this patch
Do you mean clear NAK for the patch or for the location of the
files?
Let's put it in drivers/net/phy/
FYI: there are several drivers used by just one board,
This series enables the build of a u-boot.pbl for the P2041RDB dev
board.
Valentin Longchamp (2):
powerpc/p2041: add RCW file for P2041RDB
powerpc/p2041: set RCW and PBI files for .pbl build or P2041RDB
board/freescale/corenet_ds/rcw_p2041rdb.cfg | 11 +++
include/configs
).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
board/freescale/corenet_ds/rcw_p2041rdb.cfg | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
create mode 100644 board/freescale/corenet_ds/rcw_p2041rdb.cfg
diff --git a/board/freescale/corenet_ds
In order to be able to build a u-boot.pbl image, both the
CONFIG_PBLPBI_CONFIG and CONFIG_PBLRCW_CONFIG variables have to be
defined.
This patch sets these two files for the P2041RDB board.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
include/configs/P2041RDB.h |2
: add implementation for read_dip_switch
arm/km: fix testpin detection for kmcoge5un
Valentin Longchamp (12):
arm/km: enable mii cmd
arm/km: use correct kw_gpio function for NAND/SPI switching
arm/kirkwood: protect the ENV_SPI #defines
arm/km: correct init of 88e6352 switch
to trigger a
reconfiguration when needed. This is done by lowering the FPGA_INIT_B
pin for delaying the configuration to u-boot @ next reboot, and then
lower the FPGA_PROGRAM_B signal.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
board/keymile/km_arm/fpga_config.c | 41
This is useful to debug the switch initialization
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
include/configs/km/km_arm.h
The configuration EEPROM should be removed for P1B.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
board/keymile/km_arm/km_arm.c | 11 +--
board/keymile/km_arm/managed_switch.c |3 ++-
board/keymile/km_arm/managed_switch.h |7 +++
3 files
The PCIe FPGAs now have to support 2 resets: one for the non traffic
affecting part (PCIe) and one for the traffic affecting part.
When the FPGA is not reconfigured, we only reset the PCIe part.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
board/keymile/km_arm
From: Thomas Herzmann thomas.herzm...@keymile.com
On kmcoge5un unfortunately the HW wiring is differently to
other km arm boards.
Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch
Some very similar #defines for reg addresses are used in a later patch
(managed_switch support for km_arm).
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
board/keymile/km_arm/km_arm.c | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
diff
This can be used if we do not want to use an EEPROM for the
configuration.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
board/keymile/common/common.h |7 --
board/keymile/km_arm/managed_switch.c | 169 +++--
board/keymile/km_arm
So that they can be redefined by some boards specific values.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
arch/arm/include
-off-by: Valentin Longchamp valentin.longch...@keymile.com
---
board/keymile/km_arm/km_arm.c | 14 +-
include/configs/km_kirkwood.h |3 ---
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index ebc82ef
This used to be done with registers direct access, which is not clear
and optimal.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
We used to have an arbitrary value, which can be a problem if we have a
u-boot image that is bigger than this value.
This patch is dependant on the whole km/arm series and will be included
in the v3 of the series if there is one.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
include/configs/km/km_arm.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/km/km_arm.h b/include/configs/km
From: Holger Brunck holger.bru...@keymile.com
This is already defined in the generic kirkwood header.
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar
From: Holger Brunck holger.bru...@keymile.com
Use the generic header km_kirkwood.h and get rid of the
board specific header.
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
boards.cfg|4 ++--
include/configs/km_kirkwood.h |7 ++-
2 files changed, 8 insertions
.
The config option name is CONFIG_KM_FPGA_CONFIG
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
board/keymile/common/common.h |6
From: Holger Brunck holger.bru...@keymile.com
On mgcoge3un the piggy mac adress is at offset 3.
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu
without a
phy inbetween, this needs a new configuration for the mvgbe driver.
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
board/keymile/km_arm/km_arm.c |2 +-
boards.cfg|2 +-
include/configs/km_kirkwood.h
simple switch. There is no phy
between the simple switch and the kirkwood.
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
-by: Valentin Longchamp valentin.longch...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
board/keymile/common/common.h |6 +
board/keymile/km_arm/Makefile |4
They are needed on all km_arm boards where we have the environement
variables in the NOR Flash. First boards using this feature are
kmcoge5un and kmnusa.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
cc: Gerlando Falauto
From: Holger Brunck holger.bru...@keymile.com
Now we toggle between SPI and NAND flash automatically if
we claim the SPI bus. So we can get rid of this command.
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
boards.cfg|4 ++--
include/configs/km_kirkwood.h |4 ++--
2 files changed, 4 insertions(+), 4 deletions
From: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
board/keymile/km_arm/km_arm.c
From: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
board/keymile/km_arm/kwbimage
From: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Holger Brunck holger.bru...@keymile.com
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Heiko Schocher h...@denx.de
cc: Prafulla Wadaskar prafu...@marvell.com
cc: Gerlando Falauto gerlando.fala...@keymile.com
to temporarily
save and then restore the mpp configuration.
Valentin Longchamp (3):
kirkwood: add kirkwood_mpp_save/restore functions
spi/kirkwood: support spi_claim/release_bus functions
spi/kirkwood: add weak functions board_spi_claim/release_bus
arch/arm/cpu/arm926ejs/kirkwood/mpp.c| 18
These 2 functions can be used in pair if one needs to set a mpp
configuration only for a given time and then switch back to the previous
mpp config.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Prafulla Wadaskar prafu
with CONFIG_SYS_KW_SPI_MPP.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
---
arch/arm/include/asm/arch-kirkwood/spi.h |9
drivers/spi/kirkwood_spi.c | 34
This allows a final, board specific, step in the claim/relase_bus
function for the SPI controller, which may be needed for some hardware
designs.
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com
cc: Holger Brunck holger.bru...@keymile.com
cc: Prafulla Wadaskar prafu...@marvell.com
1 - 100 of 499 matches
Mail list logo