[U-Boot] [PATCH 17/21] arm/km: convert mgcoge3un target to km_kirkwood

2012-03-21 Thread Holger Brunck
Use the generic header km_kirkwood.h and get rid of the board specific header. Signed-off-by: Holger Brunck Acked-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c |9 ++-- boards.cfg|2 +- include/configs

[U-Boot] [PATCH 20/21] arm/km: enable BOCO2 FPGA download support

2012-03-21 Thread Holger Brunck
still are supported. The config option name is CONFIG_KM_FPGA_CONFIG Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar cc: Holger Brunck --- board/keymile/common/common.h |6 + board/keymile/km_arm/Makefile |4 + board/keymile/km_arm/fpga_config.c

[U-Boot] [PATCH 19/21] arm/km: correct init of 88e6352 switch in the reset_phy function

2012-03-21 Thread Holger Brunck
address. Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar cc: Holger Brunck --- 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

[U-Boot] [PATCH 15/21] arm/km: add kmnusa board support

2012-03-21 Thread Holger Brunck
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 | 290 + board/keymile/km_arm/km_arm.c

[U-Boot] [PATCH 18/21] arm/km: remove portl2.h and use km_kirkwood instead

2012-03-21 Thread Holger Brunck
The additional headerfile is unneeded here, we can use the generic km_kirkwood.h instead. And we can use the better config option KM_PIGGY4_88E6061 for the specific features for boards with this design in km_arm.c. Signed-off-by: Holger Brunck Acked-by: Valentin Longchamp cc: Gerlando Falauto

[U-Boot] [PATCH 21/21] arm/km: cleanup km_kirkwood boards

2012-03-21 Thread 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 cc: Valentin Longchamp cc: Gerlando Falaut

Re: [U-Boot] [PATCH 14/21] mvgbe: remove warning for unused methods

2012-03-22 Thread Holger Brunck
ct MAC/MAC interface. >> For them we need to get rid of compiler warnings. >> >> Signed-off-by: Stefan Bigler >> cc: Valentin Longchamp >> cc: Gerlando Falauto >> cc: Prafulla Wadaskar >> cc: Holger Brunck >> --- >> drivers/net/mvgbe

Re: [U-Boot] [PATCH 10/21] spi/kirkwood: add weak functions board_spi_bus_claim/release

2012-03-22 Thread Holger Brunck
>> some HW designs. >> >> Signed-off-by: Valentin Longchamp >> cc: Gerlando Falauto >> cc: Prafulla Wadaskar >> cc: Holger Brunck >> --- > > Pls post this as standalone patch, does not have any dependency. > Exclude from this patch series. >

Re: [U-Boot] arm: pRAM support?

2009-07-22 Thread Holger brunck
on it? > > Well, if you want to do it Right (TM) that means we would take this > chance and fix the ARM memory map, which implies to implement > relocation to a dynamicalle detemined relocation address. > can you explain this a little bit more i

[U-Boot] [PATCH] ppc, 8xx: remove obsolete km8xx baords from keymile

2011-01-13 Thread Holger Brunck
The MPC852 based mgsuvd and kmsupx4 boards boards from keymile were initially ported but later on not developed further. So the respective files were removed to avoid unneeded merging and maintenance. Signed-off-by: Holger Brunck --- board/keymile/km8xx/Makefile | 48 - board

[U-Boot] [PATCH v2] ppc, 8xx: remove obsolete km8xx boards from keymile

2011-01-13 Thread Holger Brunck
The MPC852 based mgsuvd and kmsupx4 boards from keymile were initially ported but later on not developed further. So the respective files were removed to avoid unneeded merging and maintenance. Signed-off-by: Holger Brunck --- Changes for v2: - fix typos in commit message

[U-Boot] [PATCH v3] ppc, 8xx: remove obsolete km8xx boards from keymile

2011-01-18 Thread holger . brunck
From: Holger Brunck The MPC852 based mgsuvd and kmsupx4 boards from keymile were initially ported but later on not developed further. So the respective files were removed to avoid unneeded merging and maintenance. Signed-off-by: Holger Brunck Acked-by: Heiko Schocher --- Changes for v3

[U-Boot] [0/6] Patch serie UBI min I/O size fixes

2011-01-20 Thread Holger Brunck
This patch serie fixes a problem in the UBI layer. The min I/O size has currently a fixed value of 1 for NOR flashes. But for NOR flashes the min I/O size has to be equal to the size of the writebuffer of the flash. Therefore the mtd layer was enhanced with the writebuffer which was later on used i

[U-Boot] [PATCH 1/6] mtd: add writebufsize field to mtd_info struct

2011-01-20 Thread Holger Brunck
a system reset causing corrupted (partially written) areas in a flash sector. Knowing the size of potentially corrupted areas UBIFS scanning and recovery algorithms are able to perform successful recovery. Signed-off-by: Holger Brunck --- include/linux/mtd/mtd.h | 11 +++ 1 files cha

[U-Boot] [PATCH 2/6] cfi_mtd: add writebufsize initialization

2011-01-20 Thread Holger Brunck
Initialize mtd->writebufsize to the value obtained by by the CFI informations. Signed-off-by: Holger Brunck --- drivers/mtd/cfi_mtd.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/cfi_mtd.c b/drivers/mtd/cfi_mtd.c index cbcc165..29e32b2 100644 --

[U-Boot] [PATCH 4/6] mtd, onenand: add mtd writebufsize initialization

2011-01-20 Thread Holger Brunck
Initialize mtd->writebufsize to be equal to mtd->writesize. Signed-off-by: Holger Brunck --- drivers/mtd/onenand/onenand_base.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index 2

[U-Boot] [PATCH 3/6] mtd, nand: add mtd->writebufsize initialization

2011-01-20 Thread Holger Brunck
Initialize mtd->writebufsize to be equal to mtd->writesize. Signed-off-by: Holger Brunck --- drivers/mtd/nand/nand_base.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 3b96b0e..26ae720 100644

[U-Boot] [PATCH 5/6] mtd: initialize writebufsize in the MTD object of a partition

2011-01-20 Thread Holger Brunck
Propagate the writebufsize to the partition's MTD object so that UBI can set correct value for it's minimal I/O size using the writebufsize field of MTD object of the partition. Signed-off-by: Holger Brunck --- drivers/mtd/mtdconcat.c |1 + drivers/mtd/mtdpart.c |1 + 2 fil

[U-Boot] [PATCH 6/6] UBI: use mtd->writebufsize to set minimal I/O unit size

2011-01-20 Thread Holger Brunck
tiple bytes in one programming operation using the chip's write buffer. We have to use the size of this write buffer as a minimal I/O unit size for UBI on NOR flash to fix the observed UBIFS recovery issues. Signed-off-by: Holger Brunck --- drivers/mtd/ubi/build.c | 28 +

[U-Boot] [PATCH] arm, keymile: remove unneeded code

2011-01-25 Thread Holger Brunck
On first HW versions the BOCO FPGA was behind a MUX device. These HW versions are not supported anymore. And therefore this code can be removed, it is already unused. Signed-off-by: Holger Brunck --- board/keymile/km_arm/km_arm.c |7 --- 1 files changed, 0 insertions(+), 7 deletions

[U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-01-25 Thread Holger Brunck
From: Andreas Huber This reads the DIP switch on mgcoge. The DIP switch is connected to the BFTICU (0x4089) FPGA. If the DIP switch is set the environment variable 'actual_bank' is set to 0 and starts the SW in bank0. Signed-off-by: Andreas Huber Signed-off-by: Holger Brunck

Re: [U-Boot] [0/6] Patch serie UBI min I/O size fixes

2011-01-27 Thread Holger Brunck
hould be restrained until this problem is solved. See: http://lists.infradead.org/pipermail/linux-mtd/2011-January/033794.html Best regards Holger Brunck ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/6] mtd: add writebufsize field to mtd_info struct

2011-02-01 Thread Holger Brunck
g operation which could be interrupted by a power >> cut or a system reset causing corrupted (partially written) areas >> in a flash sector. Knowing the size of potentially corrupted areas >> UBIFS scanning and recovery algorithms are able to perform >> successful r

Re: [U-Boot] [PATCH 1/6] mtd: add writebufsize field to mtd_info struct

2011-02-01 Thread Holger Brunck
Hi Stefan, Stefan Roese wrote: > >> as I told in another mail, the min I/O size adaption patch leads to >> incompatibilites for the UBIFS and therefore the similar patch in linux >> kernel was reverted. But anyway the first five patches in the patch serie >> are already part of the mtd layer of t

Re: [U-Boot] [PATCH 22/30] km/common: implement setboardid as a command

2011-05-02 Thread Holger Brunck
Hi, On 04/30/2011 10:25 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > <30d7413306aba80ca4540c3353d884bdffe9a643.1302272395.git.valentin.longch...@keymile.com> > you wrote: >> From: Holger Brunck >> >> Read out board id and HW k

Re: [U-Boot] [PATCH 24/30] km/common: add pnvramsize to default environment

2011-05-02 Thread Holger Brunck
Hi Mr. Denk, On 04/30/2011 10:32 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Holger Brunck >> >> The pnvram size was used later from start scripts in linux. Therefore >> it must be set inside u-boot. &

Re: [U-Boot] [PATCH 06/30] powerpc/km82xx: move SDRAM config to board config

2011-05-02 Thread Holger Brunck
Hello, On 04/30/2011 09:56 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > <08249e40b548fff1e636cecf980e11adabda14ac.1302272395.git.valentin.longch...@keymile.com> > you wrote: >> From: Holger Brunck >> >> To be prepared for mgcoge3

Re: [U-Boot] [PATCH 08/30] powerpc/km82xx: rename mgcoge2ne to mgcoge3ne board support

2011-05-02 Thread Holger Brunck
Hello, On 04/30/2011 10:05 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Holger Brunck >> >> This patch rename mgcoge2ne board support to mgcoge3ne. >> The board is similar to mgcoge. The difference is that

Re: [U-Boot] [PATCH 10/30] arm/km: add addbootcount environment variable

2011-05-02 Thread Holger Brunck
Hello, On 04/30/2011 10:09 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Holger Brunck >> >> This environment variable is used to set the bootcount address >> for the kernel. > > "addbootcount&

Re: [U-Boot] [PATCH 23/30] km/common: replace env var checkboardidlist by function

2011-05-02 Thread Holger Brunck
setenv("hwkey", buf); >> +saveenv(); >> +} > > How well has this code been tested? I may not understand it correctly > (which might be an indication that some comments are missing that > actually

Re: [U-Boot] [PATCH 08/30] powerpc/km82xx: rename mgcoge2ne to mgcoge3ne board support

2011-05-02 Thread Holger Brunck
On 05/02/2011 10:42 AM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message <4dbe6962.1010...@keymile.com> you wrote: >> >> the SDRAM configuration is different to mgcoge. And the CFI flash on mgcoge >> has >> a dual die in a single chip and ther

[U-Boot] [PATCH v2 0/7] km82xx mainlining

2011-05-03 Thread Holger Brunck
review and apply for the custodians. This serie adds the km82xx specific parts of the serie. All changes here are only km relevant and should not affect other boards. Holger Brunck (6): km/common: remove hdlc_enet implementation powerpc/km82xx: cleanup coding style for mgcoge.c powerpc/km82xx

[U-Boot] [PATCH v2 2/7] powerpc/km82xx: cleanup coding style for mgcoge.c

2011-05-03 Thread Holger Brunck
Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first large patch serie to three independent smaller patch series - no change in the content of this patch board/keymile

[U-Boot] [PATCH v2 1/7] km/common: remove hdlc_enet implementation

2011-05-03 Thread Holger Brunck
The hdlc implementation for mgcoge was initially developed, but later on not used. Remove the C files, the references in mgcoge.c and the Makefile to decrease maintenance effort. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc

[U-Boot] [PATCH v2 3/7] powerpc/km82xx: rename mgcoge files to km82xx

2011-05-03 Thread Holger Brunck
The directory and file mgcoge was renamed to km82xx. Because other keymile 82xx will follow and will use the same platform code. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first

[U-Boot] [PATCH v2 4/7] powerpc/km82xx: rework DIP switch detection

2011-05-03 Thread Holger Brunck
From: Huber, Andreas Introduce a struct for the BFTICU FPGA to increase the readability of the code. And the define CONFIG_SYS_BFTICU_BASE was removed because the CONFIG_SYS_FPGA_BASE is already the base value for BFTICU registers. Signed-off-by: Andreas Huber Signed-off-by: Holger Brunck

[U-Boot] [PATCH v2 5/7] powerpc/km82xx: add mgcoge3ne and remove mgcoge2ne support

2011-05-03 Thread Holger Brunck
(256MB). Also introduce CONFIG_KM_82XX to collect ppc82xx common settings and remove staticness from the common set_pin function. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first large

[U-Boot] [PATCH v2 6/7] powerpc/km82xx: adapt CONFIG_SYSSYPCR to manual

2011-05-03 Thread Holger Brunck
Reserved bit was changed according to the processors manual. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first large patch serie to three independent smaller patch series

[U-Boot] [PATCH v2 7/7] powerpc/km82xx: add board specific environment variable

2011-05-03 Thread Holger Brunck
On mgcoge3ne a new environment variable bobcatreset is used. So this patch adds a possibility to add board specific environment variables in general and this specific variable for mgcoge3ne. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang

[U-Boot] [PATCH v2 0/8] km/common mainlining

2011-05-04 Thread Holger Brunck
, vsprintf: introduce strict_strtoul which is already posted (http://lists.denx.de/pipermail/u-boot/2011-May/091972.html) but currently not committed. Holger Brunck (5): common/hush: make get_local_var visible for other users km/common: implement setboardid command km/common: fix coding style

[U-Boot] [PATCH v2 2/8] common/hush: make get_local_var visible for other users

2011-05-04 Thread Holger Brunck
We can actually only set from c-code local hush shell variables, with this patch we can also read them from c-code. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first large patch

[U-Boot] [PATCH v2 3/8] km/common: implement setboardid command

2011-05-04 Thread Holger Brunck
Read out board id and HW key from the IVM eeprom and set these values as an environment variable. Signed-off-by: Holger Brunck Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel cc: Valentin Longchamp --- Changes for v2: - split up first large patch serie to three independent

[U-Boot] [PATCH v2 1/8] km/common: fix initial_boot_bank for bootpackages

2011-05-04 Thread Holger Brunck
From: Thomas Herzmann The initial_boot_bank can be set when more than one application is used in a bootpackage. But a value n <> 0 never led to booting from bank n. Instead, bank 0 was booted. This patch fixes this. Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck Signed-

[U-Boot] [PATCH v2 4/8] km/common: implement boardId HWkey checks as u-boot cmd

2011-05-04 Thread Holger Brunck
. In this case the command iterates over the pair values and compares them with the values read from the inventory eeprom. The syntax of such a boardIdListHex value is e.g.: 158_1 159_1 159_2 Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by

[U-Boot] [PATCH v2 5/8] km/common: fix coding style issues in generic header

2011-05-04 Thread Holger Brunck
Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first large patch serie to three independent smaller patch series - no change in the content of this patch include/configs

[U-Boot] [PATCH v2 6/8] keymile boards: move keymile specific header in subdir

2011-05-04 Thread Holger Brunck
From: Valentin Longchamp Collect all keymile specific common headers in include/configs/km. Signed-off-by: Heiko Schocher Signed-off-by: Valentin Longchamp cc: Wolfgang Denk cc: Detlev Zundel cc: Prafulla Wadaskar cc: Kim Phillips cc: Holger Brunck --- Changes for v2: - split up first

[U-Boot] [PATCH v2 7/8] km/common: simplify default environment

2011-05-04 Thread Holger Brunck
identified as obsolete and were removed. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first large patch serie to three independent smaller patch series - no change in the

[U-Boot] [PATCH v2 8/8] km/common: add pnvramsize to default environment

2011-05-04 Thread Holger Brunck
The pnvram size was used later from start scripts in linux. Therefore it was added to the default environment. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v2: - split up first large patch serie

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-05 Thread Holger Brunck
Hi, On 05/04/2011 10:01 PM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message <1295951175-3635-1-git-send-email-holger.bru...@keymile.com> you > wrote: >> From: Andreas Huber >> >> This reads the DIP switch on mgcoge. The DIP switch is connected to

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-05 Thread Holger Brunck
Hi, On 05/05/2011 09:29 AM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message <4dc24dea.7010...@keymile.com> you wrote: >> >>> This patch breaks compiling of the mgcoge2ne board: > ... >> In the already posted patch serie >> http://lists.

Re: [U-Boot] [PATCH v2 4/8] km/common: implement boardId HWkey checks as u-boot cmd

2011-05-05 Thread Holger Brunck
Hi, On 05/05/2011 12:11 AM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message > <02d1e3f265123ff0296b1c38b227f6d30393ee77.1304508448.git.holger.bru...@keymile.com> > you wrote: >> From: Thomas Herzmann >> >> BoardId and HWKey are used to identif

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-06 Thread Holger Brunck
On 05/05/2011 08:16 PM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message <4dc253a5.6010...@keymile.com> you wrote: >> >>> As the merge window is closed, this new patch series will not go into >>> this upcoming release any more. >> >> Sor

[U-Boot] [PATCH] powerpc/km82xx: fix compile issue for mgcoge2ne

2011-05-06 Thread Holger Brunck
commit 91a3c14c (ppc, mgcoge: add DIP switch detection) introduces an compile error due to an missing define in the mgcoge2ne.h. DIP switch detection is valid for both boards. Signed-off-by: Holger Brunck cc: Wolfgang Denk cc: Heiko Schocher --- include/configs/mgcoge2ne.h |3 +++ 1 files

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-06 Thread Holger Brunck
> > If it's not too much of effort, I'd appreciate a separate bug fix, > which I can pull without longer review. Thanks! > Ok done. If the patch was ok and pulled, I send an rebased serie for [PATCH 0/7] km82xx mainlining Best regards Holger Brunck

Re: [U-Boot] [PATCH v2 7/8] km/common: simplify default environment

2011-05-10 Thread Holger Brunck
Hello, On 05/10/2011 11:24 PM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message > <0bbf514662e171fe0a8ef9b53a4819c7839e187e.1304508448.git.holger.bru...@keymile.com> > you wrote: >> This is a first step to simplify the default environment. Move all >>

[U-Boot] [PATCH v3 0/3] km/common mainlining remaining parts

2011-05-11 Thread Holger Brunck
already posted (http://lists.denx.de/pipermail/u-boot/2011-May/091972.html) but currently not committed, and should therefore retained until this patch was pulled. Holger Brunck (2): km/common: simplify default environment km/common: add pnvramsize to default environment Thomas Herzmann (1): km/commo

[U-Boot] [PATCH v3 1/3] km/common: implement boardId HWkey checks as u-boot cmd

2011-05-11 Thread Holger Brunck
. In this case the command iterates over the pair values and compares them with the values read from the inventory eeprom. The syntax of such a boardIdListHex value is e.g.: 158_1 159_1 159_2 Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by

[U-Boot] [PATCH v3 3/3] km/common: add pnvramsize to default environment

2011-05-11 Thread Holger Brunck
The pnvram size was used later from start scripts in linux. Therefore it was added to the default environment. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v3: - no change in the content of the

[U-Boot] [PATCH v3 2/3] km/common: simplify default environment

2011-05-11 Thread Holger Brunck
identified as obsolete and were removed. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v3: - no change in the content of the patch Changes for v2: - split up first large patch serie to three

[U-Boot] [PATCH v4 1/3] km/common: implement boardId HWkey checks as u-boot cmd

2011-05-12 Thread Holger Brunck
. In this case the command iterates over the pair values and compares them with the values read from the inventory eeprom. The syntax of such a boardIdListHex value is e.g.: 158_1 159_1 159_2 Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by

[U-Boot] [PATCH v4 3/3] km/common: add pnvramsize to default environment

2011-05-12 Thread Holger Brunck
The pnvram size was used later from start scripts in linux. Therefore it was added to the default environment. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- changes for v4: - fix small bug introduced in v2

[U-Boot] [PATCH v4 0/3] km/common mainlining remaining parts

2011-05-12 Thread Holger Brunck
This patch serie comprehends the missing parts of the mostly already committed patch serie "v2 km/common mainlining". See: http://lists.denx.de/pipermail/u-boot/2011-May/092323.html Holger Brunck (2): km/common: simplify default environment km/common: add pnvramsize to default e

[U-Boot] [PATCH v4 2/3] km/common: simplify default environment

2011-05-12 Thread Holger Brunck
identified as obsolete and were removed. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel --- Changes for v3 and v4: - nothing Changes for v2: - split up first large patch serie to three independent smaller

Re: [U-Boot] [PATCH v3 8/8] arm/km: update mgcoge3un board support

2011-05-13 Thread Holger Brunck
t;> Cc: holger.bru...@keymile.com; Prafulla Wadaskar; Valentin Longchamp; >> Wolfgang Denk; Detlev Zundel >> Subject: [PATCH v3 8/8] arm/km: update mgcoge3un board support >> >> From: Holger Brunck > > This line should be removed or moved to cc/ack/test list, it will appe

Re: [U-Boot] [PATCH v3 0/8] keymile arm boards update, part 2

2011-05-30 Thread Holger Brunck
Wolfgang to know if it's ok to wait until then would be welcome). > > Thank you and best regards > could you please give us a short note how to proceed with this patch serie? Do we wait until Prafulla is back? Is there still a chance for us that these patches are pulled for rc2? Even if this is not the case a short note would be helpfull for us, that we can prepare our updates for u-boot-next. Thanks. Best regards Holger Brunck ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 00/10] updates for common keymile code

2011-06-06 Thread Holger Brunck
code war moved from common.c to km_82xx.c. CRAMFS and CRAMFS_CMDLINE was enabled for all boards. All keymile boards compile cleanly and checkpatch reports no errors or warnings. Holger Brunck (9): km/common: rework and simplify default environment km/common: simplify debug environment km

[U-Boot] [PATCH 01/10] km/common: rework and simplify default environment

2011-06-06 Thread Holger Brunck
which has done a lot of things in the past, simply erase the current environment and do a reset which forces u-boot to setup the default environment again. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- include/configs/km/keymile-commo

[U-Boot] [PATCH 02/10] km/common: add test sw starting variable

2011-06-06 Thread Holger Brunck
From: Thomas Herzmann The test SW is started when the test_bank variable is set. Signed-off-by: Thomas Herzmann Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk Signed-off-by: Holger Brunck --- include/configs/km/keymile-common.h |2 ++ 1 files changed, 2

[U-Boot] [PATCH 03/10] km/common: simplify debug environment

2011-06-06 Thread Holger Brunck
environment to setup the rootfs in ram Each architecture now has a "arch" variable which is used to load the architecture specific debug scripts and to set the rootpath for NFS. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wol

[U-Boot] [PATCH 05/10] km/common: force set ethaddr after reading IVM

2011-06-06 Thread Holger Brunck
of a MAC address in mvgbe.c. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/common.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/keymile/common/common.c b/board/keymile/common

[U-Boot] [PATCH 06/10] km/common: remove saveenv from do_checkboardidhwkey

2011-06-06 Thread Holger Brunck
This is unneeded here because we save the environment when the board boots the first time. At this time we have set the values already. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/common.c |7 +-- 1

[U-Boot] [PATCH 04/10] km/common: remove obsolete defines and header

2011-06-06 Thread Holger Brunck
These defines and the header keymile_hdlc_enet.h are obsolete due to the removed hdlc code. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/keymile_hdlc_enet.h | 129 -- include/configs

[U-Boot] [PATCH 08/10] km/common: remove fdt_(gs)et_node_and_value

2011-06-06 Thread Holger Brunck
This code is unused and therefore dead code. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/common.c | 55 - 1 files changed, 0 insertions(+), 55 deletions(-) diff --git a

[U-Boot] [PATCH 10/10] km/common: enable cramfs and cramfs cmdline

2011-06-06 Thread Holger Brunck
All the km boards uses CRAMFS images where the kernel is stored. This isn't architecture specific because we use it on ARM and POWERPC. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- include/configs/km/keymile-common.h |4 ++

[U-Boot] [PATCH 07/10] km/common: move ivm functions from to ivm.c

2011-06-06 Thread Holger Brunck
The file common.c grows in the past. So move the IVM specific code into an ivm.c file. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/common.c | 324 +-- board/keymile/common

[U-Boot] [PATCH 09/10] powerpc/km82xx: remove 82xx specific functions from common.c

2011-06-06 Thread Holger Brunck
Common code should be valid for more than one architecture, therefore the km82xx specific code was removed from common.c. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/common.c | 69

[U-Boot] [PATCH 0/6] updates for keymile ARM boards

2011-06-07 Thread Holger Brunck
file. All keymile boards compile cleanly and checkpatch reports no errors or warnings. Holger Brunck (2): arm/km: remove unneeded define arm/km: replace suenx targets with km_kirkwood Valentin Longchamp (4): arm/km: add support for portl2 board arm/km: ethernet support for Port-L2 and

[U-Boot] [PATCH 1/6] arm/km: remove unneeded define

2011-06-07 Thread Holger Brunck
CONFIG_ENV_SIZE for NAND was later in this file overwritten because we have the environment in i2c eeprom, so remove this define. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- include/configs/km/km_arm.h |2 -- 1 files changed

[U-Boot] [PATCH 3/6] arm/km: ethernet support for Port-L2 and mgcoge3un

2011-06-07 Thread Holger Brunck
ction". Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Heiko Schocher --- board/keymile/km_arm/km_arm.c | 45 ++-- 1 files changed, 42 insertions(+), 3 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/

[U-Boot] [PATCH 2/6] arm/km: add support for portl2 board

2011-06-07 Thread Holger Brunck
From: Valentin Longchamp This adds support for the keymile Kirkwood BEC portl2 board. This board relies on the km_arm (km_kirkwood) BEC. The egiga driver is configured for a 100M full-duplex, A/N off connnection to the backplane. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck

[U-Boot] [PATCH 4/6] arm/km: use board KM_ENV_BUS for CONFIG_I2C_ENV_EEPROM_BUS

2011-06-07 Thread Holger Brunck
From: Valentin Longchamp This is defined for all km_kirkwood boards and was not used up to now. This value was the same for all boards but it could be changed for some boards (and thus needs to be defined for every board). Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc

[U-Boot] [PATCH 5/6] arm/km: enable PCIE_INIT for Port-L2

2011-06-07 Thread Holger Brunck
From: Valentin Longchamp Port-L2 uses PCIE. So move the undef of this option from generic km_arm.h to the board specific header. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Heiko Schocher --- include/configs/km/km_arm.h |1 - include/configs

[U-Boot] [PATCH 6/6] arm/km: replace suenx targets with km_kirkwood

2011-06-07 Thread Holger Brunck
the same header file. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- MAINTAINERS|3 +- MAKEALL|2 +- boards.cfg |4

Re: [U-Boot] [PATCH 2/6] arm/km: add support for portl2 board

2011-06-08 Thread Holger Brunck
tch, but I think I can handle this. So I will prepare an update serie 1/5 and a single patch for the portl2 support ok? But only for my curiosity, what the reason for this need? Best regards Holger Brunck ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH 2/6] arm/km: add support for portl2 board

2011-06-08 Thread Holger Brunck
Hi Prafulla, >> On 06/08/2011 10:35 AM, Prafulla Wadaskar wrote: Subject: [PATCH 2/6] arm/km: add support for portl2 board >>> >>> Can you add this board support after this patch series or last patch >> in this series? >>> >> >> hm, 3/6 and 5/6 has dependencies to the portl2 support patch, bu

[U-Boot] [PATCH v2 2/5] arm/km: use board KM_ENV_BUS for CONFIG_I2C_ENV_EEPROM_BUS

2011-06-08 Thread Holger Brunck
From: Valentin Longchamp This is defined for all km_kirkwood boards and was not used up to now. This value was the same for all boards but it could be changed for some boards (and thus needs to be defined for every board). Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc

[U-Boot] [PATCH v2 0/5] updates for km ARM boards and board support for portl2

2011-06-08 Thread Holger Brunck
in the usage of the PCI interface on kirkwood a target km_kirkwood_pci was introduced, but they use all the same header file. All keymile boards compile cleanly and checkpatch reports no errors or warnings. Holger Brunck (2): arm/km: remove unneeded define arm/km: replace suenx targets with k

[U-Boot] [PATCH v2 1/5] arm/km: remove unneeded define

2011-06-08 Thread Holger Brunck
CONFIG_ENV_SIZE for NAND was later in this file overwritten because we have the environment in i2c eeprom, so remove this define. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- Changes for v2: - nothing include/configs/km

[U-Boot] [PATCH v2 3/5] arm/km: ethernet support for mgcoge3un

2011-06-08 Thread Holger Brunck
From: Valentin Longchamp The phy is also configured with "RGMII clock transitions when data stable" and "Class A driver for the direct backplane connection". Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Heiko Schocher

[U-Boot] [PATCH v2 4/5] arm/km: replace suenx targets with km_kirkwood

2011-06-08 Thread Holger Brunck
the same header file. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- Changes for v2: - squashed together with 5/6 from previous serie, because the pci defines belongs logically to this patch - change typo in board

[U-Boot] [PATCH v2 5/5] arm/km: add support for portl2 board

2011-06-08 Thread Holger Brunck
to the marvell switch similar to mgcoge3un. The reset_phy functionality is also the same to mgcoge3un. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Heiko Schocher --- Changes for v2: - add this board support patch to the end of the serie

Re: [U-Boot] [PATCH v2 4/5] arm/km: replace suenx targets with km_kirkwood

2011-06-12 Thread Holger Brunck
Hi Valentin, Prafulla, On 12/06/11 14:09, Longchamp, Valentin wrote: > > During this pull check I observed that u-boot.kwb image generation gives > build errors for all Kirkwood based keymile boards. > > Please kindly check on this and provide a fix. > > I had noticed about this u-boot.kwb ima

Re: [U-Boot] [PATCH v2 4/5] arm/km: replace suenx targets with km_kirkwood

2011-06-13 Thread Holger Brunck
Hi Prafulla, On 06/13/2011 10:58 AM, Prafulla Wadaskar wrote: >> >> So we should add this include and remove some of the defines which are >> part of arch-kirkwood/config.h >> from our km_arm.h. But at one point we have to change arch- >> kirkwood/config.h. There is: >> >> #ifdef CONFIG_CMD_I2C >>

[U-Boot] [PATCH 1/2] arm/kirkwood: if CONFIG_SOFT_I2C is set don't set CONFIG_I2C_MVTWSI

2011-06-14 Thread Holger Brunck
Some boards e.g. keymile arm boards have CONFIG_CMD_I2C switched on but they use soft i2c on kirkwood. So don't switch CONFIG_I2C_MVTWSI on in this case. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- arch/arm/include/asm/arch-kir

[U-Boot] [PATCH 2/2] arm/km: fix u-boot.kwb build breakage

2011-06-14 Thread Holger Brunck
e the CONFIG_SYS_KWD_CONFIG from the arch-kirkwood/config.h and it was removed from the board config. But it was forgotten to include the header. Now the header is included in km_arm.h. Some other defines were obsolete due to this include, these are also removed in this commit. Signed-off-by: H

Re: [U-Boot] [PATCH 2/2] arm/km: fix u-boot.kwb build breakage

2011-06-15 Thread Holger Brunck
Hi Prafulla, On 06/15/2011 09:18 AM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: Tuesday, June 14, 2011 12:42 PM >> To: u-boot@lists.denx.de >> Cc: Holger Brunck; Valentin

[U-Boot] [PATCH v2 2/2] arm/km: fix u-boot.kwb build breakage

2011-06-15 Thread Holger Brunck
e the CONFIG_SYS_KWD_CONFIG from the arch-kirkwood/config.h and it was removed from the board config. But it was forgotten to include the header. Now the header is included in km_arm.h. Some other defines were obsolete due to this include, these are also removed in this commit. Signed-off-by: H

[U-Boot] [PATCH v2 1/2] arm/kirkwood: if CONFIG_SOFT_I2C is set don't set CONFIG_I2C_MVTWSI

2011-06-15 Thread Holger Brunck
Some boards e.g. keymile arm boards have CONFIG_CMD_I2C switched on but they use soft i2c on kirkwood. So don't switch CONFIG_I2C_MVTWSI on in this case. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- changes for v2: - nothing arc

[U-Boot] [PATCH v3 0/5] updates for km ARM boards and board support for portl2

2011-06-15 Thread Holger Brunck
same header file. All keymile boards compile cleanly and checkpatch reports no errors or warnings. Holger Brunck (2): arm/km: remove unneeded define arm/km: replace suenx targets with km_kirkwood Valentin Longchamp (3): arm/km: use board KM_ENV_BUS for CONFIG_I2C_ENV_EEPROM_BUS arm

[U-Boot] [PATCH v3 1/5] arm/km: remove unneeded define

2011-06-15 Thread Holger Brunck
CONFIG_ENV_SIZE for NAND was later in this file overwritten because we have the environment in i2c eeprom, so remove this define. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar cc: Heiko Schocher --- Changes for v3: - rebased Changes for v2

<    1   2   3   4   5   6   >