Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-11-16 Thread Benoît Thébaudeau
Hi Scott, On Saturday, November 17, 2012 1:01:03 AM, Scott Wood wrote: > On 11/16/2012 02:28:16 PM, Benoît Thébaudeau wrote: > > Also, I've noticed that some of the oobfree fields of the > > nand_ecclayout > > structures in mxc_nand.c are slightly different from what can be > > found in Linux. > >

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2012-11-16 Thread Albert ARIBAUD
Hi Tom, On Fri, 16 Nov 2012 16:42:49 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. The previously > failing pxa boards are fixed with 'pxa: Disable dcache on palmld, > palmtc, zipitz2'. Sorry to be a nuisance, but what I meant that I wanted all commits

[U-Boot] [PATCH 01/57] Add architecture-specific global data

2012-11-16 Thread Simon Glass
We plan to move architecture-specific data into a separate structure so that we can make the rest of it common. As a first step, create struct arch_global_data to hold these fields. Initially it is empty. This patch applies to all archs at once. I can split it if this is really a pain. Signed-o

Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-11-16 Thread Scott Wood
On 11/16/2012 02:28:16 PM, Benoît Thébaudeau wrote: Also, I've noticed that some of the oobfree fields of the nand_ecclayout structures in mxc_nand.c are slightly different from what can be found in Linux. Any idea about which one is correct (if any)? Unless there's an obvious error such as

Re: [U-Boot] [PATCH v2] nand: Add torture feature

2012-11-16 Thread Scott Wood
On 11/16/2012 01:20:54 PM, Benoît Thébaudeau wrote: +int nand_torture(nand_info_t *nand, loff_t offset) +{ + u_char patterns[] = {0xa5, 0x5a, 0x00}; + struct erase_info instr = { + .mtd = nand, + .addr = offset, + .len = nand->erasesize, +

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2012-11-16 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM/master. The previously failing pxa boards are fixed with 'pxa: Disable dcache on palmld, palmtc, zipitz2'. The following changes since commit 7a5337732e3e05b2b0de1b592fa031b2c7b4f632: Rajeshwari Shinde (1): EXYNOS5: Enable SPI booting. a

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2012-11-16 Thread Albert ARIBAUD
Hi Tom, On Fri, 16 Nov 2012 14:45:49 -0700, Tom Warren wrote: > Albert, > > A fix was found and posted awhile back by Simon (195662 on PatchWork - > it's assigned to you as delegate). Marek's last comment was 'Just > apply this', so I suppose that's his version of an Acked-by. I don't > carry

Re: [U-Boot] [PATCH v2] mx5: Mark lowlevel_init board-specific code

2012-11-16 Thread Benoît Thébaudeau
Hi Stefano, On Wednesday, November 7, 2012 3:29:14 PM, Stefano Babic wrote: > On 05/11/2012 21:07, Benoît Thébaudeau wrote: > > The mx5 lowlevel_init.S contains board-specific code based on the > > reference > > design. Let's keep it since it avoids creating new lowlevel_init > > files and it > >

Re: [U-Boot] [PATCH 08/57] ixp: Move timestamp to arch_global_data

2012-11-16 Thread Marek Vasut
Dear Simon Glass, > Move this field into arch_global_data and tidy up. > > Signed-off-by: Simon Glass Ick, this driver's ugly :) Acked-by: Marek Vasut Tom, is there any IXP maintainer? > --- > arch/arm/cpu/ixp/timer.c |8 > arch/arm/include/asm/global_data.h |6 +

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2012-11-16 Thread Tom Warren
Albert, A fix was found and posted awhile back by Simon (195662 on PatchWork - it's assigned to you as delegate). Marek's last comment was 'Just apply this', so I suppose that's his version of an Acked-by. I don't carry that fix in my tree since it's not specifically Tegra-related. I can add it a

[U-Boot] [PATCH 22/57] ppc: Move used_tlb_cams to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc85xx/tlb.c |8 arch/powerpc/include/asm/global_data.h |6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/pow

[U-Boot] [PATCH 49/57] mips: Use generic global_data

2012-11-16 Thread Simon Glass
Move mips over to use generic global_data. Signed-off-by: Simon Glass --- arch/mips/include/asm/global_data.h | 34 +- 1 files changed, 1 insertions(+), 33 deletions(-) diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h inde

[U-Boot] [PATCH 56/57] sparc: Use generic global_data

2012-11-16 Thread Simon Glass
Move sparc over to use generic global_data. Signed-off-by: Simon Glass --- arch/sparc/include/asm/global_data.h | 46 +- 1 files changed, 1 insertions(+), 45 deletions(-) diff --git a/arch/sparc/include/asm/global_data.h b/arch/sparc/include/asm/global_data.h

[U-Boot] [PATCH 44/57] arm: Use generic global_data

2012-11-16 Thread Simon Glass
Signed-off-by: Simon Glass --- arch/arm/include/asm/global_data.h | 38 +--- 1 files changed, 1 insertions(+), 37 deletions(-) diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index 2f85b91..8ee0883 100644 --- a/arch/arm/incl

[U-Boot] [PATCH 37/57] m68k: Move CONFIG_EXTRA_CLOCK to arch_global_data

2012-11-16 Thread Simon Glass
Move inp_clk, vco_clk and flb_clk into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/m68k/cpu/mcf5227x/cpu.c|6 +++--- arch/m68k/cpu/mcf5227x/speed.c | 10 +- arch/m68k/cpu/mcf5445x/cpu.c| 10 +- arch/m68k/cpu/mcf5445x/speed.c

[U-Boot] [PATCH 43/57] Only use fb_base if we have a display

2012-11-16 Thread Simon Glass
The ideal of having a frame buffer when there isn't a display is not that useful. Change the bdinfo command to expect this only when we have an lcd or video display. Signed-off-by: Simon Glass --- common/cmd_bdinfo.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/com

[U-Boot] [PATCH 47/57] m68k: Use generic global_data

2012-11-16 Thread Simon Glass
Move m68k over to use generic global_data. Signed-off-by: Simon Glass --- arch/m68k/include/asm/global_data.h | 39 +-- 1 files changed, 1 insertions(+), 38 deletions(-) diff --git a/arch/m68k/include/asm/global_data.h b/arch/m68k/include/asm/global_data.h ind

[U-Boot] [PATCH 51/57] nios2: Use generic global_data

2012-11-16 Thread Simon Glass
Move nios2 over to use generic global_data. Signed-off-by: Simon Glass --- arch/nios2/include/asm/global_data.h | 24 +--- 1 files changed, 1 insertions(+), 23 deletions(-) diff --git a/arch/nios2/include/asm/global_data.h b/arch/nios2/include/asm/global_data.h index cf85

[U-Boot] [PATCH 50/57] nds32: Use generic global_data

2012-11-16 Thread Simon Glass
Move nds32 over to use generic global_data. Signed-off-by: Simon Glass --- arch/nds32/include/asm/global_data.h | 32 +--- 1 files changed, 1 insertions(+), 31 deletions(-) diff --git a/arch/nds32/include/asm/global_data.h b/arch/nds32/include/asm/global_data.h in

[U-Boot] [PATCH 57/57] x86: Use generic global_data

2012-11-16 Thread Simon Glass
Move x86 over to use generic global_data. Signed-off-by: Simon Glass --- arch/x86/include/asm/global_data.h | 32 +++- 1 files changed, 3 insertions(+), 29 deletions(-) diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h index d2eb

[U-Boot] [PATCH 34/57] ppc: Move kbd_status to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/global_data.h |6 +++--- board/lwmon/lwmon.c| 10 +- board/lwmon5/kbd.c | 10 +- 3 files changed, 13 insertions(+), 13 deleti

[U-Boot] [PATCH 48/57] microblaze: Use generic global_data

2012-11-16 Thread Simon Glass
Move microblaze over to use generic global_data. Signed-off-by: Simon Glass --- arch/microblaze/include/asm/global_data.h | 27 +-- 1 files changed, 1 insertions(+), 26 deletions(-) diff --git a/arch/microblaze/include/asm/global_data.h b/arch/microblaze/include/asm/g

[U-Boot] [PATCH 35/57] ppc: arm: Move sdhc_clk into arch_global_data

2012-11-16 Thread Simon Glass
This is used by both powerpc and arm, but I think it still qualifies as architecture-specific. Signed-off-by: Simon Glass --- arch/arm/cpu/arm1136/mx35/generic.c|6 +++--- arch/arm/cpu/arm926ejs/mx25/generic.c |4 ++-- arch/arm/imx-common/speed.c| 16

[U-Boot] [PATCH 55/57] sh: Use generic global_data

2012-11-16 Thread Simon Glass
Move sh over to use generic global_data. Signed-off-by: Simon Glass --- arch/sh/include/asm/global_data.h | 20 +--- 1 files changed, 1 insertions(+), 19 deletions(-) diff --git a/arch/sh/include/asm/global_data.h b/arch/sh/include/asm/global_data.h index db85d4d..0360230 100

[U-Boot] [PATCH 53/57] powerpc: Use generic global_data

2012-11-16 Thread Simon Glass
Move powerpc over to use generic global_data. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/global_data.h | 47 +--- 1 files changed, 1 insertions(+), 46 deletions(-) diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_d

[U-Boot] [PATCH 31/57] ppc: Remove console_addr from global data

2012-11-16 Thread Simon Glass
This does not appear to be used, so punt it. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/global_data.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h index b9037c4..6f88b76

[U-Boot] [PATCH 28/57] ppc: Move dp_alloc_base, dp_alloc_top to arch_global_data

2012-11-16 Thread Simon Glass
Move these fields into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc8260/commproc.c| 19 ++- arch/powerpc/cpu/mpc85xx/commproc.c| 19 ++- arch/powerpc/cpu/mpc8xx/commproc.c | 20 ++--

[U-Boot] [PATCH 27/57] ppc: Move arbiter fields to arch_global_data

2012-11-16 Thread Simon Glass
Move arbiter_event_attributes and arbiter_event_address into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc83xx/cpu_init.c| 28 +++- arch/powerpc/include/asm/global_data.h |8 2 files changed, 19 insertions(+), 17 dele

[U-Boot] [PATCH 46/57] blackfin: Use generic global_data

2012-11-16 Thread Simon Glass
Move blackfin over to use generic global_data. Signed-off-by: Simon Glass --- arch/blackfin/include/asm/global_data.h | 32 +-- 1 files changed, 1 insertions(+), 31 deletions(-) diff --git a/arch/blackfin/include/asm/global_data.h b/arch/blackfin/include/asm/globa

[U-Boot] [PATCH 20/57] ppc: Move CONFIG_QE to arch_global_data

2012-11-16 Thread Simon Glass
Move the quantative easing fields into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc83xx/speed.c |5 +++-- arch/powerpc/cpu/mpc85xx/speed.c |4 ++-- arch/powerpc/include/asm/global_data.h | 14 ++ drivers/qe/fdt.c

[U-Boot] [PATCH 24/57] ppc: Move mpc512x clocks to arch_global_data

2012-11-16 Thread Simon Glass
Move ips_clk and csb_clk into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc512x/cpu.c |2 +- arch/powerpc/cpu/mpc512x/i2c.c |2 +- arch/powerpc/cpu/mpc512x/ide.c |2 +- arch/powerpc/cpu/mpc512x/serial.c |2 +- arch/

[U-Boot] [PATCH 07/57] arm: Move timer_reset_value to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/arm/cpu/arm926ejs/davinci/timer.c |4 ++-- arch/arm/include/asm/global_data.h |5 + 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/timer.c b/arch

[U-Boot] [PATCH 17/57] ppc: Move mpc83xx clock fields to arch_global_data

2012-11-16 Thread Simon Glass
Move al mpc83xx fields into arch_global_data and tidy up. Also indent the nested #ifdef for clarity. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc83xx/cpu.c |2 +- arch/powerpc/cpu/mpc83xx/fdt.c |2 +- arch/powerpc/cpu/mpc83xx/pcie.c|4 +- arch/powerpc/c

[U-Boot] [PATCH 33/57] ppc: Move wdt_last to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/global_data.h |6 +++--- board/lwmon5/lwmon5.c |8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/include/asm/global_data.h b

[U-Boot] [PATCH 45/57] avr32: Use generic global_data

2012-11-16 Thread Simon Glass
Move avr32 over to use generic global_data. Signed-off-by: Simon Glass --- arch/avr32/include/asm/global_data.h | 29 + 1 files changed, 1 insertions(+), 28 deletions(-) diff --git a/arch/avr32/include/asm/global_data.h b/arch/avr32/include/asm/global_data.h index

[U-Boot] [PATCH 54/57] sandbox: Use generic global_data

2012-11-16 Thread Simon Glass
Move sandbox over to use generic global_data. Signed-off-by: Simon Glass --- arch/sandbox/include/asm/global_data.h | 25 + 1 files changed, 1 insertions(+), 24 deletions(-) diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h i

[U-Boot] [PATCH 18/57] ppc: Move lbc_clk and cpu to arch_global_data

2012-11-16 Thread Simon Glass
Move these fields into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc85xx/cpu.c |2 +- arch/powerpc/cpu/mpc85xx/fdt.c |4 ++-- arch/powerpc/cpu/mpc85xx/speed.c|2 +- arch/powerpc/cpu/mpc86xx/cpu.c |2 +- arch/p

[U-Boot] [PATCH 08/57] ixp: Move timestamp to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/arm/cpu/ixp/timer.c |8 arch/arm/include/asm/global_data.h |6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/ixp/timer.c b/arch/arm/cpu/ixp/timer

[U-Boot] [PATCH 14/57] ppc: Move brg_clk to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc8260/commproc.c|2 +- arch/powerpc/cpu/mpc8260/i2c.c |2 +- arch/powerpc/cpu/mpc8260/speed.c |4 ++-- arch/powerpc/cpu/mpc83xx/speed.c |5 +++-- arch/powe

[U-Boot] [PATCH 30/57] ppc: Move mirror_hack to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/global_data.h |6 +++--- board/evb64260/mpsc.c |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/global_data.h b/arch/

[U-Boot] [PATCH 04/57] arm: Move tbu to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/arm/cpu/arm920t/a320/timer.c|6 +++--- arch/arm/cpu/arm920t/s3c24x0/timer.c | 14 +++--- arch/arm/cpu/arm926ejs/armada100/timer.c | 12 ++-- arch/arm/cpu/arm926ejs/at91/time

[U-Boot] [PATCH 42/57] Add generic global_data

2012-11-16 Thread Simon Glass
Add a generic global_data structure which all archs will eventually use. Signed-off-by: Simon Glass --- include/asm-generic/global_data.h | 102 + 1 files changed, 102 insertions(+), 0 deletions(-) create mode 100644 include/asm-generic/global_data.h diff -

[U-Boot] [PATCH 52/57] openrisc: Use generic global_data

2012-11-16 Thread Simon Glass
Move openrisc over to use generic global_data. Signed-off-by: Simon Glass --- arch/openrisc/include/asm/global_data.h | 25 + 1 files changed, 1 insertions(+), 24 deletions(-) diff --git a/arch/openrisc/include/asm/global_data.h b/arch/openrisc/include/asm/global_data

[U-Boot] [PATCH 39/57] avr32: Move stack_end to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/avr32/cpu/exception.c |6 +++--- arch/avr32/include/asm/global_data.h |2 +- arch/avr32/lib/board.c |2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arc

[U-Boot] [PATCH 41/57] sandbox: Move ram_buf to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/sandbox/cpu/cpu.c |2 +- arch/sandbox/include/asm/global_data.h |2 +- arch/sandbox/lib/board.c |6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 23/57] ppc: Move mpc5xxx clocks to arch_global_data

2012-11-16 Thread Simon Glass
Move ipb_clk and pci_clk into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc5xxx/i2c.c |2 +- arch/powerpc/cpu/mpc5xxx/ide.c |2 +- arch/powerpc/cpu/mpc5xxx/serial.c |4 ++-- arch/powerpc/cpu/mpc5xxx/speed.c | 18 +++

[U-Boot] [PATCH 38/57] mips: Move per_clk and dev_clk to arch_global_data

2012-11-16 Thread Simon Glass
Move these field into arch_global_data and tidy up. The other CONFIG_JZSOC fields are used by various architectures, so just remove the #ifdef bracketing for these. Signed-off-by: Simon Glass --- arch/mips/include/asm/global_data.h |9 + 1 files changed, 5 insertions(+), 4 deletions(

[U-Boot] [PATCH 19/57] ppc: m68k: Move i2c1_clk, i2c2_clk to arch_global_data

2012-11-16 Thread Simon Glass
Move these fields into arch_global_data and tidy up. This is needed for both ppc and m68k since they share the i2c driver. Signed-off-by: Simon Glass --- arch/m68k/cpu/mcf5227x/speed.c |2 +- arch/m68k/cpu/mcf523x/speed.c |2 +- arch/m68k/cpu/mcf52x2/speed.c |

[U-Boot] [PATCH 40/57] avr32: Move cpu_hz to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/avr32/cpu/cpu.c |4 ++-- arch/avr32/cpu/interrupts.c |6 +++--- arch/avr32/include/asm/global_data.h |2 +- arch/avr32/lib/bootm.c |2 +- 4 files changed,

[U-Boot] [PATCH 06/57] arm: Move lastinc to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/arm/cpu/arm1136/mx31/timer.c|8 arch/arm/cpu/arm1136/mx35/timer.c|2 +- arch/arm/cpu/arm1136/omap24xx/timer.c| 12 ++-- arch/arm/cpu/arm920t/at91/timer.c|

[U-Boot] [PATCH 16/57] ppc: Move clock fields to arch_global_data

2012-11-16 Thread Simon Glass
Move vco_out, cpm_clk, scc_clk, brg_clk into arch_global_data and tidy up. Leave pci_clk on its own since this should really depend only on CONFIG_PCI and not any particular chip type. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc8260/speed.c | 16 arch/powerpc/cpu

[U-Boot] [PATCH 26/57] ppc: Move reset_status to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc512x/cpu.c |2 +- arch/powerpc/cpu/mpc512x/cpu_init.c|2 +- arch/powerpc/cpu/mpc8260/cpu_init.c|4 ++-- arch/powerpc/cpu/mpc83xx/cpu_init.c|4 ++-- arch/power

[U-Boot] [PATCH 05/57] arm: Move tbl to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/arm/cpu/arm1136/mx31/timer.c|6 +++--- arch/arm/cpu/arm1136/mx35/timer.c|2 +- arch/arm/cpu/arm1136/omap24xx/timer.c| 17 ++--- arch/arm/cpu/arm920t/a320/timer.c

[U-Boot] [PATCH 36/57] sparc: Drop kbd_status and reset_status from global_data

2012-11-16 Thread Simon Glass
These fields is not used on sparc, so punt them. Signed-off-by: Simon Glass --- arch/sparc/include/asm/global_data.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/sparc/include/asm/global_data.h b/arch/sparc/include/asm/global_data.h index a51c40b..7c3d2d5 100

[U-Boot] [PATCH 32/57] ppc: Move fpga_state to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/global_data.h |6 +++--- board/gdsys/405ep/405ep.c | 15 --- board/gdsys/405ex/405ex.c | 13 +++-- board/gdsys/405ex/io64.c

[U-Boot] [PATCH 25/57] ppc: Move mpc8220 clocks to arch_global_data

2012-11-16 Thread Simon Glass
Move these fields into arch_global_data and tidy up. The bExtUart field does not appear to be used, so punt it. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc8220/speed.c | 12 +++- arch/powerpc/include/asm/global_data.h | 13 ++--- arch/powerpc/lib/board.c

[U-Boot] [PATCH 21/57] ppc: Move used_laws to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/global_data.h |6 +++--- drivers/misc/fsl_law.c | 16 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/include/asm/global

[U-Boot] [PATCH 15/57] ppc: Remove extra pci_clk fields from global_data

2012-11-16 Thread Simon Glass
PPC has several of these fields, selected by chip type, although only one is ever compiled in. Instead, use a single field. It would be nice if this could be selected by CONFIG_PCI, but some chips (e.g. mpc5xxx) use pci_clk even when CONFIG_PCI is not enabled. Signed-off-by: Simon Glass --- arc

[U-Boot] [PATCH 29/57] arm: Move uart_clk to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/powerpc/cpu/ppc4xx/4xx_uart.c |4 ++-- arch/powerpc/cpu/ppc4xx/fdt.c |4 ++-- arch/powerpc/include/asm/global_data.h |6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff -

[U-Boot] [PATCH 13/57] x86: Move new_gd_addr to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. This will certainly break x86, so will need Graeme's help to sort out the problem. I would prefer not to put the architecture-specific stuff at the top of global_data since we relying on that seems even more ugly. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 12/57] x86: Remove reset_status, relocoff from global_data

2012-11-16 Thread Simon Glass
These fields are not used on x86, so punt them. Signed-off-by: Simon Glass --- arch/x86/include/asm/global_data.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h index ce96efb..3df83bb 100644 --- a

[U-Boot] [PATCH 03/57] arm: Move timer_rate_hz into arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/arm/cpu/arm920t/a320/timer.c |8 arch/arm/cpu/arm920t/s3c24x0/timer.c |4 ++-- arch/arm/cpu/arm926ejs/at91/timer.c|8 arch/arm/cpu/arm926ejs/davinci/timer.c |9

[U-Boot] [PATCH 11/57] x86: Move gdt_addr, new_gd_addr to arch_global_data

2012-11-16 Thread Simon Glass
Move these field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/x86/include/asm/global_data.h |4 ++-- arch/x86/lib/init_helpers.c| 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/i

[U-Boot] [PATCH 09/57] nds32: Drop tlb_addr from global data

2012-11-16 Thread Simon Glass
This field doesn't appear to be used for anything important, so drop it. Signed-off-by: Simon Glass --- arch/nds32/include/asm/global_data.h |3 --- arch/nds32/lib/board.c | 11 --- 2 files changed, 0 insertions(+), 14 deletions(-) diff --git a/arch/nds32/include/asm

[U-Boot] [PATCH 10/57] arm: Move tlb_addr to arch_global_data

2012-11-16 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- arch/arm/include/asm/global_data.h |6 +++--- arch/arm/lib/board.c |2 +- arch/arm/lib/cache-cp15.c |4 ++-- common/cmd_bdinfo.c|2 +- 4 files changed, 7 inser

[U-Boot] [PATCH 02/57] at91: Move at91 global data into arch_global_data

2012-11-16 Thread Simon Glass
Move these fields into arch_global_data. Signed-off-by: Simon Glass --- arch/arm/cpu/arm920t/at91/clock.c| 24 +--- arch/arm/cpu/arm926ejs/at91/clock.c | 30 -- arch/arm/cpu/arm926ejs/at91/timer.c |2 +- arch/arm/include/asm/arch-at91

[U-Boot] [PATCH 0/57] RFC: Move arch-specific global data into its own structure

2012-11-16 Thread Simon Glass
The previous generic board series hit a snag in that we needed generic code to access some of the architecture-specific fields in global_data. The solution eventually arrived at was to move these fields into a separate structure, so that global_data has the generic fields, and within that there is

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2012-11-16 Thread Albert ARIBAUD
Hi Tom, On Fri, 16 Nov 2012 10:14:46 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! > > ./MAKEALL -a arm completes w/o any new errors. > checkpatch is clean, also. I see three boards failing which do build on current u-boot-arm/master: palmld

Re: [U-Boot] please pull u-boot-samsung master

2012-11-16 Thread Albert ARIBAUD
Hi Minkyu, On Fri, 16 Nov 2012 15:40:58 +0900, Minkyu Kang wrote: > On 16/11/12 08:50, Albert ARIBAUD wrote: > > Hi Minkyu, > > (Was your master branch rebased?) > > Yes. > Is it not recommended? The wiki may still be lagging behind but it has been discussed here and master branches should ne

Re: [U-Boot] [RFC, PATCH] omap: Invalidate first page to avoid speculation

2012-11-16 Thread Albert ARIBAUD
Hi Vincent, On Fri, 16 Nov 2012 14:36:29 +0100, Vincent Stehlé wrote: > > Hello u-boot list, > > Here is a "request for comments" on the best way to solve a little > "speculation" issue on recent OMAPs. Any guidance/feedback on the way to go > would be greatly appreciated, please. > > I am us

Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-11-16 Thread Benoît Thébaudeau
On Friday, November 16, 2012 9:15:33 PM, Benoît Thébaudeau wrote: > Hi Scott, > > On Thursday, November 15, 2012 11:22:03 PM, Scott Wood wrote: > > On 09/18/2012 01:11:21 PM, Tom Rini wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > On 09/17/12 17:36, Scott Wood wrote:

Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-11-16 Thread Scott Wood
On 11/16/2012 02:18:51 PM, Scott Wood wrote: On 11/16/2012 02:15:33 PM, Benoît Thébaudeau wrote: The EFIKA MX Smartbook probably has MLC if we consider its NAND size. 4-kiB pages should be supported by nand_spl/nand_boot_fsl_nfc.c, but not yet by drivers/mtd/nand/mxc_nand.c. The latter curre

Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-11-16 Thread Scott Wood
On 11/16/2012 02:15:33 PM, Benoît Thébaudeau wrote: The EFIKA MX Smartbook probably has MLC if we consider its NAND size. 4-kiB pages should be supported by nand_spl/nand_boot_fsl_nfc.c, but not yet by drivers/mtd/nand/mxc_nand.c. The latter currently has a CONFIG_SYS_NAND_LARGEPAGE to differ

Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-11-16 Thread Benoît Thébaudeau
Hi Scott, On Thursday, November 15, 2012 11:22:03 PM, Scott Wood wrote: > On 09/18/2012 01:11:21 PM, Tom Rini wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 09/17/12 17:36, Scott Wood wrote: > > > On Tue, Aug 21, 2012 at 11:04:14PM +0200, Benoît Thébaudeau > > > wrote: >

[U-Boot] [PATCH v2] nand: Add torture feature

2012-11-16 Thread Benoît Thébaudeau
This patch adds a NAND Flash torture feature, which is useful as a block stress test to determine if a block is still good and reliable (or should be marked as bad), e.g. after a write error. This code is ported from mtd-utils' lib/libmtd.c. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood --- C

[U-Boot] pull request for u-boot-tegra/master into ARM/master

2012-11-16 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM/master. Thanks! ./MAKEALL -a arm completes w/o any new errors. checkpatch is clean, also. The following changes since commit 7a5337732e3e05b2b0de1b592fa031b2c7b4f632: Rajeshwari Shinde (1): EXYNOS5: Enable SPI booting. are available in

Re: [U-Boot] [PATCH] mx6: clock: Only show CSPI clock if CSPI is enabled

2012-11-16 Thread Dirk Behme
Am 16.11.2012 12:30, schrieb Fabio Estevam: From: Fabio Estevam If a board does not enable CSPI, there is no need to show the CSPI clock frequency as part of the 'clock' command. Reported-by: Dirk Behme Signed-off-by: Fabio Estevam Acked-by: Dirk Behme Thanks Dirk --- arch/arm/cpu/a

[U-Boot] [PATCH] ehci-mxc: Fix host power mask bit for i.MX25

2012-11-16 Thread Benoît Thébaudeau
The correct bit for H1_PM is 16, not 8, which is the DP pull-up impedance selection bit. This issue has been reported by Eric Bénard and fixed by Christoph Fritz on Linux, from which these #define-s had been copied. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Cc: Marek Vasut --- .../

Re: [U-Boot] [PATCH v2 6/8] omap_gpmc: BCH8 support (ELM based)

2012-11-16 Thread Peter Korsgaard
> "Andreas" == Andreas Bießmann writes: Hi, >> Please note that these patches are AM33XX-specific (as we are using >> ELM that, I think, just isn't available on OMAP3) so we use OOB >> layout that is compatible with AM33xx ROM boot code. Andreas> You are right, ELM is not available in O

[U-Boot] [PATCH 6/8] mx25pdk: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx25pdk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.

[U-Boot] [PATCH 7/8] mx31pdk: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx31pdk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.

[U-Boot] [PATCH 8/8] mx35pdk: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx35pdk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.

[U-Boot] [PATCH 5/8] mx51evk: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx51evk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.

[U-Boot] [PATCH 4/8] mx6qsabre_common: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx6qsabre_common.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx6qsabre_common.h b/inclu

[U-Boot] [PATCH 2/8] mx53loco: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx53loco.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx53loco.h b/include/configs/mx53lo

[U-Boot] [PATCH 3/8] mx6qsabrelite: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx6qsabrelite.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx6qsabrelite.h b/include/conf

[U-Boot] [PATCH 1/8] mx28evk: Configure CONFIG_BOOTDELAY to one second

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam One second is enough time for users to react in case they want to stop the booting process. Signed-off-by: Fabio Estevam --- include/configs/mx28evk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.

[U-Boot] [RFC, PATCH] omap: Invalidate first page to avoid speculation

2012-11-16 Thread Vincent Stehlé
Hello u-boot list, Here is a "request for comments" on the best way to solve a little "speculation" issue on recent OMAPs. Any guidance/feedback on the way to go would be greatly appreciated, please. I am using u-boot on an OMAP5 HS device (with security, that is), and I am experiencing "securit

Re: [U-Boot] [PATCH 2/4] mx5: Print CSPI clock in 'clock' command

2012-11-16 Thread Stefano Babic
On 16/11/2012 12:15, Fabio Estevam wrote: > Hi Dirk, > > On Fri, Nov 16, 2012 at 4:35 AM, Dirk Behme wrote: > >> I wondered if we want something similar for i.MX6, too. And found that we >> have this on i.MX6, already. But without #ifdef. >> >> http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;

Re: [U-Boot] [PATCH 4/4] spi: mxc_spi: Fix spi clock glitch durant reset

2012-11-16 Thread Stefano Babic
On 15/11/2012 22:23, Fabio Estevam wrote: > From: Fabio Estevam > > Measuring the spi clock line on a scope shows a 'glitch' during the reset of > the > spi. > > Fix this by toggling only the MXC_CSPICTRL_EN bit, so that the clock line > becomes > always stable. > > Signed-off-by: Fabio Este

Re: [U-Boot] [PATCH] ehci-mxc: Fix host power mask bit for i.MX35

2012-11-16 Thread Stefano Babic
On 16/11/2012 12:42, Benoît Thébaudeau wrote: > The correct bit for H1_PM is 16, not 8, which is the DP pull-up impedance > selection bit. > > This issue has been reported by Michael Burkey and fixed > by > Christoph Fritz on Linux, from which these > #define-s > had been copied. > > Signed-o

Re: [U-Boot] [PATCH 6/6] WIP: arm: trats: add support for new I2C framework

2012-11-16 Thread Piotr Wilczek
Hello Heiko, > -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Friday, November 16, 2012 11:46 AM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Minkyu Kang; Kyungmin Park; Lukasz Majewski; > Simon Glass; Stephen Warren; Tom Rini > Subject: Re: [PATCH 6/6] WIP: arm

Re: [U-Boot] [PATCH 5/6] WIP: i2c: s3c24x0: modify driver for new I2C framework

2012-11-16 Thread Piotr Wilczek
Hello Heiko, > -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Friday, November 16, 2012 11:34 AM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Minkyu Kang; Kyungmin Park; Lukasz Majewski; > Simon Glass; Stephen Warren; Tom Rini > Subject: Re: [PATCH 5/6] WIP: i2c

[U-Boot] [PATCH] ehci-mxc: Fix host power mask bit for i.MX35

2012-11-16 Thread Benoît Thébaudeau
The correct bit for H1_PM is 16, not 8, which is the DP pull-up impedance selection bit. This issue has been reported by Michael Burkey and fixed by Christoph Fritz on Linux, from which these #define-s had been copied. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Cc: Marek Vasut --- .

[U-Boot] [PATCH] mx6: clock: Only show CSPI clock if CSPI is enabled

2012-11-16 Thread Fabio Estevam
From: Fabio Estevam If a board does not enable CSPI, there is no need to show the CSPI clock frequency as part of the 'clock' command. Reported-by: Dirk Behme Signed-off-by: Fabio Estevam --- arch/arm/cpu/armv7/mx6/clock.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu

Re: [U-Boot] [PATCH 2/4] mx5: Print CSPI clock in 'clock' command

2012-11-16 Thread Fabio Estevam
Hi Dirk, On Fri, Nov 16, 2012 at 4:35 AM, Dirk Behme wrote: > I wondered if we want something similar for i.MX6, too. And found that we > have this on i.MX6, already. But without #ifdef. > > http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=arch/arm/cpu/armv7/mx6/clock.c;h=a01d96f48e04

Re: [U-Boot] [SPL mode] Question

2012-11-16 Thread Lukasz Majewski
Hi Andreas, > Dear Lukasz Majewski, > > On 15.11.2012 16:51, Lukasz Majewski wrote: > > Hi Stefano, > > > > I've got some questions about Falcon mode and spl export command. > > > > I've looked into the ./common/cmd_spl.c at master branch > > SHA1: 59852d03867108217fe88e3bfc3e1e9cedfe63c5 > >

Re: [U-Boot] [PATCH 6/6] WIP: arm: trats: add support for new I2C framework

2012-11-16 Thread Heiko Schocher
Hello Piotr, On 15.11.2012 09:15, Piotr Wilczek wrote: This enables new i2c framework on Trats board. Hardware s3c24x0 i2c driver is used instead of software i2c. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- board/samsung/trats/trats.c | 26 +

Re: [U-Boot] [PATCH 5/6] WIP: i2c: s3c24x0: modify driver for new I2C framework

2012-11-16 Thread Heiko Schocher
Hello Piotr, On 15.11.2012 09:15, Piotr Wilczek wrote: This patch modifies s3c24x0 driver for the new I2C framework. Configs for VCMA9.h and smdk5250.h boards are modified. Boards compile successfully but were not tested. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang

Re: [U-Boot] [PATCH v2 6/8] omap_gpmc: BCH8 support (ELM based)

2012-11-16 Thread Andreas Bießmann
Dear Ilya Yanok, On 15.11.2012 21:08, Ilya Yanok wrote: > Dear Andreas, > > On Thu, Nov 15, 2012 at 2:25 PM, Andreas Bießmann > mailto:andreas.de...@googlemail.com>> wrote: > > Dear Ilya Yanok, > > On 07.11.2012 00:06, Ilya Yanok wrote: > > From: Mansoor Ahamed

  1   2   >