> > I'm afraid the fix will lead some mis-behavior for boards has uec_phy.
>
> These definitions were added by commit 91cdaa3a:
>
> commit 91cdaa3a9d7562b869d96774e9c9ddf142c0848d
> Author: Anton Vorontsov
> Date: Mon Mar 24 20:46:24 2008 +0300
>
> uec: add
.
> commit b33433a63fe08c9e723ea15a7c7c7143bf527c6d
> Author: Anton Vorontsov
> Date: Wed Jun 10 00:25:29 2009 +0400
>
> fsl_esdhc: Add device tree fixups
>
> Signed-off-by: Chenhui Zhao
> Signed-off-by: Li Yang
> ---
> drivers/mmc/fsl_esdhc.c
3
Reported-by: York Sun
Signed-off-by: Anton Vorontsov
---
common/hwconfig.c | 19 ++-
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/common/hwconfig.c b/common/hwconfig.c
index e5c60ba..85a69da 100644
--- a/common/hwconfig.c
+++ b/common/hwconfig.c
@@ -19,
I use this for testing, and I think this might be useful in the
future.
Signed-off-by: Anton Vorontsov
---
common/hwconfig.c | 55 +
1 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/common/hwconfig.c b/common/hwconfig.c
index
ess there
isn't much differencies between 831x and 837x SPLs. Maybe there
is some way to merge 831x SPL into 83xx SPL?
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
htt
oot/2009-December/065435.html
Just FYI...
Thanks!
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Thanks to "Errata to MPC8569E PowerQUICC III Integrated Host Processor
Family Reference Manual, Rev. 0" document, which describes all eSDHC
pins, we can add 4-bits eSDHC support for MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/mpc8569md
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb.
Signed-off-by: Anton Vorontsov
---
On Mon, Dec 07, 2009 at 03:10:34PM -0600, Kim Phillips wrote:
> > include/configs/MPC8315ERDB.h | 95
> > +++--
> > 6 files changed, 139 insertion
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb.
Signed-off-by: Anton Vorontsov
---
On Thu, Nov 19, 2009 at 01:17:36PM -0600, Kumar Gala wrote:
[...]
> > @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
> >+@if [ "$(findstring _NAND_,$@)" ] ; then
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb.
Signed-off-by: Anton Vorontsov
---
MAKEALL |1 +
Makefile | 11
board/freescale/mpc8315erdb/config.mk |6 ++
board/freescale/mpc8315erdb/mpc8315erdb.c
27;t yet included into U-Boot.)
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Setup QE pin multiplexing for USB function, configure needed BCSRs
and add some fdt fixups.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/bcsr.h |4 +++
board/freescale/mpc8569mds/mpc8569mds.c | 32 +++
drivers/qe/fdt.c
-bits mode.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/bcsr.h |1 +
board/freescale/mpc8569mds/mpc8569mds.c | 98 ---
2 files changed, 78 insertions(+), 21 deletions(-)
diff --git a/board/freescale/mpc8569mds/bcsr.h
b/board/freescale/mpc8569
This patch sets memory window for Serial RapidIO on MPC8569E-MDS
boards.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/law.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale/mpc8569mds/law.c
index e7381aa
SPI Flash (M25P40) is connected to the SPI1 bus, we need a few
qe_iop entries to actually enable SPI1 on these boards.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/mpc8569mds.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/board/freescale
Simply add some defines, and adjust TLBe setup to include some
space for eLBC NAND.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/tlb.c | 30 +++---
include/configs/MPC8569MDS.h | 23 +++
2 files changed, 34 insertions(+), 19
se hwconfig.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/bcsr.h |3 +-
board/freescale/mpc8569mds/mpc8569mds.c | 116 +++
cpu/mpc85xx/speed.c |4 +
include/configs/MPC8569MDS.h| 16
4 files cha
: Anton Vorontsov
Acked-by: Gerald Van Baren
---
common/fdt_support.c | 22 +-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 89164a1..e01303a 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
Hello Kumar,
Just resending rebased MPC8569E-MDS patches with your comments
addressed, plus there some fixes in eSDHC patch for pilot boards
(BCSR registers changed).
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
mpc8541cds
mpc8548cds
mpc8555cds
mpc8560ads
mpc8568mds
mpc8569mds
and maybe more.
Signed-off-by: Anton Vorontsov
---
lib_ppc/board.c |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 8b8ddb5..37f0db9 100644
--- a/lib_p
> >+#ifdef CONFIG_MMC
> >+#define CONFIG_FSL_ESDHC
Here.
> >+#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
> >+#define CONFIG_CMD_MMC
> >+#define CONFIG_GENERIC_MMC
> >+#define CONFIG_CMD_EXT2
> >+#define CONFIG_CMD_FAT
> >+#define CONFIG_DOS_PARTITION
> >+#endif
> >+
> >/*
> > * Miscellaneous configurable options
> > */
Thanks!
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Tue, Sep 15, 2009 at 11:18:16PM -0500, Kumar Gala wrote:
>
> On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote:
>
> >This patch sets memory window for Serial RapidIO on MPC8569E-MDS
> >boards.
> >
> >Signed-off-by: Anton Vorontsov
> >---
> >b
n MPC8569E-MDS NOR
flash starts at 0xfe00, ends at 0x (32MB).
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Thu, Oct 08, 2009 at 10:52:08AM -0500, Kumar Gala wrote:
>
> On Sep 15, 2009, at 11:15 PM, Kumar Gala wrote:
>
> >
> >On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote:
> >
> >>eSDHC is mutually exlusive with UART0* and I2C2. When eSDHC is
> >>u
On Fri, Sep 25, 2009 at 06:32:15PM -0500, Kim Phillips wrote:
> On Sat, 19 Sep 2009 03:29:17 +0400
> Anton Vorontsov wrote:
>
> > On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote:
> > > sorry, can't accept - this breaks r1.1 based boards:
> >
>
CPM2, but there was
somewhat successfull attempt to add CPM2 USB support to FHCI
driver (so far it supports only QE/"CPM3" USB), made by Laurent
Pinchart. I don't quite remember if he posted the patch to some
mailinglist, but I have the patch in my mailbox.
e
> wrong prototype ATM). As far as I can tell, I should only have to include
> netdev.h to get the required types and macros.
Not sure if having all-in-one netdev header is a good idea.
It might be a good idea to move uec.h to "include/" though.
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
09-September/060821.html
You'll also need this patch:
http://lists.denx.de/pipermail/u-boot/2009-September/060819.html
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote:
> On Wed, 16 Sep 2009 23:21:59 +0400
> Anton Vorontsov wrote:
>
> > This patch fixes various ethernet issues with gigabit links handling
> > in U-Boot. The workarounds originally implemented by Kim Phillips
With this patch we can change QE USB mode without need to hand-edit
the device tree.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8360emds/mpc8360emds.c | 12
include/configs/MPC8360EMDS.h |2 ++
2 files changed, 14 insertions(+), 0 deletions(-)
diff
This patch fixes various ethernet issues with gigabit links handling
in U-Boot. The workarounds originally implemented by Kim Phillips for
Linux kernel.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8360emds/mpc8360emds.c | 56 +---
include/configs
't discover any issues, is LBC SDRAM just too slow?).
With this patch we can still use the board without DDR memory, but
if DDR is available, we don't use LBC SDRAM.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8360emds/mpc8360emds.c |5 -
1 files changed, 4 insertions
Headers should include headers containing prototypes and defines they
depend on, don't assume that they're included by somebody else.
Signed-off-by: Anton Vorontsov
---
drivers/qe/uccf.h |1 +
drivers/qe/uec.h |3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
di
This will be needed for MPC8360E-MDS boards with rev. 2.1 CPUs.
Signed-off-by: Anton Vorontsov
---
drivers/qe/uec.h |1 +
drivers/qe/uec_phy.c | 15 +--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/qe/uec.h b/drivers/qe/uec.h
index 1568310
(OR/BR), or UPM array problem.
Unfortunately it's hard to debug these sort of things without logic
analyzer, so if you don't have one, I'd suggest to play
'trial & error' game.
Cc'ing Wolfgang Grandegger though, maybe he has better ideas
erial") > 0)
strncpy(sername, outname, maxlen);
/* eserial? */
if (strcmp(outname + 1, "serial") > 0)
strncpy(sername, outname + 1, maxlen);
#endif
if (!sername[0])
sprintf(sername, "serial%d", CO
t repository at:
>
> git://git.denx.de/u-boot-mpc85xx.git master
What about these patches (MPC8569)?
http://lists.denx.de/pipermail/u-boot/2009-August/thread.html#58930
Thanks!
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
_
no-op
nowadays, but Google is surely not a lawyer.
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
"All Rights Reserved" conflicts with the GPL.
Signed-off-by: Anton Vorontsov
---
cpu/mpc83xx/serdes.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpu/mpc83xx/serdes.c b/cpu/mpc83xx/serdes.c
index 283cc3f..64033fe 100644
--- a/cpu/mpc83xx/serdes.c
+++ b/c
The warning is bogus, so silence it by initializing the 'ret' variable.
Signed-off-by: Anton Vorontsov
---
On Tue, Sep 01, 2009 at 09:27:37PM +0200, Wolfgang Denk wrote:
> Dear Anton Vorontsov,
>
> In message <20090901182518.ga17...@oksana.dev.rtsoft.ru> you wrot
on useful?
> >
> > It's used to avoid GCC warnings, i.e. when GCC isn't smart enough
> > to see that some variable isn't actually used uninitialized.
> >
> > ~/linux-2.6$ git grep uninitialized_var drivers/ | wc -l
> > 94
>
> You seem to be gr
On Tue, Sep 01, 2009 at 08:16:26PM +0200, Wolfgang Denk wrote:
> Dear Anton Vorontsov,
>
> In message <20090901165902.ga6...@oksana.dev.rtsoft.ru> you wrote:
> > The warning is bogus, so silence it with uninitialized_var().
>
> Which tool chain issues a warning her
On Tue, Sep 01, 2009 at 01:09:26PM -0500, Timur Tabi wrote:
> Anton Vorontsov wrote:
>
> > - for (i = 0, p = &e; i < sizeof(e); i += 8, p += 8) {
> > + do {
> > ret = i2c_write(CONFIG_SYS_I2C_EEPROM_ADDR, i,
> > CONFIG_SYS_I2C_EEPROM_ADD
On Tue, Sep 01, 2009 at 08:11:41PM +0200, Wolfgang Denk wrote:
> Dear Anton Vorontsov,
>
> In message <20090901165803.ga3...@oksana.dev.rtsoft.ru> you wrote:
> > This is needed so that we could use this macro for non-UBI code.
> >
> > Signed-off-by: Anto
On Tue, Sep 01, 2009 at 09:38:14PM +0400, Anton Vorontsov wrote:
[...]
> > >static int prog_eeprom(void)
> > >{
> > >- int ret, i;
> > >+ int uninitialized_var(ret);
> > >+ int i;
> >
> > why don't we init ret = 0; seems like we
On Tue, Sep 01, 2009 at 12:30:53PM -0500, Kumar Gala wrote:
>
> On Sep 1, 2009, at 11:59 AM, Anton Vorontsov wrote:
>
> >The warning is bogus, so silence it with uninitialized_var().
> >
> >Signed-off-by: Anton Vorontsov
> >---
> >board/freescale/com
The warning is bogus, so silence it with uninitialized_var().
Signed-off-by: Anton Vorontsov
---
board/freescale/common/sys_eeprom.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/board/freescale/common/sys_eeprom.c
b/board/freescale/common/sys_eeprom.c
index
This is needed so that we could use this macro for non-UBI code.
Signed-off-by: Anton Vorontsov
---
include/compiler.h |3 +++
include/ubi_uboot.h |4 +---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/compiler.h b/include/compiler.h
index 272fd3c..e602cce
Setup QE pin multiplexing for USB function, configure needed BCSRs
and add some fdt fixups.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/bcsr.h |4 +++
board/freescale/mpc8569mds/mpc8569mds.c | 32 +++
drivers/qe/fdt.c
To make QE UART usable by Linux we should setup pin multiplexing
and turn UCC2 Ethernet node into UCC2 QE UART node.
Also, QE UART is mutually exclusive with UART0, so we can't enable
it if eSDHC is in use.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/bcsr.h |
SPI Flash (M25P40) is connected to the SPI1 bus, we need a few
qe_iop entries to actually enable SPI1 on these boards.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/mpc8569mds.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/board/freescale
: Anton Vorontsov
---
common/fdt_support.c | 22 +-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 89164a1..e01303a 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -22,6 +22,7
This patch sets memory window for Serial RapidIO on MPC8569E-MDS
boards.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/law.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale/mpc8569mds/law.c
index e7381aa
Simply add some defines, and adjust TLBe setup to include some
space for eLBC NAND.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/tlb.c | 30 +++---
include/configs/MPC8569MDS.h | 23 +++
2 files changed, 34 insertions(+), 19
prototype boards.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/mpc8569mds.c | 85 +++
cpu/mpc85xx/speed.c |2 +
include/asm-ppc/global_data.h |3 +-
include/configs/MPC8569MDS.h| 16 ++
4 fil
rectly.
>
> Done.
Thanks a lot, Wolfgang!
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Thu, Jun 11, 2009 at 04:53:50PM -0500, Kim Phillips wrote:
> On Thu, 11 Jun 2009 21:01:23 +0400
> Anton Vorontsov wrote:
>
> > "dr_usb.mode = host; .phy_type = ulpi; esdhc;" <- that isn't obvious
> > that .phy_type is a continuation of dr_usb. :-/
&g
ed the hwconfig stuff, because
product boards only define things they use (and that's why we
must keep things working without CONFIG_HWCONFIG).
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
from the outset?
Sure, I'm open to suggestions. Originally you proposed this scheme:
set hwconfig "usb=dr; dr_usb_mode=peripheral; dr_usb_phy_type=ulpi"
But Wolfgang proposed options and sub-options to save some
typing (notice the repetitive dr_usb), so there should be two
assignme
SPI Flash (M25P40) is connected to the SPI1 bus, we need a few
qe_iop entries to actually enable SPI1 on these boards.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/mpc8569mds.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/board/freescale
Simply add some defines, and adjust TLBe setup to include some
space for eLBC NAND.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/tlb.c | 30 +++---
include/configs/MPC8569MDS.h | 23 +++
2 files changed, 34 insertions(+), 19
eSDHC is mutually exlusive with UART1 and I2C2. When eSDHC is
used, we should switch u-boot console to UART2, and make the
proper device-tree fixups.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8569mds/mpc8569mds.c | 85 +++
cpu/mpc85xx/speed.c
: Anton Vorontsov
---
common/fdt_support.c | 22 +-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index ec6cff1..d9f4693 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -22,6 +22,7
There are two UARTs on MPC8569E-MDS boards, but UART1 can
be muxed away to SD/MMC signals, so we'll need multi-serial
support to support eSDHC on these boards (we'll redirect
u-boot console to the second UART in case of enabled eSDHC).
Signed-off-by: Anton Vorontsov
---
commo
and MPC8569MDS")
Thanks,
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Since we have simple hwconfig interface now, we don't need
pci_external_arbiter variable any longer.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc837xemds/mpc837xemds.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/board/freescale/mpc837xemds/mpc837xe
We should add status = "disabled" property when USB controller can't
be used (for example when USB pins muxed away to another device).
Also convert whole fdt_fixup_dr_usb() to use more compact routines
from fdt_support.h.
Signed-off-by: Anton Vorontsov
---
cpu/mpc83xx/cpu.c
This patch simply converts the board to the hwconfig infrastructure.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8315erdb/mpc8315erdb.c | 14 +-
include/configs/MPC8315ERDB.h |1 +
2 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/board
CONFIG_USB_FSL_DR to be
consistent with other USB drivers.
Signed-off-by: Anton Vorontsov
---
Makefile |1 +
board/freescale/mpc8315erdb/mpc8315erdb.c |1 +
board/freescale/mpc837xemds/mpc837xemds.c |1 +
board/freescale/mpc837xerdb/mpc837xerd
fdt_fixup_esdhc() will either disable or enable eSDHC nodes, and
also will fixup clock-frequency property.
Plus, since DR USB and eSDHC are mutually exclusive, we should
only configure the eSDHC if asked through hwconfig.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc837xemds
This patch implements fdt_fixup_esdhc() function that is used to fixup
the device tree.
The function adds status = "disabled" propery if esdhc pins muxed away,
otherwise it fixups clock-frequency for esdhc nodes.
Signed-off-by: Anton Vorontsov
---
drivers/mmc/fsl_esdh
ld specify 'esdhc' or 'dr_usb' options
in the hwconfig environment variable to choose between the
devices.
p.s.
Now we're very close to a monitor len limit (196 bytes left using
gcc-4.2.0), so also increase the monitor len by one sector (64 KB).
Signed-off-by: Anton Vorontso
, and turn Z
into reduced mode (like RMII-only interface for ethernet,
no MII).
It's quite trivial to implement simple cases though.
Signed-off-by: Anton Vorontsov
---
common/Makefile|1 +
common/hwconfig.c | 210
in
; Suggestion: instead of
>
> set hwconfig dr_usb,dr_usb_mode:peripheral,dr_usb_phy_type:ulpi
>
> use:
>
> set hwconfig dr_usb:mode=peripheral,phy_type=ulpi
>
> What do you think?
Sorry for the delay. Done.
New patches on the way.
Thanks,
--
Anton Vorontsov
ema
On Tue, Jun 02, 2009 at 03:51:29PM -0500, Andy Fleming wrote:
> On Wed, Apr 29, 2009 at 4:50 PM, Anton Vorontsov
> wrote:
>
> > This patch implements simple hwconfig infrastructure: an
> > interface for software knobs to control a hardware.
> >
> > This is very
On Fri, May 01, 2009 at 07:32:12PM -0500, Andy Fleming wrote:
>
> On Apr 29, 2009, at 4:20 PM, Anton Vorontsov wrote:
>
>> Hi Andy,
>>
>> Sorry for the late response,
>>
>> On Fri, Mar 06, 2009 at 07:25:55PM -0600, Andy Fleming wrote:
>>>>
>>
t;
> dr_usb {
> mode = peripheral;
> phy {
> type = ulpi;
> speed = 48;
> }
> }
> "
:-)
Or we can stop at one nesting level capability, just as you
describe. Your suggestion is quite easy to implement, but
full fledged parser is needed for the most generic cas
On Thu, Apr 30, 2009 at 03:00:50PM -0500, Kim Phillips wrote:
> On Thu, 30 Apr 2009 01:50:00 +0400
> Anton Vorontsov wrote:
>
> > This patch implements simple hwconfig infrastructure: an
> > interface for software knobs to control a hardware.
> >
> > This is ve
On Thu, Apr 30, 2009 at 02:59:37PM -0500, Kim Phillips wrote:
> On Thu, 30 Apr 2009 23:35:34 +0400
> Anton Vorontsov wrote:
>
> > What if there is some errata in 8377 chip (with 1.0 revision), and
> > not in 8378 chip (also 1.0 revision)?
>
> I believe they are in fa
On Thu, Apr 30, 2009 at 11:35:34PM +0400, Anton Vorontsov wrote:
> On Thu, Apr 30, 2009 at 02:28:52PM -0500, Kim Phillips wrote:
> > On Thu, 30 Apr 2009 22:59:59 +0400
> > Anton Vorontsov wrote:
> >
> > > On Thu, Apr 30, 2009 at 12:57:52PM -0500, Scott Wood wrote:
&
On Thu, Apr 30, 2009 at 02:28:52PM -0500, Kim Phillips wrote:
> On Thu, 30 Apr 2009 22:59:59 +0400
> Anton Vorontsov wrote:
>
> > On Thu, Apr 30, 2009 at 12:57:52PM -0500, Scott Wood wrote:
> > > On Thu, Apr 30, 2009 at 01:20:11AM +0400, Anton Vorontsov wrote:
> > &
On Thu, Apr 30, 2009 at 12:57:52PM -0500, Scott Wood wrote:
> On Thu, Apr 30, 2009 at 01:20:11AM +0400, Anton Vorontsov wrote:
> > > Isn't there a more global means of doing this? I don't like having
> > > the 8536/8379 in the driver, itself.
> >
> >
On Thu, Apr 30, 2009 at 01:50:00AM +0400, Anton Vorontsov wrote:
[..]
> +/*
Just noticed that I missed kerneldoc starting comment.
It should be /**, will fix.
--
Anton Vorontsov
email: cbouatmai...@gmail.com
irc://irc.freenode.net/bd2
___
U-B
Hi Andy,
Sorry for the late response,
On Fri, Mar 06, 2009 at 07:25:55PM -0600, Andy Fleming wrote:
> On Thu, Feb 19, 2009 at 9:45 AM, Anton Vorontsov
> wrote:
> > This patch implements fdt_fixup_esdhc() function that is used to fixup
> > the device tree.
> >
>
fdt_fixup_esdhc() will either disable or enable eSDHC nodes, and
also will fixup clock-frequency property.
Plus, since DR USB and eSDHC are mutually exclusive, we should
only configure the eSDHC if asked through hwconfig.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc837xemds
Since we have simple hwconfig interface now, we don't need
pci_external_arbiter variable any longer.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc837xemds/mpc837xemds.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/board/freescale/mpc837xemds/mpc837xe
This patch simply converts the board to the hwconfig infrastructure.
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc8315erdb/mpc8315erdb.c | 14 +-
include/configs/MPC8315ERDB.h |1 +
2 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/board
CONFIG_USB_FSL_DR to be
consistent with other USB drivers.
Signed-off-by: Anton Vorontsov
---
Makefile |1 +
board/freescale/mpc8315erdb/mpc8315erdb.c |1 +
board/freescale/mpc837xemds/mpc837xemds.c |1 +
board/freescale/mpc837xerdb/mpc837xerd
We should add status = "disabled" property when USB controller can't
be used (for example when USB pins muxed away to another device).
Also convert whole fdt_fixup_dr_usb() to use more compact routines
from fdt_support.h.
Signed-off-by: Anton Vorontsov
---
cpu/mpc83xx/cpu.c
nabling HW feature X we may need to disable Y, and turn Z
into reduced mode (like RMII-only interface for ethernet,
no MII).
It's quite trivial to implement simple cases though.
Signed-off-by: Anton Vorontsov
---
common/Makefile|1 +
common/hwconfig.c | 134 +++
ld specify 'esdhc' or 'dr_usb' options
in the hwconfig environment variable to choose between the
devices.
p.s.
Now we're very close to a monitor len limit (196 bytes left using
gcc-4.2.0), so also increase the monitor len by one sector (64 KB).
Signed-off-by: Anton Vorontso
This patch implements fdt_fixup_esdhc() function that is used to fixup
the device tree.
The function adds status = "disabled" propery if esdhc pins muxed away,
otherwise it fixups clock-frequency for esdhc nodes.
Signed-off-by: Anton Vorontsov
---
drivers/mmc/fsl_esdh
On Thu, Feb 19, 2009 at 08:56:50PM +0100, Wolfgang Denk wrote:
> Dear Anton Vorontsov,
>
> In message <20090219154545.gb26...@oksana.dev.rtsoft.ru> you wrote:
> > So far it's used for specifying whether we want to use FSL DR USB or
> > FSL eSDHC devices on MPC837
nd init_uts_ns symbols).
I suspected the decompression code (what else could it be?), but I
didn't manage to track it down to a failing instruction, as the
failing kernel was booting *OK* with BDI-2000 attached. Heh.
I wonder how you tracked it down to zlib code and a particular
loop, please share th
On Tue, Mar 17, 2009 at 02:49:17PM -0500, Scott Wood wrote:
> Anton Vorontsov wrote:
>> On Tue, Mar 17, 2009 at 12:09:31PM -0500, Scott Wood wrote:
>>> This board currently sets DBAT6 to cover all of the final 256MiB of
>>> address space; however, not all of this space
fdt_fixup_esdhc() will either disable or enable eSDHC nodes,
and also will fixup clock-frequency property.
Plus, since DR USB and eSDHC are mutually exclusive, only configure
eSDHC if usb_or_esdhc environment variable is set to 'esdhc'.
Signed-off-by: Anton Vorontsov
---
board
ld specify `usb_or_esdhc' environment
variable to choose between the devices.
p.s.
Now we're very close to a monitor len limit (196 bytes left using
gcc-4.2.0), so also increase the monitor len by one sector (64 KB).
Signed-off-by: Anton Vorontsov
---
board/freescale/mpc837xerdb/
This patch implements fdt_fixup_esdhc() function that is used to fixup
the device tree.
The function adds status = "disabled" propery if esdhc pins muxed away,
otherwise it fixups clock-frequency for esdhc nodes.
Signed-off-by: Anton Vorontsov
---
drivers/mmc/fsl_esdh
We should add status = "disabled" property when USB controller can't
be used (for example when USB pins muxed away to another device).
Also convert whole fdt_fixup_dr_usb() to use more compact routines
from fdt_support.h.
Signed-off-by: Anton Vorontsov
---
drivers/usb/fsl_
So far it's used for specifying whether we want to use FSL DR USB or
FSL eSDHC devices on MPC837X processors.
There are two more candidates for future use:
1. USB ULPI PHY vs. TSEC1 on MPC8315E-RDB boards;
2. Marvell vs. Vitesse PHYs on MPC8313E-RDB boards.
Signed-off-by: Anton Voro
1 - 100 of 140 matches
Mail list logo