[U-Boot] [PATCH v6 2/5] i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

2013-06-12 Thread dirk . eibach
From: Reinhard Pfau p...@gdsys.de if alen is 0: no longer start a write cycle before reading data. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v6: None Changes in v5: - fix

[U-Boot] [PATCH v3 6/6] powerpc/ppc4xx: Remove CONFIG_SYS_FLASH_PROTECTION from gdsys boards

2013-06-11 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de CONFIG_SYS_FLASH_PROTECTION was active on most gdsys boards by default, while hardware flash protection was not implemented. Hardware support was added recently and we get into trouble because backward compatibility is broken (u-boot can't unprotect the protected

[U-Boot] [PATCH v3 4/6] powerpc/ppc4xx: Support gdsys multichannel iocon hardware

2013-06-11 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: - adapt to powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA - squashed with powerpc/ppc4xx: Fixup phy erratum on gdsys iocon

[U-Boot] [PATCH v3 3/6] powerpc/ppc4xx: Add fpgad command for dumping gdsys fpga registers

2013-06-11 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: - adapt to powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA Changes in v2: - move cmd_fpgad to common and fix whitespace issues

[U-Boot] [PATCH v3 5/6] powerpc/ppc4xx: Consider gdsys FPGA OSD size

2013-06-11 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de OSD size was constant 32x16 characters. Now the size is set as announced by the FPGA. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: None Changes in v2: None board/gdsys/common/osd.c | 34 ++ 1 file changed

[U-Boot] [PATCH v3 1/6] powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA

2013-06-11 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de A set of accessor functions was added to be able to access not only memory mapped FPGA in a generic way. Thanks to Wolfgang Denk for getting this sorted properly. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc

[U-Boot] [PATCH v3 2/6] powerpc/ppc4xx: Add gdsys mclink interface

2013-06-11 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de mclink is a serial interface for communication between gdsys FPGA. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: - adapt to powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA

[U-Boot] [PATCH v3 0/6] Update gdsys ppc4xx-based boards

2013-06-11 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc This series depends on the Bring in new I2C framework series by Heiko Schocher. Patch powerpc/ppc4xx: Add bitbang i2c interface for gdsys boards was dropped in favor of using the new framework. Changes in v3: - adapt to powerpc/ppc4xx: Use generic

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-28 Thread Dirk Eibach
Hello Wolfgang, would you please have a look at this? I need some feedback to get this finally sorted. Cheers Dirk 2013/5/15 Dirk Eibach dirk.eib...@gdsys.cc: Hello Wolfgang, sorry for the delay, I had to clean some other things on my ToDoList. I cleaned up my patchseries and wanted

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-28 Thread Dirk Eibach
Hello Wolfgang, would you please have a look at this? I need some feedback to get this finally sorted. Cheers Dirk 2013/5/15 Dirk Eibach dirk.eib...@gdsys.cc: Hello Wolfgang, sorry for the delay, I had to clean some other things on my ToDoList. I cleaned up my patchseries and wanted

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-15 Thread Dirk Eibach
Hello Wolfgang, sorry for the delay, I had to clean some other things on my ToDoList. I cleaned up my patchseries and wanted to start implementing your proposal. And ran into a problem. Remember, the basic reason for the the generic FPGA accessors was, that we have a certain amount of

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-08 Thread Dirk Eibach
Hi Wolfgang, thanks for investing so much time into this. It is really appreciated. Am 08.05.2013 12:13, schrieb Wolfgang Denk: Dear Dirk, In message 58ff5023adcbf08481bc2707b0a70...@gdsys.cc you wrote: in my example we have four FPGAs. One is memory mapped while the other three are not.

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-07 Thread Dirk Eibach
Hi Wolfgang, +void fpga_set_reg(unsigned int fpga, u16 reg, u16 data) +{ + int res; + struct ihs_fpga *fpga_0 = (struct ihs_fpga *)CONFIG_SYS_FPGA_BASE(0); + + switch (fpga) { + case 0: + out_le16((u16 *)fpga_0 + reg / sizeof(u16), data); + break;

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-07 Thread Dirk Eibach
Am 07.05.2013 13:36, schrieb Wolfgang Denk: Dear Dirk Eibach, In message cf2913653766edc89705f49e08758...@gdsys.cc you wrote: OK - but I don't see why mclink_send() could not be used in the same way, i. e. taking a struct member as argument? Certainly it *can* be used using *pointers

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-07 Thread Dirk Eibach
Hi Wolfgang, in my example we have four FPGAs. One is memory mapped while the other three are not. They all have the same register interface which is mapped by struct ihs_fpga { u16 reflection_low; u16 versions; ... u16 mc_tx_address; u16 mc_tx_data;

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-05-06 Thread Dirk Eibach
i2c adpaters in the board config file. - drop CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_ADAPTERS - Some adaptions for the keymile boards, so we can drop CONFIG_I2C_MUX completely - add ppc4xx_i2c driver, ported from Dirk Eibach Serie compiles clean on arm and powerpc Ported i2c drivers

[U-Boot] [PATCH v2 04/10] powerpc/ppc4xx: Use generic FPGA accessors in gdsys common code

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None board/gdsys/405ep/405ep.c | 12 +++ board/gdsys/common/osd.c | 70 +--- 2 files changed, 38 insertions(+), 44 deletions(-) diff --git

[U-Boot] [PATCH v2 01/10] powerpc/ppc4xx: Add generic accessor functions for gdsys FPGA

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de A set of accessor functions was added to be able to access not only memory mapped FPGA in a generic way. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None include/gdsys_fpga.h |5 + 1 files changed, 5 insertions(+), 0 deletions

[U-Boot] [PATCH v2 0/10] Update gdsys ppc4xx-based boards

2013-05-06 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc This series depends on the Bring in new I2C framework series by Heiko Schocher. Changes in v2: - fpga_state has been moved to arch_global_data - include cmd_fpgad in iocon - move cmd_fpgad to common and fix whitespace issues - update email account - use

[U-Boot] [PATCH v2 10/10] powerpc/ppc4xx: Remove CONFIG_SYS_FLASH_PROTECTION from gdsys boards

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de CONFIG_SYS_FLASH_PROTECTION was active on most gdsys boards by default, while hardware flash protection was not implemented. Hardware support was added recently and we get into trouble because backward compatibility is broken (u-boot can't unprotect the protected

[U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None board/gdsys/405ep/dlvision-10g.c | 20 ++-- board/gdsys/405ep/io.c | 20 ++-- board/gdsys/405ep/neo.c | 17 + board

[U-Boot] [PATCH v2 02/10] powerpc/ppc4xx: Add gdsys mclink interface

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de mclink is a serial interface for communication between gdsys FPGA. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: - update email account board/gdsys/common/Makefile |2 +- board/gdsys/common/mclink.c | 140

[U-Boot] [PATCH v2 05/10] powerpc/ppc4xx: Support gdsys multichannel iocon hardware

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: - fpga_state has been moved to arch_global_data - include cmd_fpgad in iocon - use multibus soft-i2c in iocon board/gdsys/405ep/iocon.c | 253

[U-Boot] [PATCH v2 07/10] powerpc/ppc4xx: Fixup phy erratum on gdsys iocon hardware

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de Marvell 88E1518 has an erratum that requires fixing up. This patch checks for presence of this phy and adds code for fixup. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None board/gdsys/405ep/iocon.c | 214

[U-Boot] [PATCH v2 09/10] powerpc/ppc4xx: Consider gdsys FPGA OSD size

2013-05-06 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de OSD size was constant 32x16 characters. Now the size is set as announced by the FPGA. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None board/gdsys/common/osd.c | 34 ++ 1 files changed, 18 insertions

Re: [U-Boot] [PATCH v2 05/10] powerpc/ppc4xx: Support gdsys multichannel iocon hardware

2013-05-06 Thread Dirk Eibach
Dear Wolfgang, Dear dirk.eib...@gdsys.cc, In message 1367847325-21463-6-git-send-email-dirk.eib...@gdsys.cc you wrote: From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: - fpga_state has been moved to arch_global_data - include cmd_fpgad

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-06 Thread Dirk Eibach
Hi Wolfgang, ... We strictly discourage using a notation of base address plus offset, and require to use proper C structs instead, especially because this allows type checking by the compiler. I am very well aware of that. You had the this, and now attempt to throw it away. This makes no

Re: [U-Boot] [PATCH v2 04/10] powerpc/ppc4xx: Use generic FPGA accessors in gdsys common code

2013-05-06 Thread Dirk Eibach
Hi Tom, On Mon, May 06, 2013 at 04:07:15PM +0200, Wolfgang Denk wrote: Dear dirk.eib...@gdsys.cc, In message 1367847325-21463-5-git-send-email-dirk.eib...@gdsys.cc you wrote: ... + fpga_set_reg(k, REG(reflection_low), +

Re: [U-Boot] [PATCH v2 05/10] powerpc/ppc4xx: Support gdsys multichannel iocon hardware

2013-05-06 Thread Dirk Eibach
Hi Wolfgang, Dear Dirk Eibach, In message 49d89b84e14cf375d9e113fcc15ce...@gdsys.cc you wrote: Please fix the checkpatch errors. if we are talking about: CHECK: Blank lines aren't necessary before a close brace '}' #491: FILE: include/configs/iocon.h:141: + +#define CONFIG_SYS_CH7301_I2C

Re: [U-Boot] [PATCH v2 04/10] powerpc/ppc4xx: Use generic FPGA accessors in gdsys common code

2013-05-06 Thread Dirk Eibach
Hi Tom, On Mon, May 06, 2013 at 05:02:12PM +0200, Dirk Eibach wrote: Hi Tom, On Mon, May 06, 2013 at 04:07:15PM +0200, Wolfgang Denk wrote: Dear dirk.eib...@gdsys.cc, In message 1367847325-21463-5-git-send-email-dirk.eib...@gdsys.cc you wrote: ... + fpga_set_reg(k

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-06 Thread Dirk Eibach
Hi Wolfgang, Am 06.05.2013 17:22, schrieb Wolfgang Denk: Dear Dirk Eibach, In message e8fccb4d422d619744521268691e5...@gdsys.cc you wrote: You had the this, and now attempt to throw it away. This makes no sense. In fact it does. We have FPGAs that are memory mapped and others

[U-Boot] [PATCH v5 6/7] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-04-30 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de MAKEALL is fine for ppc4xx and mpc85xx. Run checks were done on our controlcenterd hardware. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v5: None Changes in v4: - consider CONFIG_CMD_BOOTM for all architectures Changes in v3: None Changes

[U-Boot] [PATCH v5 3/7] mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY

2013-04-30 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de If CONFIG_RELEASE_CORE0_ONLY is set, all cores except core0 are kept in holdoff mode. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/powerpc/cpu/mpc85xx/mp.c |8

[U-Boot] [PATCH v5 5/7] Add Atmel I2C tpm

2013-04-30 Thread dirk . eibach
From: Dirk Eibach eib...@gdsys.de Add support for Atmel TPM devices with two wire interface. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None README

[U-Boot] [PATCH v5 4/7] i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

2013-04-30 Thread dirk . eibach
From: Reinhard Pfau p...@gdsys.de if alen is 0: no longer start a write cycle before reading data. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc --- Changes in v5: - fix i2c_probe Changes in v4: None Changes in v3: None Changes in v2

[U-Boot] [PATCH v5 1/7] Update gdsys email account

2013-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v5: None Changes in v4: None Changes in v3: - fix email addresses Changes in v2: None MAINTAINERS |2 +- arch/powerpc/cpu/ppc4xx/cmd_chip_config.c |2

[U-Boot] [PATCH v5 2/7] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-04-30 Thread dirk . eibach
are enabled with CONFIG_TPM_AUTH_SESSIONS. (Note that this also requires CONFIG_SHA1 to be enabled.) Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v5: None Changes in v4: None Changes in v3: - fix email addresses Changes in v2: - replace

[U-Boot] [PATCH v5 0/7] Add gdsys ControlCenter Digital board

2013-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Changes in v5: - avoid probing dp501 i2c bridge addresses - fix i2c_probe Changes in v4: - consider CONFIG_CMD_BOOTM for all architectures Changes in v3: - fix email addresses Changes in v2: - configuration for SPI builds was missing - replace some

[U-Boot] [PATCH v2 6/7] powerpc: Build arch/powerpc/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None arch/powerpc/lib/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib

[U-Boot] [PATCH v2 4/7] i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

2013-04-26 Thread Dirk Eibach
From: Reinhard Pfau p...@gdsys.de if alen is 0: no longer start a write cycle before reading data. Signed-off-by: Dirk Eibach eib...@gdsys.cc Signed-off-by: Reinhard Pfau p...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: - whitespace fixes drivers/i2c/fsl_i2c.c

[U-Boot] [PATCH v2 1/7] Update gdsys email account

2013-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None MAINTAINERS |2 +- arch/powerpc/cpu/ppc4xx/cmd_chip_config.c |2 +- arch/powerpc/include/asm/ppc4xx_config.h |2 +- board/gdsys/405ep/405ep.c |2 +- board/gdsys

[U-Boot] [PATCH v2 5/7] Add Atmel I2C tpm

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de Add support for Atmel TPM devices with two wire interface. Signed-off-by: Dirk Eibach eib...@gdsys.cc Signed-off-by: Reinhard Pfau p...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None README |6

[U-Boot] [PATCH v2 2/7] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-04-26 Thread Dirk Eibach
are enabled with CONFIG_TPM_AUTH_SESSIONS. (Note that this also requires CONFIG_SHA1 to be enabled.) Signed-off-by: Reinhard Pfau p...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: - replace some numeric constants with named constants - style fixes (as shown by checkpatch.pl

[U-Boot] [PATCH v2 3/7] mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de If CONFIG_RELEASE_CORE0_ONLY is set, all cores except core0 are kept in holdoff mode. Signed-off-by: Dirk Eibach eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v2: None arch/powerpc/cpu/mpc85xx/mp.c |8 ++-- 1 files

[U-Boot] [PATCH v2 0/7] Add gdsys ControlCenter Digital board

2013-04-26 Thread Dirk Eibach
Changes in v2: - replace some numeric constants with named constants - style fixes (as shown by checkpatch.pl) in common/cmd_tpm.c and lib/tpm.c - whitespace fixes - configuration for SPI builds was missing - whitespace fixes Dirk Eibach (5): Update gdsys email account mpc85xx: Add

[U-Boot] [PATCH v3 2/7] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-04-26 Thread Dirk Eibach
are enabled with CONFIG_TPM_AUTH_SESSIONS. (Note that this also requires CONFIG_SHA1 to be enabled.) Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: - fix email addresses Changes in v2: - replace some numeric constants with named

[U-Boot] [PATCH v3 4/7] i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

2013-04-26 Thread Dirk Eibach
From: Reinhard Pfau p...@gdsys.de if alen is 0: no longer start a write cycle before reading data. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc --- Changes in v3: None Changes in v2: - whitespace fixes drivers/i2c/fsl_i2c.c |9

[U-Boot] [PATCH v3 5/7] Add Atmel I2C tpm

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de Add support for Atmel TPM devices with two wire interface. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc --- Changes in v3: None Changes in v2: None README |6 ++ drivers/tpm

[U-Boot] [PATCH v3 1/7] Update gdsys email account

2013-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: - fix email addresses Changes in v2: None MAINTAINERS |2 +- arch/powerpc/cpu/ppc4xx/cmd_chip_config.c |2 +- arch/powerpc/include/asm/ppc4xx_config.h |2 +- board/gdsys/405ep/405ep.c

[U-Boot] [PATCH v3 0/7] Add gdsys ControlCenter Digital board

2013-04-26 Thread Dirk Eibach
Changes in v3: - fix email addresses Changes in v2: - replace some numeric constants with named constants - style fixes (as shown by checkpatch.pl) in common/cmd_tpm.c and lib/tpm.c - configuration for SPI builds was missing - whitespace fixes Dirk Eibach (5): Update gdsys email account

[U-Boot] [PATCH v3 6/7] powerpc: Build arch/powerpc/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: None Changes in v2: None arch/powerpc/lib/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile index 59c723b

[U-Boot] [PATCH v3 3/7] mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de If CONFIG_RELEASE_CORE0_ONLY is set, all cores except core0 are kept in holdoff mode. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: None Changes in v2: None arch/powerpc/cpu/mpc85xx/mp.c |8 ++-- 1 files changed, 6 insertions(+), 2

[U-Boot] [PATCH v4 4/7] i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

2013-04-26 Thread Dirk Eibach
From: Reinhard Pfau p...@gdsys.de if alen is 0: no longer start a write cycle before reading data. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc --- Changes in v4: None Changes in v3: None Changes in v2: - whitespace fixes drivers/i2c

[U-Boot] [PATCH v4 2/7] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-04-26 Thread Dirk Eibach
are enabled with CONFIG_TPM_AUTH_SESSIONS. (Note that this also requires CONFIG_SHA1 to be enabled.) Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v4: None Changes in v3: - fix email addresses Changes in v2: - replace some numeric

[U-Boot] [PATCH v4 1/7] Update gdsys email account

2013-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v4: None Changes in v3: - fix email addresses Changes in v2: None MAINTAINERS |2 +- arch/powerpc/cpu/ppc4xx/cmd_chip_config.c |2 +- arch/powerpc/include/asm/ppc4xx_config.h |2 +- board

[U-Boot] [PATCH v4 5/7] Add Atmel I2C tpm

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de Add support for Atmel TPM devices with two wire interface. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc --- Changes in v4: None Changes in v3: None Changes in v2: None README |6

[U-Boot] [PATCH v4 0/7] Add gdsys ControlCenter Digital board

2013-04-26 Thread Dirk Eibach
- whitespace fixes Dirk Eibach (5): Update gdsys email account mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY Add Atmel I2C tpm Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM mpc85xx: Add gdsys ControlCenter Digital board Reinhard Pfau (2): tpm: add AUTH1 cmds for LoadKey2

[U-Boot] [PATCH v4 3/7] mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de If CONFIG_RELEASE_CORE0_ONLY is set, all cores except core0 are kept in holdoff mode. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v4: None Changes in v3: None Changes in v2: None arch/powerpc/cpu/mpc85xx/mp.c |8 ++-- 1 files changed

[U-Boot] [PATCH v4 6/7] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-04-26 Thread Dirk Eibach
From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v4: - consider CONFIG_CMD_BOOTM for all architectures Changes in v3: None Changes in v2: None arch/arm/lib/Makefile|2 +- arch/avr32/lib/Makefile |2 +- arch/m68k/lib

Re: [U-Boot] [PATCH v4 6/7] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-04-26 Thread Dirk Eibach
Hello Wolfgang, In message 1366963900-2784-7-git-send-email-dirk.eib...@gdsys.cc you wrote: From: Dirk Eibach eib...@gdsys.de Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v4: - consider CONFIG_CMD_BOOTM for all architectures On which boards has this been tested

Re: [U-Boot] [RFC] i2c, ppc4xx_i2c: switch to new multibus/multiadapter support

2013-04-25 Thread Dirk Eibach
Hello Heiko, On 24.04.2013 15:00, Dirk Eibach wrote: Hello Heiko, On 24.04.2013 13:43, Dirk Eibach wrote: Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Cc: Heiko Schocher h...@denx.de Cc: Stefan Roese s...@denx.de --- drivers/i2c/Makefile |2 +- drivers/i2c/ppc4xx_i2c.c | 193

[U-Boot] [RFC] i2c, ppc4xx_i2c: switch to new multibus/multiadapter support

2013-04-24 Thread Dirk Eibach
Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Cc: Heiko Schocher h...@denx.de Cc: Stefan Roese s...@denx.de --- drivers/i2c/Makefile |2 +- drivers/i2c/ppc4xx_i2c.c | 193 +++--- 2 files changed, 97 insertions(+), 98 deletions(-) diff --git

Re: [U-Boot] [RFC] i2c, ppc4xx_i2c: switch to new multibus/multiadapter support

2013-04-24 Thread Dirk Eibach
Hello Heiko, On 24.04.2013 13:43, Dirk Eibach wrote: Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Cc: Heiko Schocher h...@denx.de Cc: Stefan Roese s...@denx.de --- drivers/i2c/Makefile |2 +- drivers/i2c/ppc4xx_i2c.c | 193 +++--- 2 files

[U-Boot] [PATCH 4/6] Add Atmel I2C tpm

2013-04-22 Thread Dirk Eibach
Add support for Atmel TPM devices with two wire interface. Signed-off-by: Dirk Eibach eib...@gdsys.de Signed-off-by: Reinhard Pfau p...@gdsys.de --- README |6 +++ drivers/tpm/Makefile|1 + drivers/tpm/atmel_twi_tpm.c | 119

[U-Boot] [PATCH 5/6] powerpc: Build arch/powerpc/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-04-22 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- arch/powerpc/lib/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile index 59c723b..8c4920b 100644 --- a/arch/powerpc/lib/Makefile +++ b/arch/powerpc/lib/Makefile

[U-Boot] [PATCH 3/6] i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

2013-04-22 Thread Dirk Eibach
From: Reinhard Pfau p...@gdsys.de if alen is 0: no longer start a write cycle before reading data. Signed-off-by: Dirk Eibach eib...@gdsys.de Signed-off-by: Reinhard Pfau p...@gdsys.de --- drivers/i2c/fsl_i2c.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 2/6] mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY

2013-04-22 Thread Dirk Eibach
If CONFIG_RELEASE_CORE0_ONLY is set, all cores except core0 are kept in holdoff mode. Signed-off-by: Dirk Eibach eib...@gdsys.de --- arch/powerpc/cpu/mpc85xx/mp.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/mp.c b/arch/powerpc/cpu

[U-Boot] [PATCH 0/6] Add gdsys ControlCenter Digital board

2013-04-22 Thread Dirk Eibach
Dirk Eibach (4): mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY Add Atmel I2C tpm powerpc: Build arch/powerpc/lib/bootm.o depending on CONFIG_CMD_BOOTM mpc85xx: Add gdsys ControlCenter Digital board Reinhard Pfau (2): tpm: add AUTH1 cmds for LoadKey2 and GetPubKey i2c: fsl_i2c: i2c_read

[U-Boot] [PATCH 1/6] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-04-22 Thread Dirk Eibach
are enabled with CONFIG_TPM_AUTH_SESSIONS. (Note that this also requires CONFIG_SHA1 to be enabled.) Signed-off-by: Reinhard Pfau p...@gdsys.de Signed-off-by: Dirk Eibach eib...@gdsys.de --- README | 14 +++ common/cmd_tpm.c | 93 +++ include/tpm.h| 174

[U-Boot] [PATCH 01/11] powerpc/ppc4xx: Add generic accessor functions for gdsys FPGA

2013-04-22 Thread Dirk Eibach
A set of accessor functions was added to be able to access not only memory mapped FPGA in a generic way. Signed-off-by: Dirk Eibach eib...@gdsys.de --- include/gdsys_fpga.h |5 + 1 file changed, 5 insertions(+) diff --git a/include/gdsys_fpga.h b/include/gdsys_fpga.h index 1758d74

[U-Boot] [PATCH 0/11] Update gdsys ppc4xx-based boards

2013-04-22 Thread Dirk Eibach
Dirk Eibach (11): powerpc/ppc4xx: Add generic accessor functions for gdsys FPGA powerpc/ppc4xx: Add gdsys mclink interface powerpc/ppc4xx: Add fpgad command for dumping gdsys fpga registers powerpc/ppc4xx: Add bitbang i2c interface for gdsys boards powerpc/ppc4xx: Use generic FPGA

[U-Boot] [PATCH 02/11] powerpc/ppc4xx: Add gdsys mclink interface

2013-04-22 Thread Dirk Eibach
mclink is a serial interface for communication between gdsys FPGA. Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/common/Makefile |2 +- board/gdsys/common/mclink.c | 140 +++ board/gdsys/common/mclink.h | 31 ++ 3 files changed

[U-Boot] [PATCH 03/11] powerpc/ppc4xx: Add fpgad command for dumping gdsys fpga registers

2013-04-22 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/common/Makefile |2 +- board/gdsys/common/cmd_fpga.c | 94 + 2 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 board/gdsys/common/cmd_fpga.c diff --git a/board/gdsys

[U-Boot] [PATCH 04/11] powerpc/ppc4xx: Add bitbang i2c interface for gdsys boards

2013-04-22 Thread Dirk Eibach
This adds an i2c bitbang interface that can coexist with processor i2c. Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/common/Makefile |2 +- board/gdsys/common/bb_i2c.c | 304 +++ board/gdsys/common/bb_i2c.h | 76 +++ 3 files

[U-Boot] [PATCH 05/11] powerpc/ppc4xx: Use generic FPGA accessors in gdsys common code

2013-04-22 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/405ep/405ep.c | 12 board/gdsys/common/osd.c | 70 + 2 files changed, 38 insertions(+), 44 deletions(-) diff --git a/board/gdsys/405ep/405ep.c b/board/gdsys/405ep/405ep.c index

[U-Boot] [PATCH 06/11] powerpc/ppc4xx: Support gdsys multichannel iocon hardware

2013-04-22 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/405ep/iocon.c | 253 ++--- include/configs/iocon.h | 37 --- include/gdsys_fpga.h | 15 ++- 3 files changed, 248 insertions(+), 57 deletions(-) diff --git a/board/gdsys/405ep

[U-Boot] [PATCH 09/11] powerpc/ppc4xx: Increase timeout for gdsys mclink bus startup

2013-04-22 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/common/mclink.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/gdsys/common/mclink.c b/board/gdsys/common/mclink.c index 6c86145..641a327 100644 --- a/board/gdsys/common/mclink.c +++ b/board/gdsys

[U-Boot] [PATCH 08/11] powerpc/ppc4xx: Fixup phy erratum on gdsys iocon hardware

2013-04-22 Thread Dirk Eibach
Marvell 88E1518 has an erratum that requires fixing up. This patch checks for presence of this phy and adds code for fixup. Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/405ep/iocon.c | 214 + include/configs/iocon.h |3 + 2 files

[U-Boot] [PATCH 10/11] powerpc/ppc4xx: Consider gdsys FPGA OSD size

2013-04-22 Thread Dirk Eibach
OSD size was constant 32x16 characters. Now the size is set as announced by the FPGA. Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/common/osd.c | 35 +++ 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/board/gdsys/common/osd.c b

[U-Boot] [PATCH 11/11] powerpc/ppc4xx: Remove CONFIG_SYS_FLASH_PROTECTION from gdsys boards

2013-04-22 Thread Dirk Eibach
decided to disable hardware flash protection for all our boards. Signed-off-by: Dirk Eibach eib...@gdsys.de --- include/configs/dlvision-10g.h |3 +-- include/configs/dlvision.h |3 +-- include/configs/io.h |3 +-- include/configs/iocon.h|3 +-- include

[U-Boot] [PATCH 07/11] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-04-22 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/405ep/dlvision-10g.c | 20 ++-- board/gdsys/405ep/io.c | 20 ++-- board/gdsys/405ep/neo.c | 17 + board/gdsys/405ex/405ex.c| 14 ++ board/gdsys

[U-Boot] [PATCH v4] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-05-07 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Timur Tabi ti...@freescale.com --- Changes in v2: - add Cc - split up original patch series Changes in v3: - use clrsetbits() instead of clrbits()/setbits() - remove dead code - remove unnecessary #undef Changes in v4: - Add some documentation - set

[U-Boot] [PATCH v3] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-05-02 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Timur Tabi ti...@freescale.com --- Changes in v2: - add Cc - split up original patch series Changes in v3: - use clrsetbits() instead of clrbits()/setbits() - remove dead code - remove unnecessary #undef board/freescale/p1022ds/p1022ds.c |3

[U-Boot] [PATCH] powerpc/ppc4xx: Remove typedefs for gdsys FPGA

2012-04-27 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Stefan Roese s...@denx.de --- board/gdsys/405ep/405ep.c|3 +- board/gdsys/405ep/dlvision-10g.c |4 +- board/gdsys/405ep/io.c |4 +- board/gdsys/405ep/iocon.c|2 +- board/gdsys/405ep/neo.c |2

[U-Boot] [PATCH 6/8] powerpc: Update gdsys board configurations

2012-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- include/configs/gdppc440etx.h |4 include/configs/intip.h |4 ++-- include/configs/io.h |6 +- include/configs/io64.h|2 +- include/configs/iocon.h |6 +- 5 files changed, 17 insertions

[U-Boot] [PATCH 4/8] powerpc: Support gdsys dlvision-10g hardware 1.20

2012-04-26 Thread Dirk Eibach
In hardware revision 1.20 one more fan controller is added to dlvision-10g. Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/405ep/dlvision-10g.c | 12 +++- include/configs/dlvision-10g.h |4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/board

[U-Boot] [PATCH 2/8] ppc4xx: Make gdsys 405ep boards reset more generic

2012-04-26 Thread Dirk Eibach
In order to add boards that have different hardware for fpga reset, any 405ep gdsys board now provides these functions: void gd405ep_init(void); void gd405ep_set_fpga_reset(unsigned state); void gd405ep_setup_hw(void); int gd405ep_get_fpga_done(unsigned fpga); Signed-off-by: Dirk Eibach eib

[U-Boot] [PATCH 8/8] powerpc: Add sdcard and spi boot support to P1022DS

2012-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/freescale/p1022ds/p1022ds.c |4 ++ board/freescale/p1022ds/tlb.c | 10 ++ boards.cfg|4 ++ include/configs/P1022DS.h | 63 ++--- 4 files changed, 76 insertions

[U-Boot] [PATCH 1/8] ppc4xx: Adjust environment size on neo

2012-04-26 Thread Dirk Eibach
Environment size on neo has to be 0x2 for compatibilty reasons. Signed-off-by: Dirk Eibach eib...@gdsys.de --- include/configs/neo.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/neo.h b/include/configs/neo.h index 8de5aaf..6559353 100644

[U-Boot] [PATCH 7/8] powerpc: Fix typo in gdsys_fpga.h

2012-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- include/gdsys_fpga.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/gdsys_fpga.h b/include/gdsys_fpga.h index 555fbe2..bfa656f 100644 --- a/include/gdsys_fpga.h +++ b/include/gdsys_fpga.h @@ -115,7 +115,7 @@ typedef

[U-Boot] [PATCH 3/8] powerpc: Adapt gdsys 405ep boards to platform changes

2012-04-26 Thread Dirk Eibach
Print fpga info at last_stage_init on gdsys 405ep boards. Use dtt_init() to startup fans. Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/405ep/dlvision-10g.c | 28 - board/gdsys/405ep/io.c | 41 + board/gdsys

[U-Boot] [PATCH 5/8] Consider CONFIG_ZERO_BOOTDELAY_CHECK when CONFIG_AUTOBOOT_KEYED is set

2012-04-26 Thread Dirk Eibach
When CONFIG_ZERO_BOOTDELAY_CHECK is not defined, bootdelay==0 prevents the check for console input (as stated in README.autoboot). This must also work in CONFIG_AUTOBOOT_KEYED mode. Signed-off-by: Dirk Eibach eib...@gdsys.de --- common/main.c |5 + 1 files changed, 5 insertions(+), 0

[U-Boot] [PATCH v2 1/6] powerpc/ppc4xx: Adjust environment size on neo

2012-04-26 Thread Dirk Eibach
Environment size on neo has to be 0x2 for compatibilty reasons. Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Stefan Roese s...@denx.de --- Changes in v2: - add Cc - split up original patch series include/configs/neo.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 0/6] Various gdsys ppc4xx boards revised

2012-04-26 Thread Dirk Eibach
Dirk Eibach (6): powerpc/ppc4xx: Adjust environment size on neo powerpc/ppc4xx: Make gdsys 405ep boards reset more generic powerpc/ppc4xx: Adapt gdsys 405ep boards to platform changes powerpc/ppc4xx: Support gdsys dlvision-10g hardware 1.20 powerpc/ppc4xx: Update gdsys board

[U-Boot] [PATCH v2 5/6] powerpc/ppc4xx: Update gdsys board configurations

2012-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Stefan Roese s...@denx.de --- Changes in v2: - add Cc - split up original patch series include/configs/gdppc440etx.h |4 include/configs/intip.h |4 ++-- include/configs/io.h |6 +- include/configs/io64.h

[U-Boot] [PATCH v2 6/6] powerpc/ppc4xx: Fix typo in gdsys_fpga.h

2012-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Stefan Roese s...@denx.de --- Changes in v2: - add Cc - split up original patch series include/gdsys_fpga.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/gdsys_fpga.h b/include/gdsys_fpga.h index 555fbe2..bfa656f

[U-Boot] [PATCH v2 2/6] powerpc/ppc4xx: Make gdsys 405ep boards reset more generic

2012-04-26 Thread Dirk Eibach
In order to add boards that have different hardware for fpga reset, any 405ep gdsys board now provides these functions: void gd405ep_init(void); void gd405ep_set_fpga_reset(unsigned state); void gd405ep_setup_hw(void); int gd405ep_get_fpga_done(unsigned fpga); Signed-off-by: Dirk Eibach eib

[U-Boot] [PATCH v2 3/6] powerpc/ppc4xx: Adapt gdsys 405ep boards to platform changes

2012-04-26 Thread Dirk Eibach
Print fpga info at last_stage_init on gdsys 405ep boards. Use dtt_init() to startup fans. Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Stefan Roese s...@denx.de --- Changes in v2: - add Cc - split up original patch series board/gdsys/405ep/dlvision-10g.c | 28

[U-Boot] [PATCH v2 4/6] powerpc/ppc4xx: Support gdsys dlvision-10g hardware 1.20

2012-04-26 Thread Dirk Eibach
In hardware revision 1.20 one more fan controller is added to dlvision-10g. Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Stefan Roese s...@denx.de --- Changes in v2: - add Cc - split up original patch series board/gdsys/405ep/dlvision-10g.c | 12 +++- include/configs/dlvision-10g.h

[U-Boot] [PATCH v2] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-04-26 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Timur Tabi ti...@freescale.com --- Changes in v2: - add Cc - split up original patch series board/freescale/p1022ds/p1022ds.c |4 ++ board/freescale/p1022ds/tlb.c | 10 ++ boards.cfg|4 ++ include/configs

<    1   2   3   4   >