[U-Boot] [PATCH] at91: reworked support for meesc board

2011-07-19 Thread Matthias Fuchs
The meesc board support was broken. Within this opportunity, I completely reworked the board files. Signed-off-by: Daniel Gorsulowski Signed-off-by: Matthias Fuchs --- V3: -fix white space issues and don't patch boards.cfg V2: -fixed commit description board/esd/meesc/config.mk |

Re: [U-Boot] [PATCH 2/2] [NEXT] Move LDSCRIPT definitions to board config files.

2010-11-30 Thread Matthias Fuchs
; Signed-off-by: Wolfgang Denk > Cc: Matthias Fuchs > Cc: Detlev Zundel > Cc: Heiko Schocher > Cc: Andre Schwarz > Cc: Peter De Schrijver > --- thanks for maintenance. Acked-by: Matthias Fuchs Matthias ___ U-Boot mailing list U-Boot@l

[U-Boot] [PATCH] ppx4xx: remove unused functionality for DU405 boards

2010-09-21 Thread Matthias Fuchs
Remove some unused functionality to make U-Boot build again. Especially PCI is not used on the board. Signed-off-by: Matthias Fuchs --- include/configs/DU405.h | 31 +-- 1 files changed, 5 insertions(+), 26 deletions(-) diff --git a/include/configs/DU405.h b

[U-Boot] [PATCH] ppc4xx: Fix APC405 board support

2010-08-25 Thread Matthias Fuchs
Opps, after a long time I tested recent u-boot on our APC405 board. This simple fix makes networking work again. Signed-off-by: Matthias Fuchs --- include/configs/APC405.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/APC405.h b/include/configs/APC405

Re: [U-Boot] [PATCH 5/5] New implementation for internal handling of environment variables.

2010-07-29 Thread Matthias Fuchs
Hi Wolfgang, On Wednesday 28 July 2010 23:17, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <201007261652.39368.matthias.fu...@esd-electronics.com> you wrote: > > > > I could think of some situations where the new env command > > is helpful. But

[U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board

2010-07-26 Thread matthias . fuchs
From: Matthias Fuchs Update image size after addition of new environment handling. Signed-off-by: Matthias Fuchs --- board/esd/canbt/config.mk |8 +--- include/configs/CANBT.h |6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/board/esd/canbt/config.mk b

[U-Boot] [PATCH 3/3] ppc4xx: Fix building of PMC440 board

2010-07-26 Thread matthias . fuchs
From: Matthias Fuchs Update image size and default environment after addition of new environment handling. Signed-off-by: Matthias Fuchs --- board/esd/pmc440/config.mk |2 +- include/configs/PMC440.h |8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/board

[U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board

2010-07-26 Thread matthias . fuchs
From: Matthias Fuchs Update image size after addition of new environment handling. Signed-off-by: Matthias Fuchs --- board/esd/ar405/config.mk |9 + include/configs/AR405.h | 10 +- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/board/esd/ar405

[U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch

2010-07-26 Thread matthias . fuchs
From: Matthias Fuchs Fix building various esd boards in u-boot-testing repo's hastable branch. Matthias Fuchs (3): ppc4xx: Fix building of AR405 board ppc4xx: Fix building of CANBT board ppc4xx: Fix building of PMC440 board board/esd/ar405/config.mk |9 + board/esd/

Re: [U-Boot] [PATCH 5/5] New implementation for internal handling of environment variables.

2010-07-26 Thread Matthias Fuchs
Hi Wolfgang, I could think of some situations where the new env command is helpful. But more during development than for production systems. Switching between environment profiles would be cool. And a "env default -f" behavior that keeps MAC addresses and serial# is also on my wishlist. I did so

[U-Boot] [PATCH] ppc4xx: Fix building PLU405 board

2010-05-11 Thread Matthias Fuchs
Due to some overlapping sections it's time to update TEXT_BASE for this board. Signed-off-by: Matthias Fuchs --- board/esd/plu405/config.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/esd/plu405/config.mk b/board/esd/plu405/config.mk index 0fb4efa..0a

Re: [U-Boot] [PATCH] ppc4xx: Add missing APC405 to MAKEALL

2010-04-26 Thread Matthias Fuchs
Stefan, good catch! Thanks for fixing. Matthias Acked-by: Matthias Fuchs On Monday 26 April 2010 13:31, Stefan Roese wrote: > Signed-off-by: Stefan Roese > Cc: Matthias Fuchs > --- > MAKEALL |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --gi

[U-Boot] [PATCH] at91: use C structs for AT91 OHCI code

2010-03-25 Thread Matthias Fuchs
This patch is part of migrating the AT91 support towards using C struct for all SOC access. It removes one more CONFIG_AT91_LEGACY warning. at91_pmc.h needs cleanup after migration of the drivers has been done. Signed-off-by: Matthias Fuchs --- drivers/usb/host/ohci-at91.c | 28

Re: [U-Boot] The purpose of enabling CONFIG_PCI_BOOTDELAY

2010-03-25 Thread Matthias Fuchs
Hi, we've seen platforms where the delay brings you out of problems. Of course this is caused by weird PCI hardware in most cases :-) I must also admit that the implementation of CONFIG_PCI_BOOTDELAY is not usable in all situations. We have some boards (e.g. PMC440) that can be system cpu or PCI

Re: [U-Boot] [PATCH] at91: Get rid of some warnings when building for otc570

2010-03-24 Thread Matthias Fuchs
> Dear Matthias Fuchs, > > In message <201003241016.20459.matthias.fu...@esd.eu> you wrote: > > The soft-i2c code for AT91 defines I2C_SOFT_DECLARATIONS > > for direct access by dereferencing a pio pointer. > > The OTC570 platform uses the AT91 gpio API so it d

[U-Boot] [PATCH] at91: Get rid of some warnings when building for otc570

2010-03-24 Thread Matthias Fuchs
The soft-i2c code for AT91 defines I2C_SOFT_DECLARATIONS for direct access by dereferencing a pio pointer. The OTC570 platform uses the AT91 gpio API so it does not need the pio variable. Signed-off-by: Matthias Fuchs --- include/configs/otc570.h |1 + 1 files changed, 1 insertions(+), 0

[U-Boot] [PATCH] ppc4xx: Fix building for PLU405 boards

2010-02-01 Thread Matthias Fuchs
The init_coupler() function from board/esd/plu405/plu405.c got lost somehow! This patch readds it. Signed-off-by: Matthias Fuchs --- board/esd/plu405/plu405.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/board/esd/plu405/plu405.c b/board

[U-Boot] [PATCH] ppc4xx: Remove unused feature from AR405 board

2010-02-01 Thread Matthias Fuchs
This patch fixes building for AR405 boards by remove an unused feature. Signed-off-by: Matthias Fuchs --- include/configs/AR405.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/AR405.h b/include/configs/AR405.h index 73e34bd..52ead43 100644 --- a

[U-Boot] [PATCH] ppc4xx: Fix building of PMC440 board

2010-02-01 Thread Matthias Fuchs
Remove some unused features and default environment variable to shrink the PMC440 u-boot. Signed-off-by: Matthias Fuchs --- include/configs/PMC440.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h index 6310cfc

Re: [U-Boot] [PATCH] ppc: Don't use getenv_IPaddr() systems without network support

2009-12-22 Thread Matthias Fuchs
Hi Stefan, thanks for fixing this issue. Acked-by: Matthias Fuchs On Tuesday 22 December 2009 13:04, Stefan Roese wrote: > This patch disables the usage of getenv_IPaddr() in lib_ppc/board.c > on systems that don't have network support enabled. > > This fixes the following co

[U-Boot] [PATCH] ppc4xx: Remove unused features from PMC440 board support

2009-11-18 Thread Matthias Fuchs
This patch shrinks the PMC440 u-boot binary (from next branch) to fit into 384kB again. Signed-off-by: Matthias Fuchs --- include/configs/PMC440.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h index d6e2f6b..b0fa81f

[U-Boot] [PATCH] ppc4xx: Remove confusing comment

2009-11-18 Thread Matthias Fuchs
This is not the sequoia board. Signed-off-by: Matthias Fuchs --- board/esd/pmc440/config.mk |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/board/esd/pmc440/config.mk b/board/esd/pmc440/config.mk index 0c4d582..91e65ec 100644 --- a/board/esd/pmc440/config.mk +++ b

Re: [U-Boot] [PATCH 1/3 v2] ppc4xx: Consolidate pci_target_init() function

2009-11-18 Thread Matthias Fuchs
; overridden by a board specific version (e.g. PMC440, korat). > > Signed-off-by: Stefan Roese Acked-by: Matthias Fuchs ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] ppc4xx: Consolidate pci_target_init() function

2009-11-15 Thread Matthias Fuchs
Hi Stefan, good job. Please see two comments and one question below. > This patch removes the duplicted implementations of the pci_target_init() > function by introducing a weak default function for it. This weak default > has a different implementation for 440EP(x)/GR(x) PPC's. It can be > overr

Re: [U-Boot] Please pull u-boot-ppc4xx/next

2009-11-11 Thread Matthias Fuchs
ble in the git repository at: > > git://www.denx.de/git/u-boot-ppc4xx.git next > > Matthias Fuchs (1): > ppc4xx: Add UBI support to PLU405 boards > What happened to the others? ".. init coupler..." etc. Matthias _

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Matthias Fuchs
wrote: > Matthias Fuchs wrote: > > Hi Wolfgang, > > > > this patch conflicts with my simple SJA header posted some days ago > > > > http://lists.denx.de/pipermail/u-boot/2009-October/063097.html > > > > together with a fix for two of our boards - wh

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Matthias Fuchs
ALIE (1<<6) /* Arbitration Lost Interrupt Enable */ > +#define SJA_IER_BEIE (1<<7) /* Bus Error Interrupt Enable */ > + > +/* Output control register */ > +#define SJA_OCR_MODE_BIPHASE 0 > +#define SJA_OCR_MODE_TEST1 > +#define SJA_OCR

Re: [U-Boot] [PATCH 0/6] ppc4xx: Linker script consolidation

2009-10-30 Thread Matthias Fuchs
00hd/u-boot.lds > delete mode 100644 board/sandburst/karef/u-boot.lds > delete mode 100644 board/sandburst/metrobox/u-boot.lds > delete mode 100644 board/sbc405/u-boot.lds > delete mode 100644 board/w7o/u-boot.lds > delete mode 100644 board/xes/xpedite1000/u-boot.lds > delete mode 100644 board/zeus/u-boot.lds > re

Re: [U-Boot] [PATCH 1/2] Add minimal SJA1000 header for basic CAN mode

2009-10-30 Thread Matthias Fuchs
Wolfgang, can you please apply this patch. It currently prevents Stefan to proceed with my other 4xx patches. Alternatively this could be done by Stefan through the 4xx repo. Regards, Matthias On Monday 26 October 2009 09:55, Matthias Fuchs wrote: > This patch is in preparation for the upcom

[U-Boot] [PATCH] ppc4xx: Initialize magnetic coupler on VOM405 boards

2009-10-27 Thread Matthias Fuchs
This patch fixes an ugly behavior of the IL712 magnetic coupler as used on VOM405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs --- board/esd/vom405/vom405.c | 35 +++ 1 files

Re: [U-Boot] [PATCH 0/6] ppc4xx: Linker script consolidation

2009-10-27 Thread Matthias Fuchs
Hi Stefan, that's cool stuff and long time outstanding. I will do some tests on a couple of esd boards. Matthias > This patchset will consolidate the linker scripts for PPC4xx. > My plan is to push this in the next merge window. I've pushed > this patchset in the "4xx-linker-script" branch of t

[U-Boot] [PATCH] ppc4xx: Add UBI support to PLU405 boards

2009-10-27 Thread Matthias Fuchs
-add UBI support -increase malloc'able memory size -cleanup MONITOR|FLASH_BASE|LEN constants Signed-off-by: Matthias Fuchs --- include/configs/PLU405.h | 18 ++ 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/include/configs/PLU405.h b/include/configs/PLU

[U-Boot] [PATCH 2/2 V3] ppc4xx: Initialize magnetic couplers in PLU405

2009-10-26 Thread Matthias Fuchs
This patch fixes an ugly behavior of the IL712 magnetic couplers as used on PLU405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs --- V2: - use C struct to access CAN controller registes V3: - move SJA1000

[U-Boot] [PATCH 1/2] Add minimal SJA1000 header for basic CAN mode

2009-10-26 Thread Matthias Fuchs
This patch is in preparation for the upcoming PLU405 board fix. Signed-off-by: Matthias Fuchs --- include/sja1000.h | 60 + 1 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 include/sja1000.h diff --git a/include/sja1000

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Matthias Fuchs
0] */ > +#define CAN_ERR_LOSTARB_UNSPEC 0x00 /* unspecified */ > + /* else bit number in bitstream */ > + > +/* error status of CAN-controller / data[1] */ > +#define CAN_ERR_CRTL_UNSPEC 0x00 /* unspecified */ > +#define CAN_ERR_CRTL_RX_OVERFLOW 0x01 /*

Re: [U-Boot] [PATCH V2] ppc4xx: Initialize magnetic couplers in PLU405

2009-10-23 Thread Matthias Fuchs
k wrote: > Dear Matthias Fuchs, > > In message <200910231638.11295.matthias.fu...@esd.eu> you wrote: > > This patch fixes an ugly behavior of the IL712 magnetic couplers > > as used on PLU405. These parts will remember their last state > > over a power cycle whic

[U-Boot] [PATCH V2] ppc4xx: Initialize magnetic couplers in PLU405

2009-10-23 Thread Matthias Fuchs
This patch fixes an ugly behavior of the IL712 magnetic couplers as used on PLU405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs --- V2 changes: - use C struct to access CAN controller registes board/esd

[U-Boot] [PATCH] License cleanup: Fix license header for some esd display configurations

2009-10-23 Thread Matthias Fuchs
These files were autogenerated by EPSON configuration tools. This patch replaces the autogenerated file headers by the GPL license notice. This change is done with the explicit permission of Epson Research & Development / IC Software Development. Signed-off-by: Matthias Fuchs --- board

[U-Boot] [PATCH] ppc4xx: Initialize magnetic couplers on PLU405

2009-10-22 Thread Matthias Fuchs
This patch fixes an ugly behavior of the IL712 magnetic couplers as used on PLU405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs --- board/esd/plu405/plu405.c | 33 + include

[U-Boot] [PATCH] ppc4xx: Remove autoupdate feature from PLU405 board

2009-10-22 Thread Matthias Fuchs
The autoupdate feature is not used on PLU405 boards. So remove it. Signed-off-by: Matthias Fuchs --- board/esd/plu405/Makefile |1 - board/esd/plu405/plu405.c | 16 include/configs/PLU405.h |2 -- 3 files changed, 0 insertions(+), 19 deletions(-) diff --git a/board

[U-Boot] [PATCH] ppc4xx: Remove confusing comment

2009-10-22 Thread Matthias Fuchs
This is not the sequoia board. Signed-off-by: Matthias Fuchs --- board/esd/pmc440/config.mk |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/board/esd/pmc440/config.mk b/board/esd/pmc440/config.mk index 0c4d582..91e65ec 100644 --- a/board/esd/pmc440/config.mk +++ b

[U-Boot] [PATCH V2] ppc4xx: Add SDRAM detection for PMC440 boards

2009-09-30 Thread Matthias Fuchs
This patch adds support to detect the amount of DDR2 SDRAM on PMC440 modules. Detection is done by probing through a list of available and supported hardware configurations from 1GByte down to 256MB. The static TLB entry is replaced by dynamically created entries. Signed-off-by: Matthias Fuchs

[U-Boot] [PATCH] ppc4xx: Add SDRAM detection for PMC440 boards

2009-09-29 Thread Matthias Fuchs
This patch adds support to detect the amount of DDR2 SDRAM on PMC440 modules. Detection is done by probing through a list of available and supported hardware configurations from 256MB to 1GByte. The static TLB entry is replaced by dynamically created entries. Signed-off-by: Matthias Fuchs

Re: [U-Boot] [PATCH] board/esd/common/flash.c: Fix compile warning

2009-09-11 Thread Matthias Fuchs
Acked-by: Matthias Fuchs On Friday 11 September 2009 11:18, Wolfgang Denk wrote: > Fix warning: ../common/flash.c:635: warning: dereferencing type-punned > pointer will break strict-aliasing rules > > Signed-off-by: Wolfgang Denk > Cc: Matthias Fuchs > Cc: Stefan Roese

[U-Boot] [PATCH 2/2] ppc4xx: Add CONFIG_PCI_4xx_PTM_OVERWRITE to some esd 4xx boards

2009-09-07 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- include/configs/CPCI405.h |2 ++ include/configs/CPCI4052.h |2 ++ include/configs/CPCI405AB.h |2 ++ include/configs/CPCI405DT.h |2 ++ include/configs/PMC405.h|2 ++ include/configs/PMC405DE.h |2 ++ 6 files changed, 12

[U-Boot] [PATCH 1/2] ppc4xx: Allow overwriting pci target registers for all 4xx boards

2009-09-07 Thread Matthias Fuchs
la, ptm1ms, ptm2la and ptm2ms to do application specific pci target BAR configuration. Signed-off-by: Matthias Fuchs --- cpu/ppc4xx/4xx_pci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/ppc4xx/4xx_pci.c b/cpu/ppc4xx/4xx_pci.c index 5d7d59c..184cef5 100644 --- a/

[U-Boot] [PATCH] ppc4xx: Fix PMC405DE support

2009-09-04 Thread Matthias Fuchs
This patch fixes PMC405DE support. Patch 85d6bf0b fixed out-of-tree building for this board but the loadpci object did not get linked after that. Signed-off-by: Matthias Fuchs --- board/esd/pmc405de/Makefile |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/board/esd

Re: [U-Boot] PCIe switch questions

2009-08-14 Thread Matthias Fuchs
Hi, we are using U-Boot on PPC405 and PPC440EPx CPU in systems that have a lot of PCIe switches and PCIe/PCI bridges. Even multiple cascaded switches and bridges :-) U-Boot has no problems with these architecture. But of course nobody really knows if there are issue that you might run into. Mat

[U-Boot] [PATCH] ppc4xx: Replace 4xx lowercase SPR references

2009-07-22 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- This patch replaces my patch from yesterday titled [PATCH V2] ppc4xx: use SPRN_TCR macro instead of tcr board/esd/pmc440/pmc440.c |2 +- board/mpl/mip405/mip405.c |2 +- board/mpl/pip405/pip405.c |2 +- board/netstal/hcu5/hcu5.c

[U-Boot] [PATCH V6] ppc4xx: Add 405EP based PMC405DE board

2009-07-22 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- patch v2: - coding style cleanup - added CONFIG_PHY1_ADDR patch v3: - refactor PLL reconfiguration code - beautify some one-line-functions patch v4: - remove 'sbe' command - add CONFIG_CMD_CHIP_CONF

Re: [U-Boot] [PATCH V5] ppc4xx: Add 405EP based PMC405DE board

2009-07-22 Thread Matthias Fuchs
Dear Wolfgang, On Wednesday 22 July 2009 11:41, Wolfgang Denk wrote: > Dear Stefan Roese, > > In message <200907220936.55822...@denx.de> you wrote: > > Hi Wolfgang, > > > > On Wednesday 22 July 2009 09:26:09 Wolfgang Denk wrote: > > > > +struct ppc4xx_config ppc4xx_config_val[] = { > > > > + > >

Re: [U-Boot] [PATCH V5] ppc4xx: Add 405EP based PMC405DE board

2009-07-22 Thread Matthias Fuchs
On Wednesday 22 July 2009 09:26, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <12481717431327-git-send-email-matthias.fu...@esd.eu> you wrote: > > patch v2: > > - coding style cleanup > > - added CONFIG_PHY1_ADDR > > patch v3: >

Re: [U-Boot] [PATCH V5] ppc4xx: Add 405EP based PMC405DE board

2009-07-22 Thread Matthias Fuchs
h, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de > = > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/l

Re: [U-Boot] [U-boot][PATCH] AMCC ppc4xx /PLLOUTB/CPU clock/ Default bootstrap options A, B, C, D

2009-07-21 Thread Matthias Fuchs
Hi Rupjyoti, On Tuesday 21 July 2009 14:20, Rupjyoti Sarmah wrote: > Unstable 440EPx operation due to default bootsrtap options settings. > The 440EPx fixed bootstrap options A,B,C,D sets PLL FWDVA to a value 1 > that results PLLOUTB being greater > than the CPU clock frequency. This results unsta

Re: [U-Boot] [U-boot][PATCH] AMCC ppc4xx /PLLOUTB/CPU clock/ Default bootstrap options A, B, C, D

2009-07-21 Thread Matthias Fuchs
Two more: 1) you do not need to add [U-Boot] to your subject. That's done automatically. 2) patches for the 4xx architecture should have a "ppc4xx:" prefix and not "AMCC ...". Matthias On Tuesday 21 July 2009 14:20, Rupjyoti Sarmah wrote: > Unstable 440EPx operation due to default bootsrtap opt

Re: [U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-21 Thread Matthias Fuchs
Did you have a look into include ppc440.h? It contains the "old" IBM copyright and (!!!) a GPL header with copyrights from five IBM people. Hmm, does this bring us any further? Matthias On Thursday 09 July 2009 11:51, Stefan Roese wrote: > On Thursday 09 July 2009 11:24:39 Matthia

Re: [U-Boot] [PATCH V2] ppc4xx: use SPRN_TCR macro instead of tcr

2009-07-21 Thread Matthias Fuchs
On Tuesday 21 July 2009 12:06, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <200907211154.16125.matthias.fu...@esd.eu> you wrote: > > This patch migrates 4xx code from using the lowercase tcr macro > > to the SPRN_TCR macro. Both macros have been defined

[U-Boot] [PATCH V5] ppc4xx: Add 405EP based PMC405DE board

2009-07-21 Thread Matthias Fuchs
t for GPIO access - use set/clrbits_be32 to modify GPIO registers - add CPLD register struct patch v5: - add patch history to commit message Signed-off-by: Matthias Fuchs --- MAINTAINERS |1 + MAKEALL |1 +

[U-Boot] [PATCH V2] ppc4xx: use SPRN_TCR macro instead of tcr

2009-07-21 Thread Matthias Fuchs
field. Doing more such migration and getting rid of many defines from include/ppc405.h and include/ppc440.h should be put on our TODO list. patch v2: better use SPRN_TCR instead of TCR Signed-off-by: Matthias Fuchs --- cpu/ppc4xx/cpu_init.c |4 ++-- cpu/ppc4xx/interrupts.c |8

[U-Boot] [PATCH] ppc4xx: Add 405EP based PMC405DE board

2009-07-20 Thread matthias . fuchs
From: Matthias Fuchs Signed-off-by: Matthias Fuchs --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/esd/pmc405de/Makefile | 53 board/esd/pmc405de/chip_config.c | 47 board/esd/pmc405de

Re: [U-Boot] [PATCH v5] Add "chip_config" command for PPC4xx bootstrap configuration

2009-07-20 Thread Matthias Fuchs
Works fine! Thanks. Acked-by: Matthias Fuchs On Monday 20 July 2009 08:26, Stefan Roese wrote: > This patch adds a generic command for programming I2C bootstrap > eeproms on PPC4xx. An implementation for Canyonlands board is > included. > > The command name is intentionally c

[U-Boot] [PATCH 1/2] ppc4xx: use TCR macro instead of tcr

2009-07-20 Thread matthias . fuchs
From: Matthias Fuchs This patch migrates 4xx code from using the lowercase tcr macro to the uppercase TCR macro. Both macros have been defined in the past. So one is to much and uppercase macros are much more common. The lowercase macro conflicts with the upcoming introduction of the

[U-Boot] [PATCH 2/2] ppc4xx: Add struct for 4xx GPIO controller registers

2009-07-20 Thread matthias . fuchs
From: Matthias Fuchs Signed-off-by: Matthias Fuchs --- include/asm-ppc/gpio.h | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/asm-ppc/gpio.h b/include/asm-ppc/gpio.h index fc05dc0..23e29b1 100644 --- a/include/asm-ppc/gpio.h +++ b

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-19 Thread Matthias Fuchs
Stefan, On Sunday 19 July 2009 09:55:10 Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <4a619c0f.20...@esd.eu> you wrote: > > When writing more bytes to an eeprom than it's actual pagesize you have > > to take special care. This is done in eeprom_write

Re: [U-Boot] [PATCH V2] ppc4xx: Add 405EP based PMC405DE board

2009-07-18 Thread Matthias Fuchs
Hi Wolfgang and Stefan, Wolfgang Denk schrieb: > Of course you can. The cure is simple: > > Fix "include/ppc405.h" so we get rid of this silly "base address + > offset" notation and use proper C structures instead. > > > Oh, and while we are at it - "include/ppc440.h" has more of this stuff

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-18 Thread Matthias Fuchs
Hi Wolfgang, Wolfgang Denk schrieb: > Dear Matthias Fuchs, > > In message <200907172157.12244.matthias.fu...@esd.eu> you wrote: > ... > > [450+ lines of full quote deleted.] > > Please quote only relevant code snippets. Thanks. > >>>

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Matthias Fuchs
> done (dump via 'i2c md 52 0.1 10') > Reset the board for the changes to take effect > > Other 4xx boards will be migrated to use this command soon > as well. > > Signed-off-by: Stefan Roese > Signed-off-by: Dirk Eibach > Cc: Matthias Fuchs > --- > v3:

Re: [U-Boot] No reply to USB related questions

2009-07-17 Thread Matthias Fuchs
Hi Dushara, you posted your question just seven hours ago! A huge part of the u-boot community is typically in bed at the time you posted. Not everybody is in your timezone. I wrote this email within the first 20 mintues after I arrived at my desk this morning. Perhaps we should introduce a u-boo

Re: [U-Boot] [PATCH] Add bootstrap command

2009-07-16 Thread Matthias Fuchs
> Dear Matthias Fuchs, > > In message <200907161547.17433.matthias.fu...@esd.eu> you wrote: > > > > > Hi Dirk, > > > > > > On Wednesday 15 July 2009 16:46:12 Mike Frysinger wrote: > > > > On Wednesday 15 July 2009 09:48:00 Dirk Eibach

[U-Boot] [PATCH] ppc4xx: Cleanup PLU405 board code

2009-07-16 Thread Matthias Fuchs
Some Coding style cleanup (braces, whitespaces, long lines) Signed-off-by: Matthias Fuchs --- board/esd/plu405/plu405.c | 118 +++- 1 files changed, 62 insertions(+), 56 deletions(-) diff --git a/board/esd/plu405/plu405.c b/board/esd/plu405/plu405.c

Re: [U-Boot] [PATCH] Add bootstrap command

2009-07-16 Thread Matthias Fuchs
> On Thursday 16 July 2009 17:00:00 Matthias Fuchs wrote: > > > > > Any other good ideas > > > > > about this naming welcome. :) > > > > > > > > We called this command "sbe" on our PMC440 (440EPx) and upcoming > > > > P

Re: [U-Boot] [PATCH] Add bootstrap command

2009-07-16 Thread Matthias Fuchs
On Thursday 16 July 2009 16:06, Stefan Roese wrote: > On Thursday 16 July 2009 15:47:17 Matthias Fuchs wrote: > > > > "bootstrap" is pretty generic. can you pick something a little more > > > > descriptive/specific ? > > > > > > I agree wit

Re: [U-Boot] [PATCH] Add bootstrap command

2009-07-16 Thread Matthias Fuchs
Please see my comments below. On Wednesday 15 July 2009 15:48, Dirk Eibach wrote: ... > diff --git a/common/cmd_bootstrap.c b/common/cmd_bootstrap.c > new file mode 100644 > index 000..6fceb23 > --- /dev/null > +++ b/common/cmd_bootstrap.c > @@ -0,0 +1,75 @@ > +/* > + * (C) Copyright 2009 >

Re: [U-Boot] [PATCH] Add bootstrap command

2009-07-16 Thread Matthias Fuchs
On Thursday 16 July 2009 15:21, Stefan Roese wrote: > Hi Dirk, > > On Wednesday 15 July 2009 16:46:12 Mike Frysinger wrote: > > On Wednesday 15 July 2009 09:48:00 Dirk Eibach wrote: > > > This adds a generic command for programming I2C bootstrap eeproms. > > > Implementation for Canyonlands board

[U-Boot] [PATCH V3] ppc4xx: Add 405EP based PMC405DE board

2009-07-16 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/esd/pmc405de/Makefile | 51 board/esd/pmc405de/config.mk | 23 ++ board/esd/pmc405de/pmc405de.c | 575

Re: [U-Boot] [PATCH V2] ppc4xx: Add 405EP based PMC405DE board

2009-07-16 Thread Matthias Fuchs
Hi Wolfgang, On Wednesday 15 July 2009 17:08, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <200907151251.25985.matthias.fu...@esd.eu> you wrote: > > Signed-off-by: Matthias Fuchs > > --- > ... > > diff --git a/board/esd/pmc405de/pmc405de.c b/b

[U-Boot] [PATCH V2] ppc4xx: Add 405EP based PMC405DE board

2009-07-15 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/esd/pmc405de/Makefile | 51 board/esd/pmc405de/config.mk | 23 ++ board/esd/pmc405de/pmc405de.c | 590

[U-Boot] [PATCH] ppc4xx: Add 405EP based PMC405DE board

2009-07-13 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/esd/pmc405de/Makefile | 51 board/esd/pmc405de/config.mk | 23 ++ board/esd/pmc405de/pmc405de.c | 587

Re: [U-Boot] [PATCH RESEND] Added support for splash screen positioning

2009-07-13 Thread Matthias Fuchs
On Thursday 09 July 2009 16:07, Matthias Weisser wrote: > This patch adds support splash image positioning by adding an > additional variable "splashpos" to the environment. Please see > README for details. > > Signed-off-by: Matthias Weisser Works fine!

Re: [U-Boot] [PATCH RESEND] Added support for splash screen positioning

2009-07-09 Thread Matthias Fuchs
On Thursday 09 July 2009 11:45, Matthias Weisser wrote: > Hi Matthias > > >>> Matthias Fuchs schrieb am 06.07.2009 um > 11:23: > > Hi, > > > > I posted a similiar patch a long time ago: > > > > http://lists.denx.de/pipermail/u-boot/2007-July

Re: [U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-09 Thread Matthias Fuchs
On Thursday 09 July 2009 11:00, Stefan Roese wrote: > On Thursday 09 July 2009 10:44:13 Matthias Fuchs wrote: > > I just checked the nine years old initial version of 405gp_pci.c: > > > > http://ppcboot.cvs.sourceforge.net/viewvc/ppcboot/ppcboot/cpu/ppc4xx/405gp_ > >pci

Re: [U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-09 Thread Matthias Fuchs
Hi, On Wednesday 08 July 2009 22:57, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <200907082251.27180.matthias.fu...@esd-electronics.com> you wrote: > > > > Do we have some old PPCBoot CVS accessible somewhere? I want to find out > > what exa

Re: [U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-08 Thread Matthias Fuchs
ok, to come back to the technical side: Do we have some old PPCBoot CVS accessible somewhere? I want to find out what exactly is covers by the IBM license. That can't be much. Matthias > Dear Matthias Fuchs, > > In message <200907082024.37153.matthias.fu...@esd-electroni

Re: [U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-08 Thread Matthias Fuchs
Hi, > Dear Matthias Fuchs, > > In message <200907081621.51898.matthias.fu...@esd.eu> you wrote: > > > > > On Wednesday 08 July 2009 15:40:08 Matthias Fuchs wrote: > > > > I am just cleaning up cpu/ppc4xx/4xx_pci.c (mainly coding style stuff). > &g

Re: [U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-08 Thread Matthias Fuchs
On Wednesday 08 July 2009 15:57, Stefan Roese wrote: > Hi Matthias, > > On Wednesday 08 July 2009 15:40:08 Matthias Fuchs wrote: > > I am just cleaning up cpu/ppc4xx/4xx_pci.c (mainly coding style stuff). > > I am wondering about the file's header. I think even when thi

[U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-08 Thread Matthias Fuchs
Hi, I am just cleaning up cpu/ppc4xx/4xx_pci.c (mainly coding style stuff). I am wondering about the file's header. I think even when this code comes initially from IBM there is not much left from original IBM code. So can we replace the header with the widely used GPL template? And what about th

[U-Boot] [PATCH] ppc4xx: Set default PCI device ID for 405EP boards

2009-07-08 Thread Matthias Fuchs
Current code only sets the PCI vendor id to 0x1014 and leaved device id to 0x. Ths patch a) uses the correct PCI_VENDOR_ID_IBM macro for this b) sets the default device ID as stated in the UM to 0x0156 by using PCI_DEVICE_ID_IBM_405GP for this. Signed-off-by: Matthias Fuchs --- cpu

[U-Boot] [PATCH] ppc4xx: Move 405EP pci code from cpu_init_f() to __pci_pre_init()

2009-07-08 Thread Matthias Fuchs
the arbiter is still enabled in any case, but from weak pci_pre_init() so that it can be replaced by board specific code. Signed-off-by: Matthias Fuchs --- cpu/ppc4xx/4xx_pci.c | 14 ++ cpu/ppc4xx/cpu_init.c |5 - 2 files changed, 14 insertions(+), 5 deletions(-) diff --g

[U-Boot] [PATCH] ppc4xx: Make is_pci_host() available for all 440 and 405 CPUs

2009-07-08 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- include/common.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/common.h b/include/common.h index ff4f821..1fe2043 100644 --- a/include/common.h +++ b/include/common.h @@ -275,7 +275,8 @@ voidpci_init_board(void

[U-Boot] [PATCH] ppc4xx: Make pll_write global

2009-07-06 Thread Matthias Fuchs
() when it is required). Signed-off-by: Matthias Fuchs --- cpu/ppc4xx/start.S |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index ac96fc2..582c781 100644 --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -2021,6 +2021,7

Re: [U-Boot] [PATCH RESEND] Added support for splash screen positioning

2009-07-06 Thread Matthias Fuchs
NULL) { > + int x = 0, y = 0; > + > addr = simple_strtoul (s, NULL, 16); > + if ((s = strchr (s, ' ')) != NULL) { > + x = simple_strtoul (s + 1, NULL, 0); > + if ((s = strchr (s + 1, ' ')) !=

[U-Boot] [PATCH] ppc4xx: Implement is_pci_host() for 405 CPUs

2009-07-03 Thread Matthias Fuchs
more readable. Also using is_pci_host() on 405 brings 405 and 440 PCI code a little bit closer. In preparation for an upcoming 405EP based PMC module I made this function weak so that it can be overwritten from board specific code. Signed-off-by: Matthias Fuchs --- cpu/ppc4xx/4xx_pci.c | 19

[U-Boot] [PATCH] Add ESD PCI vendor ID

2009-07-03 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- include/pci_ids.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/pci_ids.h b/include/pci_ids.h index ae642b1..400c540 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@ -1519,6 +1519,8 @@ #define

Re: [U-Boot] [PATCH 2/5] 74xx_7xx: CPCI750: Add loadpci command

2009-06-05 Thread Matthias Fuchs
Hi Stefan, please leave the code as is. It is already used in a project and so modifying the parameter type may no change. On Friday 05 June 2009 05:39, Stefan Roese wrote: > Hi Matthias, > > On Thursday 04 June 2009 19:40:19 Matthias Fuchs wrote: > > doen't it make sense to

Re: [U-Boot] [PATCH 4/5] 74xx_7xx: CPCI750: Enable access to PCI function > 0

2009-06-04 Thread Matthias Fuchs
Hi Stefan, see one comment below. > The Marvell bridge 64360 supports serveral PCI functions, not only 0. This > patch enables access to those functions. > > Signed-off-by: Stefan Roese > Cc: Reinhard Arlt > --- > board/esd/cpci750/cpci750.c | 16 +++- > board/esd/cpci750/pci.c

Re: [U-Boot] [PATCH 2/5] 74xx_7xx: CPCI750: Add loadpci command

2009-06-04 Thread Matthias Fuchs
Hi Stefan, doen't it make sense to use/extend the code from board/esd/common/cmd_loadpci.c in stead it copying this code? Even that code is running on 4xx only, it should be simple to modify it for cpci750. Adding support for bootvx should be simple also. Matthias > This command is used to load

Re: [U-Boot] [PATCH] at91: Add support for MEESC board of esd gmbh

2009-05-25 Thread Matthias Fuchs
On Monday 25 May 2009 10:13, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 08:21 Mon 25 May , Daniel Gorsulowski wrote: > > Jean-Christophe PLAGNIOL-VILLARD schrieb: > > >> + > > >> +static void meesc_ethercat_hw_init(void) > > >> +{ > > >> +/* Configure SMC EBI1_CS0 for EtherCAT */ > >

Re: [U-Boot] PPC4xx without CONFIG_NET_MULTI

2009-04-30 Thread Matthias Fuchs
> Hi Matthias, > > Matthias Fuchs wrote: > > Hi Ben, Hi Stefan, > > > > I will prepare a patch for these boards on thursday: > > > >> AR405.h > >> CPCIISER4.h > >> HUB405.h > >> OCRTC.h > >> ORSG.h &

[U-Boot] [PATCH 1/6] esd/common: extend cpld command with address parameter

2009-04-29 Thread matthias . fuchs
From: Matthias Fuchs This patch adds support for an address parameter to esd's cpld command. This is in preparation to remove compiled-in binary cpld (xsvf) bitstreams. Signed-off-by: Matthias Fuchs --- board/esd/common/xilinx_jtag/micro.c | 24 board/esd/c

[U-Boot] [PATCH 6/6] 4xx: Add support for DP405 hardware variants

2009-04-29 Thread matthias . fuchs
From: Matthias Fuchs Signed-off-by: Matthias Fuchs --- board/esd/dp405/dp405.c | 32 ++-- 1 files changed, 26 insertions(+), 6 deletions(-) diff --git a/board/esd/dp405/dp405.c b/board/esd/dp405/dp405.c index 352b877..8f4b78d 100644 --- a/board/esd/dp405/dp405.c

<    1   2   3   >