[U-Boot] [RFC] OMAP3: make TWL4030 optional for MMC driver

2009-08-27 Thread Matthias Ludwig
Upcoming boards may power MMC card themself without using TWL4030, so make it optional by using define CONFIG_TWL4030_MMC. Enable this for all existing OMAP3 boards. Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- Current OMAP3 MMC driver does require TWL4030 support to be enabled

Re: [U-Boot] [RFC] OMAP3: make TWL4030 optional for MMC driver

2009-08-27 Thread Matthias Ludwig
Maybe it would be better if the power_init function was removed from the common file and moved to the individual board files. What do you think ? Tom Yes, sounds like a good idea. I also agree, looks like the more generic approach. Do you expect any problem when moving the call to

Re: [U-Boot] [RFC] OMAP3: make TWL4030 optional for MMC driver

2009-08-27 Thread Matthias Ludwig
Matthias Ludwig wrote: Maybe it would be better if the power_init function was removed from the common file and moved to the individual board files. What do you think ? Tom Yes, sounds like a good idea. I also agree, looks like the more generic approach. Do you expect any

Re: [U-Boot] [PATCH 5/5 v4] omap3: use only fixed-size types inside ctrl_structs

2009-08-10 Thread Matthias Ludwig
-by: Matthias Ludwig mlud...@ultratronik.de Signed-off-by: Dirk Behme dirk.be...@googlemail.com --- Changes in v4: Rebase to recent git head 187af954cf7958c24efcf0fd62289bbdb4f1f24e omap3: embedd gpmc_cs into gpmc config struct include/asm-arm/arch-omap3/cpu.h | 412

Re: [U-Boot] [PATCH] OMAP3EVM: fix typo. replace CS6 by CS5, no functionality change

2009-06-08 Thread Matthias Ludwig
Hi applied to arm/next thanks! But what about rest of the patchset? best regards, Matthias -- Matthias Ludwig, Software Development Ultratronik Entwicklungs GmbH, Gewerbestrasse 52, 82211 Herrsching, Germany http://www.ultratronik.de Tel: +49 8152 3709-356 Fax: +49 8152 5183

[U-Boot] [PATCH] OMAP3EVM: fix typo. replace CS6 by CS5, no functionality change

2009-06-02 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- as predently the commit message does not correspond with the code it's a typo fix not, the current code work it does use the CS5 in reality You are right, it's only a typo fix. Sorry for delayed fixing... btw: i hope this kind

[U-Boot] [PATCHv3 0/5] clean up omap3 configuration structs

2009-05-19 Thread Matthias Ludwig
config[1-7] by an array compile-tested on beagle, evm, overo, pandora, zoom[12] best regards, Matthias Matthias Ludwig (5): OMAP3EVM: net_chip uses CS5 not CS6 omap3: embedd gpmc_cs into gpmc config struct omap3: remove typedefs for configuration structs omap3: replace all instances of gpmc

[U-Boot] [PATCHv3 1/5] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-19 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c| 16 include/asm-arm/arch-omap3/cpu.h |5 +++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/board/omap3/evm/evm.c b/board/omap3/evm/evm.c index c008c2e..5fd5efa

[U-Boot] [PATCHv3 2/5] omap3: embedd gpmc_cs into gpmc config struct

2009-05-19 Thread Matthias Ludwig
Embedd chip select configuration into struct for gpmc config instead of having it completely separated as suggested by Wolfgang Denk on http://lists.denx.de/pipermail/u-boot/2009-May/052247.html Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c | 16

[U-Boot] [PATCHv3 4/5] omap3: replace all instances of gpmc config struct by one global

2009-05-19 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c | 15 +++ board/omap3/zoom2/zoom2.c |3 +-- cpu/arm_cortexa8/omap3/mem.c | 21 ++--- cpu/arm_cortexa8/omap3/sys_info.c |3 +-- drivers/mtd/nand

[U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs

2009-05-19 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/beagle/beagle.c|6 ++-- board/omap3/evm/evm.c |6 ++-- board/omap3/pandora/pandora.c |8 +++--- board/omap3/zoom2/zoom2.c |2 +- cpu/arm_cortexa8/omap3/board.c | 16

Re: [U-Boot] Ethernet not working on OMAP3 board with

2009-05-18 Thread Matthias Ludwig
(and others) do not work in mainline if no eeprom with MAC address is present. A patch solving this issue is (afaik) in net/next. @Wolfgang/Ben: shouldn't this be in 2009.6? best regards, Matthias -- Matthias Ludwig, Software Development Ultratronik Entwicklungs GmbH, Gewerbestrasse 52, 82211 Herrsching

Re: [U-Boot] [PATCHv2 1/4] omap3: embedd gpmc_cs into gpmc config struct

2009-05-15 Thread Matthias Ludwig
to 0 - 6. If this would only be used in enable_gpmc_cs_config that wouldn't bother much, but as it is also used in evm/evm.h for example i think it will bring more confusion than it helps to simplify the code. best regards, Matthias -- Matthias Ludwig, Software Development Ultratronik Entwicklungs

Re: [U-Boot] [PATCHv2 1/4] omap3: embedd gpmc_cs into gpmc config struct

2009-05-13 Thread Matthias Ludwig
a loop as in enable_gpmc_cs_config() good idea, will be fixed. Thanks for review, Matthias -- Matthias Ludwig, Software Development Ultratronik Entwicklungs GmbH, Gewerbestrasse 52, 82211 Herrsching, Germany http://www.ultratronik.de Tel: +49 8152 3709-356 Fax: +49 8152 5183 Registergericht

Re: [U-Boot] [PATCHv2 2/4] omap3: remove typedefs for configuration structs

2009-05-13 Thread Matthias Ludwig
the enum type so it will be check at the compiling time by gcc ok bst regards, Matthias -- Matthias Ludwig, Software Development Ultratronik Entwicklungs GmbH, Gewerbestrasse 52, 82211 Herrsching, Germany http://www.ultratronik.de Tel: +49 8152 3709-356 Fax: +49 8152 5183 Registergericht Muenchen

Re: [U-Boot] [PATCHv2 4/4] omap3: use only fixed-size types inside ctrl_structs

2009-05-13 Thread Matthias Ludwig
specifier-qualifier-list before ‘u8’ best regards, Matthias -- Matthias Ludwig, Software Development Ultratronik Entwicklungs GmbH, Gewerbestrasse 52, 82211 Herrsching, Germany http://www.ultratronik.de Tel: +49 8152 3709-356 Fax: +49 8152 5183 Registergericht Muenchen, HRB 55584

Re: [U-Boot] [PATCH 0/4] omap3: clean up gpmc config strut

2009-05-12 Thread Matthias Ludwig
which tree is the baseline for these? i think arm/next has few changes also which is yet to be merged to mainline.. its based on 2009.06-RC1. I recently compile-tested on arm/next, it works for all platforms in master, but breaks zoom2. -- Matthias Ludwig, Software Development Ultratronik

Re: [U-Boot] [PATCH 2/4] omap3: remove typedef for struct gpmc

2009-05-12 Thread Matthias Ludwig
. best regards, Matthias Matthias Ludwig (4): omap3: embedd gpmc_cs into gpmc config struct omap3: remove typedefs for configuration structs omap3: replace all instances of gpmc config struct by one global omap3: use only fixed-size types inside ctrl_structs board/omap3/beagle/beagle.c

[U-Boot] [PATCHv2 3/4] omap3: replace all instances of gpmc config struct by one global

2009-05-12 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c | 15 +++ cpu/arm_cortexa8/omap3/mem.c | 21 ++--- cpu/arm_cortexa8/omap3/sys_info.c |3 +-- drivers/mtd/nand/omap_gpmc.c | 33

[U-Boot] [PATCHv2 2/4] omap3: remove typedefs for configuration structs

2009-05-12 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/beagle/beagle.c |6 ++-- board/omap3/evm/evm.c |6 ++-- board/omap3/pandora/pandora.c |8 +++--- cpu/arm_cortexa8/omap3/board.c | 16 ++-- cpu/arm_cortexa8/omap3/clock.c

[U-Boot] [PATCHv2 4/4] omap3: use only fixed-size types inside ctrl_structs

2009-05-12 Thread Matthias Ludwig
replace variable types in ctrl_structs for omap3 by those with fixed size (u8, u16, u32). Additional ifndef-protection is needed by examples which do not compile when including asm/types.h Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- include/asm-arm/arch-omap3/cpu.h | 418

[U-Boot] [PATCHv2 1/4] omap3: embedd gpmc_cs into gpmc config struct

2009-05-12 Thread Matthias Ludwig
in reallity. More info on http://lists.denx.de/pipermail/u-boot/2009-May/052157.html Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c | 16 +++--- cpu/arm_cortexa8/omap3/mem.c | 33 -- cpu/arm_cortexa8/omap3

[U-Boot] [PATCH 0/4] omap3: clean up gpmc config strut

2009-05-11 Thread Matthias Ludwig
works fine. My EVM broken seems to be broken, so can someone please boot test on at least on platforms? best regards, Matthias Matthias Ludwig (4): omap3: embedd gpmc_cs into gpmc config struct omap3: remove typedef for struct gpmc omap3: replace all instances of gpmc config struct by one

[U-Boot] [PATCH 3/4] omap3: replace all instances of gpmc config struct by one global

2009-05-11 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c | 15 +++ cpu/arm_cortexa8/omap3/mem.c | 21 ++--- cpu/arm_cortexa8/omap3/sys_info.c |3 +-- drivers/mtd/nand/omap_gpmc.c | 33

[U-Boot] [PATCH 2/4] omap3: remove typedef for struct gpmc

2009-05-11 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c |2 +- cpu/arm_cortexa8/omap3/mem.c |6 +++--- cpu/arm_cortexa8/omap3/sys_info.c |2 +- drivers/mtd/nand/omap_gpmc.c |2 +- include/asm-arm/arch-omap3/cpu.h |4 ++-- include

[U-Boot] [PATCH 1/4] omap3: embedd gpmc_cs into gpmc config struct

2009-05-11 Thread Matthias Ludwig
in reallity. More info on http://lists.denx.de/pipermail/u-boot/2009-May/052157.html Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- board/omap3/evm/evm.c | 16 +++--- cpu/arm_cortexa8/omap3/mem.c | 33 -- cpu/arm_cortexa8/omap3

[U-Boot] [PATCH 4/4] omap3: use only fixed-size types inside ctrl_structs

2009-05-11 Thread Matthias Ludwig
replace variable types in ctrl_structs for omap3 by those with fixed size (u8, u16, u32). Additional ifndef-protection is needed by examples which do not compile when including asm/types.h Signed-off-by: Matthias Ludwig mlud...@ultratronik.de --- include/asm-arm/arch-omap3/cpu.h | 412

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-08 Thread Matthias Ludwig
because they're the ones who see what the battlefield looks like afterwards. It's only the losers who have glorious victories. - Terry Pratchett, _Small Gods_ -- Matthias Ludwig, Software Development Ultratronik Entwicklungs GmbH, Gewerbestrasse 52, 82211

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-07 Thread Matthias Ludwig
: -Original Message- From: Dirk Behme [mailto:dirk.be...@googlemail.com] Sent: Wednesday, May 06, 2009 8:25 PM To: Matthias Ludwig; Pillai, Manikandan Cc: u-boot@lists.denx.de Subject: Re: [PATCH] OMAP3EVM: net_chip uses CS5 not CS6 Matthias Ludwig wrote: Signed-off