[U-Boot] [PATCH v2] hwmon: Add LM63 support

2008-10-08 Thread Dirk Eibach
This patch adds support for the National LM63 temperature sensor with integrated fan control. It's used on the GDSys Neo board (405EP) which will be submitted later. Signed-off-by: Dirk Eibach [EMAIL PROTECTED] Acked-by: Stefan Roese [EMAIL PROTECTED] --- Sorry for the noise, Outlook messed up

[U-Boot] [PATCH] ppc4xx: Add GDSys neo 405EP board support

2008-10-08 Thread Dirk Eibach
Signed-off-by: Dirk Eibach [EMAIL PROTECTED] --- MAINTAINERS|4 + MAKEALL|1 + Makefile |3 + board/gdsys/neo/Makefile | 51 ++ board/gdsys/neo/config.mk | 24 + board/gdsys/neo/neo.c | 101

[U-Boot] [PATCH] ppc4xx: Setup HICB on Io64

2012-01-02 Thread Dirk Eibach
The FPGA High-Speed Interconnect Bus (HICB) is now setup by u-boot. Signed-off-by: Dirk Eibach eib...@gdsys.de --- board/gdsys/405ex/io64.c | 16 include/gdsys_fpga.h |5 - 2 files changed, 20 insertions(+), 1 deletions(-) diff --git a/board/gdsys/405ex/io64.c b

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] [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

[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

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

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 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-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-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

[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

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

2013-06-12 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Changes in v6: - Add CONFIG_PCI_INDIRECT_BRIDGE to controlcenterd.h - Add MAINTAINERS entry - drop mpc85xx: Add CONFIG_RELEASE_CORE0_ONLY and use mp_holdoff instead - rename CONFIG_ATMEL_TWI_TPM to CONFIG_TPM_ATMEL_TWI - rename drivers/tpm/atmel_twi_tpm.c

[U-Boot] [PATCH v6 3/5] Add Atmel I2C tpm

2013-06-12 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 Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v6: - rename CONFIG_ATMEL_TWI_TPM

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

2013-06-12 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: - fix email addresses

[U-Boot] [PATCH v6 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-06-12 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 Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v6: None Changes in v5: None Changes in v4: - consider

[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

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

2013-06-20 Thread Dirk Eibach
Hello Heiko, What is the status of this series now please? I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open. actually I thought it would go into the current release :( What's the reason for the delay? I

Re: [U-Boot] [PATCH v6 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-06-20 Thread Dirk Eibach
Hi Andy, 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 Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc You don't need two sign-offs. patman puts

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

2013-06-20 Thread Dirk Eibach
Hello Heiko, 2013/6/20 Heiko Schocher h...@denx.de: Hello Dirk, Am 20.06.2013 08:52, schrieb Dirk Eibach: Hello Heiko, What is the status of this series now please? I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow

Re: [U-Boot] [PATCH v6 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-06-20 Thread Dirk Eibach
2013/6/20 Dirk Eibach dirk.eib...@gdsys.cc: Hi Andy, 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 Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc You

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

2013-06-20 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 v4: - Move changes ins osd.c to proper commit

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

2013-06-20 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 v4: None Changes in v3: - adapt to powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA - squashed with powerpc/ppc4xx

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

2013-06-20 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 v4 4/6] powerpc/ppc4xx: Support gdsys multichannel iocon hardware

2013-06-20 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v4: - Move changes ins osd.c to proper commit - do not use common FPGA register accessors here Changes in v3: - adapt to powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA - squashed

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

2013-06-20 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v4: None 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 - update email account

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

2013-06-20 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 --- Changes in v4: - Move unrelated changes ins

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

2013-06-20 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 v4: None Changes in v3: None Changes in v2: None board/gdsys/common/osd.c | 34

[U-Boot] [PATCH v7 3/5] Add Atmel I2C tpm

2013-06-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 v7: None Changes in v6: - rename CONFIG_ATMEL_TWI_TPM to CONFIG_TPM_ATMEL_TWI - rename

[U-Boot] [PATCH v7 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-06-26 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 v7: None Changes in v6: None Changes in v5: None Changes in v4: - consider CONFIG_CMD_BOOTM for all

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

2013-06-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 Acked-by: Heiko Schocher h...@denx.de --- Changes in v7: None Changes in v6: None Changes in v5

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

2013-06-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 Acked-by: Che-Liang Chiou clch...@chromium.org --- Changes in v7: None Changes in v6: None Changes in v5

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

2013-06-26 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Changes in v7: - access FPGA by C struct instead of base+offset - braces for multiline statement - clarify that boot commands are already NUL-terminated - insert some blank lines to serparate declarations and code - remove CONFIG_HDBOOT which was not used

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

2013-06-26 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 v5: None Changes in v4: None Changes in v3: - adapt to powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA - squashed

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

2013-06-26 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc This series depends on i2c multibus support. It was rebased on the latest multibus branch at http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=shortlog;h=refs/heads/20130620_multibus_v2 Patch powerpc/ppc4xx: Add bitbang i2c interface for gdsys boards

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

2013-06-26 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 v5 1/6] powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA

2013-06-26 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 --- Changes in v5: - add board/gdsys/common/fpga.c

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

2013-06-26 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: - adapt to powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA Changes in v2: - move cmd_fpgad to common and fix whitespace issues - update

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

2013-06-26 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: - Move changes ins osd.c to proper commit - do not use common FPGA register accessors here Changes in v3: - adapt to powerpc/ppc4xx: Use generic accessor functions

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

2013-06-26 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 v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/gdsys/common/osd.c | 34

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-02 Thread Dirk Eibach
Hi Andy, If you've got changes outstanding still, please start gently poking custodians with patchwork links. I've got a good bit of stuff I need to deal with myself still, but please prod me all the same. my series [PATCH v7 0/5] Add gdsys ControlCenter Digital board is still missing. You

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-16 Thread Dirk Eibach
:43PM +0200, Dirk Eibach wrote: Hi Andy, If you've got changes outstanding still, please start gently poking custodians with patchwork links. I've got a good bit of stuff I need to deal with myself still, but please prod me all the same. my series [PATCH v7 0/5] Add gdsys ControlCenter

[U-Boot] [PATCH v1 4/4] powerpc/ppc4xx: Fix dlvision-10g reset gpio

2013-08-09 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- include/configs/dlvision-10g.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/dlvision-10g.h b/include/configs/dlvision-10g.h index a03c462..68e5246 100644

[U-Boot] [PATCH v1 3/4] powerpc/ppc4xx: Do full iocon PHY initialization in software

2013-08-09 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Up to this point some PHY initialization was done from the FPGA and some from u-boot. From now all initialization is done from u-boot. To keep this maintainable a PHY setup machine was implemented that can execute commands from initialization arrays. Signed

[U-Boot] [PATCH v1 2/4] powerpc/ppc4xx: Add support for iocon-2

2013-08-09 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Add a new iocon flavor with a second communiction port per channel. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/405ep/iocon.c | 36 +--- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git

[U-Boot] [PATCH v1 0/4] Fixes on gdsys boards and some new functionality

2013-08-09 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Since I will be on parental leave soon, Reinhard will probably take over maintaining this series at some point. Dirk Eibach (4): powerpc/ppc4xx: Add support for iocon fiber powerpc/ppc4xx: Add support for iocon-2 powerpc/ppc4xx: Do full iocon PHY

[U-Boot] [PATCH v1 1/4] powerpc/ppc4xx: Add support for iocon fiber

2013-08-09 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Add a new iocon flavor with fiber instead of copper connectivity. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/405ep/iocon.c | 44 1 file changed, 36 insertions(+), 8 deletions(-) diff --git

[U-Boot] legacy I2C_GET_BUS()/I2C_SET_BUS() not working anymore

2013-08-19 Thread Dirk Eibach
Hello Heiko, your commit 385c9ef5 introduced in include/i2c.h #if defined(CONFIG_SYS_I2C) || defined(CONFIG_I2C_MULTI_BUS) # if !defined(CONFIG_SYS_MAX_I2C_BUS) # define CONFIG_SYS_MAX_I2C_BUS 2 # endif # define I2C_MULTI_BUS 0 #else # define CONFIG_SYS_MAX_I2C_BUS 1 # define I2C_MULTI_BUS 0

[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

  1   2   3   4   >