enhancements
Rainer Boschung (2):
kmp204x: support for QRIO1 bootcounter
kmp204x: I2C deblocking for I2C-bus1 added
Valentin Longchamp (7):
kmp204x: introduce QRIO GPIO functions
kmp204x: implement workaround for A-006559
kmp204x: add support for the kmcoge4 board
kmp204x: update I2C
On the previous HW revision (now unsupported), there was a need for
external DMA signals and thus the I2C3/4 signals were used
DMA1_DONE/ACK/REQ.
These signals now are configured as GPIO[16:19].
Signed-off-by: Valentin Longchamp
---
board/keymile/kmp204x/rcw_kmp204x.cfg | 2 +-
1 file changed
From: Rainer Boschung
- make use of the QRIO1 32bit register at 0x20 as bootcounter register
- check for BOOTCOUNT_MAGIC pattern when before bootcounter value is read
Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
Acked-by: Valentin Longchamp
---
board/keymile/kmp204x
The new prototype and the final series was moved from Micron to Spansion
to have a better reset sequence that is easier to support.
Signed-off-by: Valentin Longchamp
---
include/configs/km/kmp204x-common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/km/kmp204x-common.h
additionnal argument
that defines the VID offstet must be given to the kernel.
The UBI cmd line option now looks like this "ubi.mtd=ubi0,2048" on this
platform.
Signed-off-by: Valentin Longchamp
---
include/configs/km/keymile-common.h | 10 --
include/configs/km/kmp204x-common.h |
used mechanism is taken from the km_kirkwood design and adapted to
the kmp204x case (slightly different HW and PCIe configuration).
Signed-off-by: Valentin Longchamp
---
board/keymile/kmp204x/kmp204x.c | 7 +++-
board/keymile/kmp204x/pci.c | 85 +
2
up externaly!
Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
Acked-by: Valentin Longchamp
---
board/keymile/kmp204x/kmp204x.c | 53 ++---
include/configs/km/kmp204x-common.h | 10 +++
2 files changed, 60 insertions(+), 3 deletions
The QRIO GPIO functions can be of general interest. They are thus added
to a qrio.c and their prototype are available from kmp204x.h. The QRIO
prst function are also included in this file, as well as the functions
required for the I2C deblocking support (open-drain).
Signed-off-by: Valentin
According to the errata, some bits of an undocumented register in the
DCSR must be set for every core in order to avoid a possible data or
instruction corruption.
This is required for the 2.0 revision of the P2041 that should be used
as soon as available in our design.
Signed-off-by: Valentin
The kmcoge4 board is the product board derived from the kmlion1
prototype. The main difference between the 2 boards is that the kmcoge4
does not configure the Local Bus controller for LCS2.
Signed-off-by: Valentin Longchamp
---
boards.cfg| 1 +
include/configs/kmp204x.h | 7
Hi Stefan,
On 01/14/2014 07:58 AM, Stefan Roese wrote:
> Hi Valentin,
>
> On 13.01.2014 17:29, Valentin Longchamp wrote:
>> From: Rainer Boschung
>>
>> - make use of the QRIO1 32bit register at 0x20 as bootcounter register
>> - check for BOOTCOUNT_MAGIC pattern
On 09/17/2013 08:46 AM, Valentin Longchamp wrote:
> Some board require spi_flash_free to be called after all the accesses,
> in order, for instance, to restore the pin multiplexing configuration in
> the case where the SPI pins are multiplexed.
>
> This patch series tries to enhanc
additionnal argument
that defines the VID offstet must be given to the kernel.
The UBI cmd line option now looks like this "ubi.mtd=ubi0,2048" on this
platform.
Signed-off-by: Valentin Longchamp
---
Changes in v2: None
include/configs/km/keymile-common.h | 10 --
include/configs/
From: Rainer Boschung
- make use of the QRIO1 32bit register at 0x20 as bootcounter register
- check for BOOTCOUNT_MAGIC pattern when before bootcounter value is read
Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
---
Changes in v2:
- change bootcounter implementation to
The new prototype and the final series was moved from Micron to Spansion
to have a better reset sequence that is easier to support.
Signed-off-by: Valentin Longchamp
---
Changes in v2: None
include/configs/km/kmp204x-common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs
The QRIO GPIO functions can be of general interest. They are thus added
to a qrio.c and their prototype are available from kmp204x.h. The QRIO
prst function are also included in this file, as well as the functions
required for the I2C deblocking support (open-drain).
Signed-off-by: Valentin
up externaly!
Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
---
Changes in v2: None
board/keymile/kmp204x/kmp204x.c | 53 ++---
include/configs/km/kmp204x-common.h | 10 +++
2 files changed, 60 insertions(+), 3 deletions(-)
diff
According to the errata, some bits of an undocumented register in the
DCSR must be set for every core in order to avoid a possible data or
instruction corruption.
This is required for the 2.0 revision of the P2041 that should be used
as soon as available in our design.
Signed-off-by: Valentin
The kmcoge4 board is the product board derived from the kmlion1
prototype. The main difference between the 2 boards is that the kmcoge4
does not configure the Local Bus controller for LCS2.
Signed-off-by: Valentin Longchamp
---
Changes in v2: None
boards.cfg| 1 +
include
enhancements
Changes in v2:
- change bootcounter implementation to use generic driver
Rainer Boschung (2):
kmp204x: support for QRIO1 bootcounter
kmp204x: I2C deblocking for I2C-bus1 added
Valentin Longchamp (7):
kmp204x: introduce QRIO GPIO functions
kmp204x: implement workaround for A
On the previous HW revision (now unsupported), there was a need for
external DMA signals and thus the I2C3/4 signals were used
DMA1_DONE/ACK/REQ.
These signals now are configured as GPIO[16:19].
Signed-off-by: Valentin Longchamp
---
Changes in v2: None
board/keymile/kmp204x/rcw_kmp204x.cfg
used mechanism is taken from the km_kirkwood design and adapted to
the kmp204x case (slightly different HW and PCIe configuration).
Signed-off-by: Valentin Longchamp
---
Changes in v2: None
board/keymile/kmp204x/kmp204x.c | 7 +++-
board/keymile/kmp204x/pci.c | 85
On 01/30/2014 03:30 AM, York Sun wrote:
> On 01/27/2014 02:49 AM, Valentin Longchamp wrote:
>> From: Rainer Boschung
>>
>> -uses common deblocking algorithm from ../common/common.c
>
> I don't see any algorithm in the common.c file.
The file is board/ke
bus are some external
GPIOs provided by the QRIO CPLD:
- SCL = GPIOA_20
- SDA = GPIOA_21
The QRIO GPIOs act in an open-drain-like manner, for 0 the line is
driven low and for 1 the GPIO is set as input and the line gets
pulled-up.
Signed-off-by: Rainer Boschung
Signed-off-by: Valentin
bus are some external
GPIOs provided by the QRIO CPLD:
- SCL = GPIOA_20
- SDA = GPIOA_21
The QRIO GPIOs act in an open-drain-like manner, for 0 the line is
driven low and for 1 the GPIO is set as input and the line gets
pulled-up.
Signed-off-by: Rainer Boschung
Signed-off-by: Valentin
e spi toggle command
Thomas Herzmann (2):
arm/km: 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/k
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
---
board/keymile/km_arm/fpga_config.c | 41
This is useful to debug the switch initialization
Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
include/configs/km/km_arm.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/km/km_arm.h b
The configuration EEPROM should be removed for P1B.
Signed-off-by: Valentin Longchamp
---
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 changed, 14 insertions(+), 7
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
---
board/keymile/km_arm/fpga_config.c | 13 +
1
From: Thomas Herzmann
On kmcoge5un unfortunately the HW wiring is differently to
other km arm boards.
Signed-off-by: Thomas Herzmann
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
---
board/keymile/km_arm/km_arm.c |4
1 files changed, 4 insertions(+), 0 deletions
Some very similar #defines for reg addresses are used in a later patch
(managed_switch support for km_arm).
Signed-off-by: Valentin Longchamp
---
board/keymile/km_arm/km_arm.c | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/board/keymile/km_arm
This can be used if we do not want to use an EEPROM for the
configuration.
Signed-off-by: Valentin Longchamp
---
board/keymile/common/common.h |7 --
board/keymile/km_arm/managed_switch.c | 169 +++--
board/keymile/km_arm/managed_switch.h | 99
So that they can be redefined by some boards specific values.
Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
arch/arm/include/asm/arch-kirkwood/config.h | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff
From: Thomas Herzmann
Add a function to read the dip_switch on kmcoge5un. If the
switch is set the actual_bank is set to 0 and this SW is
booted.
Signed-off-by: Thomas Herzmann
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
---
board/keymile/km_arm/km_arm.c | 14
This used to be done with registers direct access, which is not clear
and optimal.
Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm/km_arm.c | 55 +
include/configs/km
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
cc: Holger Brunck
cc: Gerlando
From: Holger Brunck
This config option sounds like the it is responsible for the
update of the environment, but it is the u-boot update handling.
Therefore we adapt it to a more apropriate naming.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc
From: Holger Brunck
This is already defined in the generic kirkwood header.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
include/configs/km/km_arm.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a
From: Holger Brunck
Use the generic header km_kirkwood.h and get rid of the
board specific header.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm/km_arm.c |9 ++--
boards.cfg|2
From: Holger Brunck
Remove config options from boards.cfg and simply add one switch
per board and differ afterwards in km_kirkwood.h between the features.
More boards are upcoming and therefore it's easier to have this
at one place.
Signed-off-by: Holger Brunck
Signed-off-by: Val
config option name is CONFIG_KM_FPGA_CONFIG
Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/common/common.h |6 +
board/keymile/km_arm/Makefile |4 +
board/keymile/km_arm/fpga_config.c | 212
From: Holger Brunck
On mgcoge3un the piggy mac adress is at offset 3.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
include/configs/mgcoge3un.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include
, this needs a new configuration for the mvgbe driver.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
MAINTAINERS |1 +
board/keymile/km_arm/256M8-1.cfg | 296
* Holger Brunck, Keymile GmbH Hannover, holger.bru...@keymile.com.
- * Valentin Longchamp, Keymile AG Bern, valentin.longch...@keymile.com
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify
between the simple switch and the kirkwood.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
MAINTAINERS |1 +
board/keymile/km_arm/128M16-1.cfg | 294 +
board
: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/common/common.h |6 +
board/keymile/km_arm/Makefile |4 +
board/keymile/km_arm/km_arm.c | 26 +-
board/keymile/km_arm/managed_switch.c | 166
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
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm
From: Holger Brunck
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
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm/km_arm.c | 26
From: Holger Brunck
Some other kirkwood boards from keymile will follow. They will have some
small differences, but we want to use the km_kirkwood.h for all to
distinguish them. This patch a preparation for this.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando
From: Holger Brunck
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm/km_arm.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm
From: Holger Brunck
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm/kwbimage-memphis.cfg |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/keymile/km_arm/kwbimage-memphis.cfg
b
From: Holger Brunck
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Heiko Schocher
cc: Prafulla Wadaskar
cc: Gerlando Falauto
---
MAINTAINERS |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 708ded7..2be0e6e 100644
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
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/cpu/arm926ejs/kirkwood/mpp.c| 18
with CONFIG_SYS_KW_SPI_MPP.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/include/asm/arch-kirkwood/spi.h |9
drivers/spi/kirkwood_spi.c | 34 ++
2 files changed, 43 insertions(+), 0 deletions
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
cc: Holger Brunck
cc: Prafulla Wadaskar
---
drivers/spi/kirkwood_spi.c | 13 -
1 files changed, 12
On 05/24/2012 10:35 AM, Prafulla Wadaskar wrote:
>> -Original Message-
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 16 May 2012 16:24
>> To: Prafulla Wadaskar; holger.bru...@keymile.com
>> Cc: Valentin Longchamp; u-boot@lists.de
On 05/24/2012 10:38 AM, Prafulla Wadaskar wrote:
>> -Original Message-
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 16 May 2012 16:24
>> To: Prafulla Wadaskar; holger.bru...@keymile.com
>> Cc: Valentin Longchamp; u-boot@lists.de
On 05/24/2012 10:26 AM, Prafulla Wadaskar wrote:
>
>
>> -Original Message-----
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 16 May 2012 16:24
>> To: Prafulla Wadaskar; holger.bru...@keymile.com
>> Cc: Valentin Longchamp;
>> -Original Message-
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 29 May 2012 14:15
>> To: Prafulla Wadaskar
>> Cc: holger.bru...@keymile.com; u-boot@lists.denx.de
>> Subject: Re: [PATCH 1/3] kirkwood: add kirkwood_mpp_sa
On 05/29/2012 12:29 PM, Prafulla Wadaskar wrote:
>> -Original Message-
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 29 May 2012 14:02
>> To: Prafulla Wadaskar
>> Cc: holger.bru...@keymile.com; u-boot@lists.denx.de
>> S
On 05/29/2012 02:06 PM, Prafulla Wadaskar wrote:
>
>
>> -Original Message-----
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 29 May 2012 16:59
>> To: Prafulla Wadaskar
>> Cc: holger.bru...@keymile.com; u-boot@lists.denx.de
called.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/cpu/arm926ejs/kirkwood/mpp.c| 41 ++
arch/arm/include/asm/arch-kirkwood/mpp.h |1 +
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu
This was not done before, and in the case of a shared pin (for MPP0
between NF_IO[2] and CSn) this could lead to problems.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
drivers/spi/kirkwood_spi.c | 14 ++
1 files changed, 6 insertions(+), 8
temporarily
save and then restore the mpp configuration.
Changes for v2:
- save MPP configuration with mpp_read function as dicussed on ML
- moved CS pin MPP config to spi_setup_slave only
- add backup fo CS pin in spi_setup_slave and reset in spi_free_slave
Valentin Longchamp (4
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
cc: Holger Brunck
cc: Prafulla Wadaskar
---
drivers/spi/kirkwood_spi.c | 13 -
1 files changed, 12
with CONFIG_SYS_KW_SPI_MPP.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/include/asm/arch-kirkwood/spi.h | 11
drivers/spi/kirkwood_spi.c | 38 ++
2 files changed, 49 insertions(+), 0 deletions
Hi Prafulla,
On 05/31/2012 10:30 AM, Prafulla Wadaskar wrote:
>> -Original Message-
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 30 May 2012 21:12
>> To: Prafulla Wadaskar
>> Cc: Valentin Longchamp; holger.bru...@keymile
On 05/31/2012 10:36 AM, Prafulla Wadaskar wrote:
>> -Original Message-
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 30 May 2012 21:12
>> To: Prafulla Wadaskar
>> Cc: Valentin Longchamp; holger.bru...@keymile.com; u-
>> b
On 05/31/2012 10:49 AM, Prafulla Wadaskar wrote:
>
>
>> -Original Message-----
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 31 May 2012 14:14
>> To: Prafulla Wadaskar
>> Cc: holger.bru...@keymile.com; u-boot@lists.d
with this saved list as first
(mpp_conf) argment will set the configuration back.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/cpu/arm926ejs/kirkwood/mpp.c| 14 --
arch/arm/include/asm/arch-kirkwood/mpp.h |2 +-
2 files changed
:
- moved mpp_read function functionality into mpp_conf function
- fixed all calls to mpp_conf so that they are compliant with the
newly necessary mpp_conf prototype
Valentin Longchamp (5):
kirkwood: add save functionality kirkwood_mpp_conf function
kirkwood: fix calls to
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
cc: Holger Brunck
cc: Prafulla Wadaskar
---
drivers/spi/kirkwood_spi.c | 13 -
1 files changed, 12
with CONFIG_SYS_KW_SPI_MPP.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/include/asm/arch-kirkwood/spi.h | 11 +
drivers/spi/kirkwood_spi.c | 36 ++
2 files changed, 47 insertions(+), 0 deletions
This was not done before, and in the case of a shared pin (for MPP0
between NF_IO[2] and CSn) this could lead to problems.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
drivers/spi/kirkwood_spi.c | 15 ++-
1 files changed, 6 insertions(+), 9
With the new second save argument introduced by the previous patch, all
the calls to the function had to be fixed.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
board/LaCie/net2big_v2/net2big_v2.c |2 +-
board/LaCie/netspace_v2/netspace_v2.c
Hi Luka,
On 06/01/2012 01:02 AM, Luka Perkov wrote:
> Hi Valentin,
>
> On Thu, May 31, 2012 at 04:17:52PM +0200, Valentin Longchamp wrote:
>> If a second non NULL argument is given to the kirkwood_mpp_conf
>> function, it will be used to store the current configuration of
with this saved list as first
(mpp_conf) argment will set the configuration back.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/cpu/arm926ejs/kirkwood/mpp.c| 10 +-
arch/arm/include/asm/arch-kirkwood/mpp.h |2 +-
2 files changed, 10
:
- moved mpp_read function functionality into mpp_conf function
- fixed all calls to mpp_conf so that they are compliant with the
newly necessary mpp_conf prototype
Changes for v4:
- minor fix in the mpp_conf function
Valentin Longchamp (5):
kirkwood: add save
This was not done before, and in the case of a shared pin (for MPP0
between NF_IO[2] and CSn) this could lead to problems.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
drivers/spi/kirkwood_spi.c | 15 ++-
1 files changed, 6 insertions(+), 9
with this saved list as first
(mpp_conf) argment will set the configuration back.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/cpu/arm926ejs/kirkwood/mpp.c| 10 +-
arch/arm/include/asm/arch-kirkwood/mpp.h |2 +-
2 files changed, 10
With the new second save argument introduced by the previous patch, all
the calls to the function had to be fixed.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
board/LaCie/net2big_v2/net2big_v2.c |2 +-
board/LaCie/netspace_v2/netspace_v2.c
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
cc: Holger Brunck
cc: Prafulla Wadaskar
---
drivers/spi/kirkwood_spi.c | 13 -
1 files changed, 12
with CONFIG_SYS_KW_SPI_MPP.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
arch/arm/include/asm/arch-kirkwood/spi.h | 11 +
drivers/spi/kirkwood_spi.c | 36 ++
2 files changed, 47 insertions(+), 0 deletions
with the bootcount_ram driver and it
works as expected on this platform.
Tested-by: Valentin Longchamp
>
> Signed-off-by: Stefan Roese
> Cc: Heiko Schocher
> Cc: Valentin Longchamp
> Cc: Christian Riesch
> Cc: Manfred Rudigier
> Cc: Mike Frysinger
> Cc: Rob Herring
Hi Marek and Prafulla,
On 06/01/2012 03:03 PM, Marek Vasut wrote:
> Dear Prafulla Wadaskar,
>
>>> -Original Message-
>>> From: Marek Vasut [mailto:ma...@denx.de]
>>> Sent: 31 May 2012 16:37
>>> To: u-boot@lists.denx.de
>>> Cc: Marek Vasut; Prafulla Wadaskar; Wolfgang Denk
>>> Subject: [PA
Hi Prafulla,
On 06/05/2012 04:21 PM, Prafulla Wadaskar wrote:
>> -Original Message-
>> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com]
>> Sent: 01 June 2012 17:01
>> To: Prafulla Wadaskar
>> Cc: u-boot@lists.denx.de; Valentin Longchamp; Holge
implementation for read_dip_switch
arm/km: fix testpin detection for kmcoge5un
Valentin Longchamp (12):
arm/km: enable spi claim bus
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 in the reset_phy
This used to be done with registers direct access, which is not clear
and optimal.
Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm/km_arm.c | 53 +---
include/configs/km
This is required for all our keymile ARM boards. The selected MPPs are
the default one for the SPI controller, thus the 0x0 definition.
Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
---
include/configs/km/km_arm.h |3 +++
1 files changed, 3 insertions(+), 0
So that they can be redefined by some boards specific values.
Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
arch/arm/include/asm/arch-kirkwood/config.h | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff
: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/common/common.h |6 +
board/keymile/km_arm/Makefile |4 +
board/keymile/km_arm/km_arm.c | 26 +-
board/keymile/km_arm/managed_switch.c | 166
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
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/km_arm
between the simple switch and the kirkwood.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
MAINTAINERS |1 +
board/keymile/km_arm/128M16-1.cfg | 294 +
board
From: Holger Brunck
Remove config options from boards.cfg and simply add one switch
per board and differ afterwards in km_kirkwood.h between the features.
More boards are upcoming and therefore it's easier to have this
at one place.
Signed-off-by: Holger Brunck
Signed-off-by: Val
This can be used if we do not want to use an EEPROM for the
configuration.
Signed-off-by: Valentin Longchamp
---
board/keymile/common/common.h |7 --
board/keymile/km_arm/managed_switch.c | 169 +++--
board/keymile/km_arm/managed_switch.h | 99
config option name is CONFIG_KM_FPGA_CONFIG
Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
cc: Gerlando Falauto
cc: Prafulla Wadaskar
---
board/keymile/common/common.h |6 +
board/keymile/km_arm/Makefile |4 +
board/keymile/km_arm/fpga_config.c | 212
From: Holger Brunck
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
Signed-off-by: Valentin Longchamp
cc: Prafulla Wadaskar
---
board/keymile/km_arm/km_arm.c | 26
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
---
board/keymile/km_arm/fpga_config.c | 41
1 - 100 of 501 matches
Mail list logo