This patch adds support for the HTKW mcx AM3517-based board.
Serial, Ethernet, NAND and MMC are supported.
Requires updated mach-types file.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
Diff from v2:
1. removed dead code from board/htkw/mcx/Makefile as Mike suggested
2. removed EMAC reset
Currently OMAP SPL code does all the initialization but does not set the
gd-have_console value so no output is actually performed. This patch
sets gd-have_console to 1 if CONFIG_SPL_CONSOLE is defined.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/cpu/armv7/omap-common/spl.c |4
Hi All,
these patches enable support for booting from NAND without X-loader
for HTKW mcx board as well as some OMAP/SPL fixes.
The last patch relies on my recently posted davinci_emac/mcx series
while the others can be applied directly on master.
Signed-off-by: Ilya Yanok ya...@emcraft.com
-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/nand_spl_simple.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/nand_spl_simple.c
b/drivers/mtd/nand/nand_spl_simple.c
index dd1de27..e40cbf0 100644
--- a/drivers/mtd/nand/nand_spl_simple.c
support for booting from NAND without X-loader.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
include/configs/mcx.h | 46 ++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index 25fd610
Don't hardcode u-boot.bin size for the case where mkimage signature is
missing, use CONFIG_SYS_NAND_U_BOOT_SIZE for this.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/cpu/armv7/omap-common/spl.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu
Fix EMIF4 registers definition.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/include/asm/arch-omap3/cpu.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap3/cpu.h
b/arch/arm/include/asm/arch-omap3/cpu.h
index 08a725d..97fbee6
Use software ECC for the SPL build if support for software ECC in SPL is
enabled.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/omap_gpmc.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
This patch adds support for software ECC to the nand_spl_simple driver.
To enable this one have to define CONFIG_SPL_NAND_SOFTECC.
Tested on OMAP3.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/nand_ecc.c|2 +-
drivers/mtd/nand/nand_spl_simple.c | 11
Hi Tom,
On 18.10.2011 03:43, Tom Rini wrote:
Don't hardcode u-boot.bin size for the case where mkimage signature is
missing, use CONFIG_SYS_NAND_U_BOOT_SIZE for this.
Signed-off-by: Ilya Yanok ya...@emcraft.com
I don't like this since it means we need to always define this
variable when
Hi Mike,
On 14.10.2011 02:55, Mike Frysinger wrote:
--- /dev/null
+++ b/arch/arm/cpu/armv7/omap3/emac.c
+/*
+ * Initializes on-chip ethernet controllers.
+ * to override, implement board_eth_init()
+ */
+int cpu_eth_init(bd_t *bis)
+{
+davinci_emac_initialize();
+
+return 0;
moved to common header.
Regards,
Signed-off-by: Ilya Yanok ya...@emcraft.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
For some reason code setting the speed based on the PHY feedback causes
troubles on AM3517 so hardcode 100Mbps for now.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/davinci_emac.c
if it is really needed or
alignment to cache line size is enough.
!!!NOTE!!! This actually breaks builds for all DaVinci boards that use
this driver (as there is no {invalidate,flush}_dcache_range for
ARM926EJS).
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c | 41
AM3517 specific CONTROL_PADCONF_* defines moved from board-specific
files to asm/arch-omap3/mux.h
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/include/asm/arch-omap3/mux.h | 41 +
board/logicpd/am3517evm/am3517evm.h | 40
On AM35xx CPPI RAM had different addresses when accessed from the CPU
and from the EMAC. We need to account this to deal with the buffer
descriptors correctly.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c | 39 ++-
1 files
DaVinci EMAC is found not only on DaVinci SoCs but on some OMAP3 SoCs
also. This patch moves common defines from arch-davinci/emac_defs.h to
drivers/net/davinci_emac.h
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/include/asm/arch-davinci/emac_defs.h | 293
AM35xx has DaVinci-compatible EMAC.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/cpu/armv7/omap3/Makefile |1 +
arch/arm/cpu/armv7/omap3/emac.c | 37 ++
arch/arm/include/asm/arch-omap3/emac_defs.h | 56 +++
3 files
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 3c442c4..d413478 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net
This patch adds support for the HTKW mcx AM3517-based board.
Serial, Ethernet, NAND and MMC are supported.
Requires updated mach-types file.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
MAINTAINERS |4 +
board/htkw/mcx/Makefile | 44 +
board/htkw/mcx/mcx.c| 89
Fix EMIF4 registers definition.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/include/asm/arch-omap3/cpu.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap3/cpu.h
b/arch/arm/include/asm/arch-omap3/cpu.h
index 08a725d..97fbee6
Hi Mike,
On 09.10.2011 19:56, Mike Frysinger wrote:
arm926ejs doesn't have {invalidate,flush}_dcache_range(), so we have to
add this not to break the driver on DaVinci boards (maybe we need to add
empty cache functions on arm926ejs instead?)
if the prototype is in include/common.h, then
Hi Stefano,
On 10.10.2011 17:17, Stefano Babic wrote:
Should we not be sure that size is rounded up to align with the cache
line size ?
Surely we should. Actually it's not the size that has to be aligned but
the buffer itself. Is there any generic API to get the cache line size?
There is
Hi Stefano,
On 10.10.2011 16:35, Stefano Babic wrote:
+#ifdef DAVINCI_EMAC_DCACHE
+static inline void davinci_flush(void *addr, int size)
+{
+flush_dcache_range((unsigned long)addr,
+(unsigned long)addr + size);
+}
There is no check with the cache linesize. I get
Hi Igor,
thanks for your comments, I'll post the updated patches soon.
Regards, Ilya.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Dear Wolfgang,
On 07.10.2011 01:02, Wolfgang Denk wrote:
arch/arm/include/asm/arch-davinci/emac_defs.h | 293 ---
drivers/net/davinci_emac.c|1 +
drivers/net/davinci_emac.h| 317
+
3 files changed,
Hi Mike,
On 07.10.2011 21:34, Mike Frysinger wrote:
+#ifdef DAVINCI_EMAC_DCACHE
+static inline void davinci_flush(void *addr, int size)
+{
+flush_dcache_range((unsigned long)addr,
+(unsigned long)addr + size);
+}
+
+static inline void davinci_invalidate(void *addr,
This patch adds support for the HTKW mcx AM3517-based board.
Serial, Ethernet, NAND and MMC are supported.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
MAINTAINERS |4 +
board/htkw/mcx/Makefile | 44 +
board/htkw/mcx/config.mk | 27 +++
board/htkw/mcx/mcx.c
For some reason code setting the speed based on the PHY feedback causes
troubles on AM3517 so hardcode 100Mbps for now.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/davinci_emac.c
DaVinci EMAC is found not only on DaVinci SoCs but on some OMAP3 SoCs
also. This patch moves common defines from arch-davinci/emac_defs.h to
drivers/net/davinci_emac.h
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/include/asm/arch-davinci/emac_defs.h | 293
. This definetely needs a better
solution but somehow existing code causes troubles.
6. AM35xx-specific defines added into the separate header.
I'm not sure if I should just squash all the patches into one.
Thanks.
Signed-off-by: Ilya Yanok ya...@emcraft.com
AM35xx has DaVinci-compatible EMAC.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/arm/include/asm/arch-omap3/emac_defs.h | 57 +++
1 files changed, 57 insertions(+), 0 deletions(-)
create mode 100755 arch/arm/include/asm/arch-omap3/emac_defs.h
diff --git a/arch
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 7eb37c7..222a0d0 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net
On AM35xx CPPI RAM had different addresses when accessed from the CPU
and from the EMAC. We need to account this to deal with the buffer
descriptors correctly.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c | 28 +++-
1 files changed, 19
DaVinci EMAC is present on TI AM35xx SoCs (ARMv7) which run with D-Cache
enabled by default. So we have to take care and flush/invalidate the
cache before/after the DMA operations.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/davinci_emac.c | 47
Hi Aneesh,
On 27.06.2011 08:29, Aneesh V wrote:
I wonder why do we need this whole spl thing in the first place (well,
surely I know what they are used for but why do we need a separate entity
for this)? Isn't it just the same U-Boot in, well, very special
configuration
(minimal set of
Hello everybody,
I've read the whole thread and I really like what Daniel suggests but I just
want to speak it in a little bit different words.
I wonder why do we need this whole spl thing in the first place (well,
surely I know what they are used for but why do we need a separate entity
for
From: Mike Frysinger vap...@gentoo.org
Dependencies for the envcrc objects should be generated only in the case
we are going to build envcrc itself. Otherwise it's a waste of work and
can lead to the (harmless but annoying) errors during dependency
generation.
Signed-off-by: Ilya Yanok ya
LDSCRIPT is used only from the top-level Makefile and only when the
system is configured so we can move LDSCRIPT and CONFIG_SYS_LDSCRIPT
related logic into the top level Makefile and under configured condition
to avoid errors when building tools from unconfigured tree.
Signed-off-by: Ilya Yanok
mkimage relies on autogenerated version so we need to move
$(VERSION_FILE) rule out of ifeq and make tools rule depend on it to be
able to run 'make tools' from the unconfigured tree.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
Makefile | 36 ++--
1 files
Hi Mike,
thanks for your comments.
On 18.06.2011 23:03, Mike Frysinger wrote:
i think you'll need to split this up in logical sep changesets since you are
fixing different problems.
Ok, will do.
Things changed:
- config.mk disable 'ld script not found error' in case if we are
building
Hi Mike,
On 19.06.2011 22:27, Mike Frysinger wrote:
i might be thinking of a different env_embedded situation. a different
problem with your patch to tools/Makefile: you copied the same logic multiple
times which means more bitrot.
Yes, that's a good point. Your patch looks good to me.
mkimage relies on autogenerated version so we need to
move $(VERSION_FILE) rule out of ifeq and make tools rule depend on it.
- tools/Makefile put common/env_embedded.o and envcrc.o to object list
conditionally. This fixes errors during dependency generation.
Signed-off-by: Ilya Yanok ya
DISPLAY_MARK subcommand of display_set() is not used anywhere so
we can remove it safely.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
doc/README.LED_display |1 -
include/led-display.h |1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/doc/README.LED_display b/doc
The default values for 'addip' and 'norargs' changed per customer
request. Everything else cleaned up to fit into 80 symbol line.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
include/configs/a4m072.h | 58 +
1 files changed, 37 insertions(+), 21
implementation
[PATCH 3/5] led_display: remove unused DISPLAY_MARK define
[PATCH 4/5] cfi_flash: handle 'chip size exceeds address window' situation
[PATCH 5/5] a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define
Regards, Ilya.
Signed-off-by: Ilya Yanok ya...@emcraft.com
for
compatibility).
If non-zero flash bank size is provided and detected chip size is bigger
than provided address window size the warning will be displayed and
flash chip will be truncated.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/cfi_flash.c | 28 +++-
1 files
This patch adds CONFIG_SYS_FLASH_BANKS_SIZES define to make use of new
cfi_flash driver ability to detect flash chips that are bigger than a
corresponding address window (we have such situation on some revs of
a4m072).
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
include/configs/a4m072.h
-off-by: Ilya Yanok ya...@emcraft.com
---
board/a4m072/a4m072.c | 62 ++--
1 files changed, 23 insertions(+), 39 deletions(-)
diff --git a/board/a4m072/a4m072.c b/board/a4m072/a4m072.c
index ae7ccbb..09a5a51 100644
--- a/board/a4m072/a4m072.c
+++ b
13.10.2010 0:45, Wolfgang Denk wrote:
Applied, thanks.
Ouch... I'm going to clear these patches as you requested (big NOR
flash, changed default environment, changed character mapping, added dot
character) and repost updated patches in a few days...
Could you please rollback the whole series?
Hi Kim,
On 17.09.2010 03:54, Kim Phillips wrote:
+#if defined(CONFIG_SYS_PCIE2_CFG_BASE) defined(CONFIG_SYS_PCIE2_SIZE)
#define PCIE_MAX_BUSES 2
+#else
+#define PCIE_MAX_BUSES 1
+#endif
Technically this should be an indirect function of MPC8308, but what's
the problem with
MPC8308 has only one PCIE host controller so we want it to compile
without CONFIG_SYS_PCIE2_CFG_{BASE,SIZE} defined.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/powerpc/cpu/mpc83xx/pcie.c | 38 +-
1 files changed, 25 insertions(+), 13 deletions
This patch adds support for setting PCIE clocks in cpu_init.c by
providing CONFIG_SYS_SCCR_PCIEXP{1,2} in configuration.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/powerpc/cpu/mpc83xx/cpu_init.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch
* defines instead of hardcoding
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
board/freescale/mpc8308rdb/mpc8308rdb.c | 20 +++---
board/freescale/mpc8308rdb/sdram.c | 31 +
include/configs/MPC8308RDB.h| 46 +-
3 files
This patch provides support for MPC8308 P1M board with the following
set of features:
Dual UART is supported
NOR flash is supported
Both TSEC Ethernet controllers are supported
PCI Express initialization is supported
Both I2C controllers are supported
Signed-off-by: Ilya Yanok ya
This patch adds defines to set supported fields in System I/O
Configuration Registers High and Low on Freescale MPC8308 CPU.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
include/mpc83xx.h | 48
1 files changed, 48 insertions(+), 0 deletions
This patch adds support for setting PCIE clocks in cpu_init.c by
providing CONFIG_SYS_SCCR_PCIEXP{1,2} in configuration.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/powerpc/cpu/mpc83xx/cpu_init.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch
This patch adds defines to set supported fields in System I/O
Configuration Registers High and Low on Freescale MPC8308 CPU.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
include/mpc83xx.h | 48
1 files changed, 48 insertions(+), 0 deletions
MPC8308 has only one PCIE host controller so we want it to compile
without CONFIG_SYS_PCIE2_CFG_{BASE,SIZE} defined.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
arch/powerpc/cpu/mpc83xx/pcie.c | 47 --
1 files changed, 34 insertions(+), 13 deletions
* defines instead of hardcoding
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
board/freescale/mpc8308rdb/mpc8308rdb.c | 19 +++--
board/freescale/mpc8308rdb/sdram.c | 31 +
include/configs/MPC8308RDB.h| 46 +-
3 files
This patch provides support for MPC8308 P1M board with the following
set of features:
Dual UART is supported
NOR flash is supported
Both TSEC Ethernet controllers are supported
PCI Express initialization is supported
Both I2C controllers are supported
Signed-off-by: Ilya Yanok ya
This patch adds support for LED display on a4m072 board. Hardware is
capable of displaying only one symbol at any time. We support displaying
two symbols in software (via blinking).
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
board/a4m072/a4m072.c| 174
blinking. Boot progress codes are
displayed with decimal got unset (as opposed to 'display' command output).
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
board/a4m072/a4m072.c| 79 +++---
include/configs/a4m072.h |2 +
2 files changed, 76 insertions
From: Sergei Poselenov p...@pollux.denx.de
This patch provides support for the A4M072 board with the following features:
UART
NOR flash
FEC Ethernet
External SRAM
I2C EEPROM
CompactFlash cards on IDE/ATA port
USB Host
PCI initialization
The 7-segment LED indicator is not yet supported.
This patch provides support for MPC8308 P1M board with the following
set of features:
Dual UART is supported
NOR flash is supported
Both TSEC Ethernet controllers are supported
PCI Express initialization is supported
Both I2C controllers are supported
Signed-off-by: Ilya Yanok ya
This patch provides support for MPC8308 P1M board with the following
set of features:
Dual UART is supported
NOR flash is supported
Both TSEC Ethernet controllers are supported
PCI Express initialization is supported
Both I2C controllers are supported
Signed-off-by: Ilya Yanok ya
This patch provides support for MPC8308 P1M board with the following
set of features:
Dual UART is supported
NOR flash is supported
Both TSEC Ethernet controllers are supported
PCI Express initialization is supported
Both I2C controllers are supported
Signed-off-by: Ilya Yanok ya
the PHY from the
driver) so we need to add call to reset_phy() directly in the
driver.
Cc: Ben Warren biggerbadder...@gmail.com
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/mpc5xxx_fec.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/net
Hello Albert,
Albert ARIBAUD albert.aribaud at free.fr writes:
At the moment your problem is not being able to reset the PHY at times
other than boot, i.e. the 'PHY API' would be limited to reset_phy()
which is pretty much board-specific anyway.
The problem is the PHY being reseted by the
Hello Ben, Everybody,
some boards used to have their PHY quirks in board-specific reset_phy()
function. This used to work because of reset_phy() being called later
than Ethernet drivers initialization during startup.
But nowadays some drivers (in particular I faced this problem using
and now Ethernet on motionpro board is broken again.
I haven't managed to find the true reason of such behavior so I've
just disabled PHY initialization on motionpro board.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/net/mpc5xxx_fec.c |2 ++
1 files changed, 2 insertions(+), 0 deletions
Hello All,
On 12.08.2010 02:34, Ilya Yanok wrote:
Historically PHY intialization was disabled on motionpro board. Then
at some point PHY init was enabled and only comment message was left.
After looking once more at the history I've found that this problem was
actually fixed by
commit
Hi Kim,
20.07.2010 4:33, Kim Phillips wrote:
turning icache on early causes a different pattern of bus accesses when
fetching code, and this might trigger bus accesses that interfere with
code that sets bus configuration registers, such as the acr. Can you
test this patch please?:
This
Hi Kim,
20.07.2010 4:33, Kim Phillips wrote:
Thanks for your advice but this doesn't help...
turning icache on early causes a different pattern of bus accesses when
fetching code, and this might trigger bus accesses that interfere with
code that sets bus configuration registers, such as the
-by: Ilya Yanok ya...@emcraft.com
---
MAINTAINERS |4 +
MAKEALL |1 +
board/freescale/mpc8308rdb/Makefile | 52 +++
board/freescale/mpc8308rdb/config.mk|1 +
board/freescale/mpc8308rdb/mpc8308rdb.c | 160
Hi Kim,
On 01.07.2010 04:30, Kim Phillips wrote:
This patch provides support for MPC8308ERDB development board from
so, according to this document:
http://cache.freescale.com/files/32bit/doc/user_guide/MPC8308RDBUG.pdf
the board name is just 'mpc8308rdb', not 'mpc8308erdb'. AFAICT,
This patch adds basic support for Freescale MPC8308 CPU. Serial ports,
NOR flash and integrated Ethernet controllers are supported.
PCI Express is also supported. eSDHC, NAND and USB may work but aren't
tested (using ULPI PHY requires additional patch).
Signed-off-by: Ilya Yanok ya...@emcraft.com
-by: Ilya Yanok ya...@emcraft.com
---
MAINTAINERS |4 +
MAKEALL |1 +
board/freescale/mpc8308erdb/Makefile | 52 +++
board/freescale/mpc8308erdb/config.mk |1 +
board/freescale/mpc8308erdb/mpc8308erdb.c | 160
Dear Kim,
On 23.06.2010 04:17, Kim Phillips wrote:
+#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \
+ HID0_ENABLE_DYNAMIC_POWER_MANAGMENT)
| HID0_ENABLE_INSTRUCTION_CACHE?
I've enabled icache and now the board sometimes resets twice
Hi Kim,
On 24.06.2010 22:00, Kim Phillips wrote:
I've enabled icache and now the board sometimes resets twice after
U-Boot 'reset' command:
(It doesn't always stop at DRAM: line but that position is most frequent)
Maybe you have some ideas on this subject?
hmm, if it's
Hi Wolfgang,
On 22.06.2010 22:14, Wolfgang Denk wrote:
Entry to MAINTAINERS missing.
Should I add you as a maintainer or myself?
You did the actual work...
but I fear I won't be able to maintain it... I don't have much free time
to spend now...
+ return
Hi Ben,
On 22.06.2010 23:10, Ben Warren wrote:
+int board_eth_init(bd_t *bis)
+{
+cpu_eth_init(bis);/* Initialize TSECs first */
I think it's wrong to ignore the return code here.
What makes you think so? What can we do with the return code here?
Print
warning? If we return error
Hi Kim,
Thanks for your review.
On 23.06.2010 04:17, Kim Phillips wrote:
MAKEALL |1 +
Makefile |3 +
board/freescale/mpc8308erdb/Makefile | 52 +++
board/freescale/mpc8308erdb/config.mk |1 +
Dear Wolfgang,
thanks for your review.
On 21.06.2010 11:44, Wolfgang Denk wrote:
This patch adds basic support for Freescale MPC8308 CPU. Serial ports,
NOR flash and integrated Ethernet controllers are supported.
PCI Express is also supported. eSDHC, NAND and USB may work but aren't
tested
/mpc8308erdb.c
@@ -0,0 +1,154 @@
+/*
+ * Copyright (C) 2010 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010 Ilya Yanok, Emcraft Systems, ya...@emcraft.com
+ *
+ * Author: Freescale unknown
Maybe Initial author ?
Dropped this line.
+int board_early_init_f(void
Ensure that date is called only with LANG=C locale set to make dates
locale neutral thus preventing lurking of non-ASCII characters into
U-Boot binary.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
Makefile |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile
These patches add support for MPC8308 based development board
from Freescale.
Signed-off-by: Ilya Yanok ya...@emcraft.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
but not fully tested:
I2C (used to get the board revision)
I2C-connected RTC
VSC7385 switch
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
MAKEALL |1 +
Makefile |3 +
board/freescale/mpc8308erdb/Makefile | 52
This patch adds basic support for Freescale MPC8308 CPU. Serial ports,
NOR flash and integrated Ethernet controllers are supported.
PCI Express is also supported. eSDHC, NAND and USB may work but aren't
tested (using ULPI PHY requires additional patch).
Signed-off-by: Ilya Yanok ya...@emcraft.com
Hi Mike,
Mike Frysinger wrote:
+#ifdef CONFIG_JFFS2_SUMMARY
+static u32 sum_get_unaligned32(u32 *ptr)
+{
+u32 val;
+u8 *p = (u8 *)ptr;
+
+val = *p | (*(p + 1) 8) | (*(p + 2) 16) | (*(p + 3) 24);
+
+return __le32_to_cpu(val);
+}
+
+static u16 sum_get_unaligned16(u16
We should call jffs2_clean_cache() if we return from jffs2_build_lists()
with an error to prevent usage of incomplete lists. Also we should
free() a local buffer to prevent memory leaks.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
fs/jffs2/jffs2_1pass.c | 17 ++---
1 files
Hi Fabio,
Fabio Estevam wrote:
cpu/arm926ejs/mx27/generic.c | 65
include/asm-arm/arch-mx27/imx-regs.h
Shouldn't these two files be part of a separate patch as they are not
specific to the iMX27 Lite board support?
Well, I thought about this... Let's wait for a
This patch adds support for i.MX27-LITEKIT development board from
LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND
flash, FEC ethernet controller integrated into i.MX27.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
MAINTAINERS |1 +
MAKEALL
Driver for NFC NAND controller found on Freescale's MX2 and MX3
processors. Ported from Linux. Tested only with i.MX27 but should
works with other MX2 and MX3 processors too.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/mxc_nand.c | 880
Driver for NFC NAND controller found on Freescale's MX2 and MX3
processors. Ported from Linux. Tested only with i.MX27 but should
works with other MX2 and MX3 processors too.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/mxc_nand.c | 902
This patch adds support for i.MX27-LITEKIT development board from
LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND
flash, FEC ethernet controller integrated into i.MX27.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
MAINTAINERS |1 +
MAKEALL
Hi Scott,
thanks for the review.
Scott Wood wrote:
+/* OOB placement block for use with hardware ecc generation */
+static struct nand_ecclayout nand_hw_eccoob = {
+.eccbytes = 5,
+.eccpos = {6, 7, 8, 9, 10},
+.oobfree = {{0, 5}, {11, 5}, }
+};
+
+#ifndef
Hi Jean-Christophe,
Jean-Christophe PLAGNIOL-VILLARD wrote:
+static int imx27lite_devices_init(void)
+{
+struct gpio_regs *regs = (struct gpio_regs *)IMX_GPIO_BASE;
+int i;
+unsigned int mode[] = {
+PD0_AIN_FEC_TXD0,
+PD1_AIN_FEC_TXD1,
+
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
cpu/arm926ejs/mx27/generic.c | 10 +
drivers/net/Makefile |1 +
drivers/net/fec_mxc.c| 742 ++
drivers/net/fec_mxc.h| 304 +
include/netdev.h |1
Hi Scott,
please review the updated patch (will be posted as a follow-up).
Scott Wood wrote:
Please look at drivers/mtd/nand/mpc5121_nfc.c, which AFAICT is very
similar hardware, and see if anything can be factored out into common
code, and try to keep the rest looking the same except where
301 - 400 of 476 matches
Mail list logo