[U-Boot] [PATCH v2 27/58] ppc: Move reset_status to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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|

[U-Boot] [PATCH v2 22/58] ppc: Move used_laws to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/mpc8xxx/law.c | 16 arch/powerpc/include/asm/global_data.h |6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/power

[U-Boot] [PATCH v2 20/58] ppc: m68k: Move i2c1_clk, i2c2_clk to arch_global_data

2012-12-13 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 --- Changes in v2: None arch/m68k/cpu/mcf5227x/speed.c |2 +- arch/m68k/cpu/mcf523x/speed.c |2 +- arch/m68k/cpu/mcf52x2

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

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

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

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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/

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

2012-12-13 Thread Simon Glass
Move these fields into arch_global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/

[U-Boot] [PATCH v2 18/58] ppc: Move mpc83xx clock fields to arch_global_data

2012-12-13 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 --- Changes in v2: None arch/powerpc/cpu/mpc83xx/cpu.c |2 +- arch/powerpc/cpu/mpc83xx/fdt.c |2 +- arch/powerpc/cpu/mpc83xx/pcie.c|

[U-Boot] [PATCH v2 19/58] ppc: Move lbc_clk and cpu to arch_global_data

2012-12-13 Thread Simon Glass
Move these fields into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 30/58] arm: Move uart_clk to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 29/58] ppc: Move dp_alloc_base, dp_alloc_top to arch_global_data

2012-12-13 Thread Simon Glass
Move these fields into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/mpc8260/commproc.c| 19 ++- arch/powerpc/cpu/mpc85xx/commproc.c| 19 ++- arch/powerpc/cpu/mpc8xx/commproc.c | 20

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

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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/a

[U-Boot] [PATCH v2 21/58] ppc: Move CONFIG_QE to arch_global_data

2012-12-13 Thread Simon Glass
Move the quantative easing fields into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/mpc83xx/speed.c |5 +++-- arch/powerpc/cpu/mpc85xx/speed.c |4 ++-- arch/powerpc/include/asm/global_data.h | 14 ++ drivers/

[U-Boot] [PATCH v2 26/58] ppc: Move mpc8220 clocks to arch_global_data

2012-12-13 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 --- Changes in v2: None arch/powerpc/cpu/mpc8220/speed.c | 12 +++- arch/powerpc/include/asm/global_data.h | 13 ++--- arch/powerp

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

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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/arm92

[U-Boot] [PATCH v2 55/58] sandbox: Use generic global_data

2012-12-13 Thread Simon Glass
Move sandbox over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/includ

[U-Boot] [PATCH v2 16/58] ppc: Remove extra pci_clk fields from global_data

2012-12-13 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 --- Chan

[U-Boot] [PATCH v2 32/58] ppc: Remove console_addr from global data

2012-12-13 Thread Simon Glass
This does not appear to be used, so punt it. Signed-off-by: Simon Glass --- Changes in v2: None 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 i

[U-Boot] [PATCH v2 23/58] ppc: Move used_tlb_cams to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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/mpc

[U-Boot] [PATCH v2 36/58] ppc: arm: Move sdhc_clk into arch_global_data

2012-12-13 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 --- Changes in v2: None arch/arm/cpu/arm1136/mx35/generic.c|6 +++--- arch/arm/cpu/arm926ejs/mx25/generic.c |4 ++-- arch/arm/imx-common/speed.c|

[U-Boot] [PATCH v2 42/58] sandbox: Move ram_buf to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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 del

[U-Boot] [PATCH v2 25/58] ppc: Move mpc512x clocks to arch_global_data

2012-12-13 Thread Simon Glass
Move ips_clk and csb_clk into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 39/58] mips: Move per_clk and dev_clk to arch_global_data

2012-12-13 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 --- Changes in v2: None arch/mips/include/asm/global_data.h |9 + 1 files changed, 5 insert

[U-Boot] [PATCH v2 53/58] openrisc: Use generic global_data

2012-12-13 Thread Simon Glass
Move openrisc over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/in

[U-Boot] [PATCH v2 31/58] ppc: Move mirror_hack to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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/g

[U-Boot] [PATCH v2 34/58] ppc: Move wdt_last to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 28/58] ppc: Move arbiter fields to arch_global_data

2012-12-13 Thread Simon Glass
Move arbiter_event_attributes and arbiter_event_address into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/mpc83xx/cpu_init.c| 28 +++- arch/powerpc/include/asm/global_data.h |8 2 files changed, 19 i

[U-Boot] [PATCH v2 52/58] nios2: Use generic global_data

2012-12-13 Thread Simon Glass
Move nios2 over to use generic global_data. Signed-off-by: Simon Glass Acked-by: Thomas Chou --- Changes in v2: None 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/ar

[U-Boot] [PATCH v2 50/58] mips: Use generic global_data

2012-12-13 Thread Simon Glass
Move mips over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/a

[U-Boot] [PATCH v2 51/58] nds32: Use generic global_data

2012-12-13 Thread Simon Glass
Move nds32 over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 44/58] Only use fb_base if we have a display

2012-12-13 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 --- Changes in v2: None common/cmd_bdinfo.c |4 1 files changed, 4 insertions(+), 0 deletions

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

2012-12-13 Thread Simon Glass
Move x86 over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to master arch/x86/include/asm/global_data.h | 37 ++- 1 files changed, 3 insertions(+), 34 deletions(-) diff --git a/arch/x86/include/asm/global_data.h b/arch/x8

[U-Boot] [PATCH v2 45/58] arm: Use generic global_data

2012-12-13 Thread Simon Glass
Signed-off-by: Simon Glass --- Changes in v2: None 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 10064

[U-Boot] [PATCH v2 48/58] m68k: Use generic global_data

2012-12-13 Thread Simon Glass
Move m68k over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/

[U-Boot] [PATCH v2 40/58] avr32: Move stack_end to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 54/58] powerpc: Use generic global_data

2012-12-13 Thread Simon Glass
Move powerpc over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 41/58] avr32: Move cpu_hz to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 33/58] ppc: Move fpga_state to arch_global_data

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

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

2012-12-13 Thread Simon Glass
Move sparc over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/inclu

[U-Boot] [PATCH v2 47/58] blackfin: Use generic global_data

2012-12-13 Thread Simon Glass
Move blackfin over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/black

[U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

2012-12-13 Thread Simon Glass
Move avr32 over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/as

[U-Boot] [PATCH v2 49/58] microblaze: Use generic global_data

2012-12-13 Thread Simon Glass
Move microblaze over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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/mic

[U-Boot] [PATCH v2 37/58] sparc: Drop kbd_status and reset_status from global_data

2012-12-13 Thread Simon Glass
These fields is not used on sparc, so punt them. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 43/58] Add generic global_data

2012-12-13 Thread Simon Glass
Add a generic global_data structure which all archs will eventually use. Signed-off-by: Simon Glass --- Changes in v2: - Remove tabs after #ifdef and #define in generic global_data include/asm-generic/global_data.h | 102 + 1 files changed, 102 insertions(+)

[U-Boot] [PATCH v2 56/58] sh: Use generic global_data

2012-12-13 Thread Simon Glass
Move sh over to use generic global_data. Signed-off-by: Simon Glass --- Changes in v2: None 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

[U-Boot] [PATCH v2 38/58] m68k: Move CONFIG_EXTRA_CLOCK to arch_global_data

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

[U-Boot] [PATCH v2 35/58] ppc: Move kbd_status to arch_global_data

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/include/asm/global_data.h |6 +++--- board/lwmon/lwmon.c| 10 +- board/lwmon5/kbd.c | 10 +- 3 files changed, 13 ins

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

2012-12-13 Thread Simon Glass
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass --- Changes in v2: None 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/da

[U-Boot] [PATCH v3 2/7] usb: ehci: generic PCI support

2012-12-13 Thread Simon Glass
From: Vincent Palatin Instead of hardcoding the PCI IDs on the USB controller, use the PCI class to detect them. Ensure the busmaster bit is properly set in the PCI configuration. Signed-off-by: Simon Glass --- Changes in v3: - Check the last PCI bus (this was unfortunately omitted in v2) Cha

Re: [U-Boot] [PATCH] common/command.c: revert chanches from commit 199adb60

2012-12-13 Thread Anatolij Gustschin
Hi Rommel, On Fri, 14 Dec 2012 04:13:34 + (UTC) Rommel Custodio wrote: ... > > > > Applied to u-boot-staging/agust denx.de-urgent. > > *bump* > > This seems to be still missing in master. This patch is already in master, here is the commit [1]. Thanks, Anatolij [1] http://git.denx.de/

<    1   2