[U-Boot] [PATCH] ARM v7: Flush icache when executing a program with go

2012-11-25 Thread Henrik Nordström
ARM v7 runs with icache enabled. For reliable results the go command needs to flush the icache before jumping or it may risk running cached instructions that differ from what currently is in memory. --- arch/arm/cpu/armv7/Makefile |1 + arch/arm/cpu/armv7/cmd_boot.c | 37

[U-Boot] [PATCH 0/2] Makefile mkconfig: Ease board name maintenance on shared boards

2012-11-25 Thread Henrik Nordström
This patch series adds CONFIG_SYS_BOARD_NAME with the boards.cfg board name. This differs from the source level board name when multiple boards share the same source using parameters set in boards.cfg. This is used by the upcoming Allwinner sunxi (A10 A13) SoC support Henrik Nordstrom (2):

[U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name

2012-11-25 Thread Henrik Nordström
This change makes CONFIG_SYS_BOARD_NAME globally available as the configured target name, avoiding the need to define manually for boards having multiple targets sharing the same board implementation. --- include/config_fallbacks.h |4 mkconfig |1 + 2 files

[U-Boot] [PATCH 2/2] Makefile: Accept target names in all lower case to ease matching

2012-11-25 Thread Henrik Nordström
--- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 1a17be9..5a98745 100644 --- a/Makefile +++ b/Makefile @@ -752,6 +752,7 @@ unconfig: sinclude $(obj).boards.depend $(obj).boards.depend: boards.cfg @awk '(NF $$1 !~ /^#/) {

[U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Henrik Nordström
This patch series adds support for Allwinner sunxi (A10 A13) SoC families, including SPL loader to boot u-boot directly from MMC/SD. Aaron (1): ARM: sunxi: MMC driver Henrik Nordstrom (14): ARM sunxi: I2C driver ARM: sunxi: watchdog support power: Add AXP209 Power Management controller

[U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Henrik Nordström
This adds a basic MMC driver for Allwinner sun4i/sun5i family of SoC this driver is limited to a single MMC channel. Signed-off-by: Tom Cubie tangli...@allwinnertech.com Signed-off-by: Henrik Nodstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de ---

[U-Boot] [PATCH 03/22] ARM sunxi: I2C driver

2012-11-25 Thread Henrik Nordström
A basic basic driver for the I2C controller found in Allwinner sunXi (A10 A13) SoCs. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de --- arch/arm/cpu/armv7/sunxi/clock.c | 15 ++ arch/arm/include/asm/arch-sunxi/i2c.h | 185

[U-Boot] [PATCH 05/22] power: Add AXP209 Power Management controller (I2C)

2012-11-25 Thread Henrik Nordström
This adds support for AXP209 Power Management controller, used by most sunxi (Allwinner A10/A13) based boards. From: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de --- drivers/power/Makefile |1 +

[U-Boot] [PATCH 06/22] ARM sunxi: Basic GPIO driver

2012-11-25 Thread Henrik Nordström
GPIO driver for Allwinner sun4i/sun5i family of SoCs GPIO Pins are named by their symbolic pin names Pg# such as PH19 or H19. Note: This do not perform any validation if the pin is in use for some other I/O function. Use with care. --- arch/arm/include/asm/arch-sunxi/gpio.h |2 +

[U-Boot] [PATCH 07/22] tools: mksunixboot adding a Allwinner boot header

2012-11-25 Thread Henrik Nordström
This tool adds a boot header to the supplied file, for booting code directly from the SoC embedded boot rom. Needed for making the SPL loader bootable. From: Tom Cubie mr.hip...@gmail.com Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de ---

[U-Boot] [PATCH 08/22] net: Add sunxi (Allwinner) wemac driver

2012-11-25 Thread Henrik Nordström
This patch adds support for the WEMAC, the ethernet controller included in the Allwinner A10 SoC. It will get used in the upcoming A10 board support. From: Stefan Roese s...@denx.de Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net ---

[U-Boot] [PATCH 09/22] ARM: sun4i: Enable ethernet support (wemac) on A10 boards

2012-11-25 Thread Henrik Nordström
From: Stefan Roese s...@denx.de Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- arch/arm/cpu/armv7/sunxi/board.c | 14 ++ include/configs/sun4i.h |8 2 files changed, 22 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH 10/22] sunxi: Add more network commands and netconsole support

2012-11-25 Thread Henrik Nordström
Add most network related commands Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- include/configs/sun4i.h | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h index ad51446..a58f82b 100644

[U-Boot] [PATCH 19/22] ARM sunxi: SPL support for MK802 board

2012-11-25 Thread Henrik Nordström
From: Sergey Lapin sla...@ossfans.org Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_mk802.c | 24 boards.cfg |1 + 3 files changed, 26 insertions(+), 0 deletions(-) create mode

[U-Boot] [PATCH 12/22] ARM sunxi: SPL support for Olimex A13-OLinuXino board

2012-11-25 Thread Henrik Nordström
Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_a13_olinuxino.c | 31 +++ boards.cfg |1 + 3 files changed, 33 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH 13/22] ARM sunxi: SPL support for Mele A1000 board

2012-11-25 Thread Henrik Nordström
Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_mele_a1000.c | 24 boards.cfg|1 + 3 files changed, 26 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH 20/22] ARM sunxi: SPL support for Rikomagic MK802II board

2012-11-25 Thread Henrik Nordström
From: j j...@mailb.org Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_mk802ii.c | 31 +++ boards.cfg |1 + 3 files changed, 33 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH 15/22] ARM sunxi: SPL support for Hackberry 1GB board

2012-11-25 Thread Henrik Nordström
From: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: J M mtx51...@gmail.com --- board/sunxi/Makefile |1 + board/sunxi/dram_hackberry.c | 31 +++ boards.cfg |1 +

[U-Boot] [PATCH 21/22] ARM sunxi: SPL support for Mele A3700 board

2012-11-25 Thread Henrik Nordström
Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_mele_a3700.c | 31 +++ boards.cfg|1 + 3 files changed, 33 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH 16/22] ARM sunxi: SPL support for a13_mid board

2012-11-25 Thread Henrik Nordström
From:Jari Helaakoski tekk...@gmail.com Signed-off-by: Jari Helaakoski tekk...@gmail.com Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_a13_mid.c | 31 +++ boards.cfg |1 + 3

[U-Boot] [PATCH 17/22] ARM sunxi: SPL support for Mini-X board

2012-11-25 Thread Henrik Nordström
From: Jari Helaakoski tekk...@gmail.com Signed-off-by: Jari Helaakoski tekk...@gmail.com Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_mini_x.c | 31 +++ boards.cfg|1 + 3 files

[U-Boot] [PATCH 22/22] ARM sunxi: SPL support for Olinuxino A13 Micro

2012-11-25 Thread Henrik Nordström
From: hehopmajieh gamis...@gmail.com Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_a13_oli_micro.c | 32 boards.cfg |1 + include/configs/sunxi-common.h |

[U-Boot] [PATCH 18/22] ARM sunxi: SPL support for hyundai A7HD board

2012-11-25 Thread Henrik Nordström
Signed-off-by: Luc Verhaegen l...@skynet.be Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de --- board/sunxi/Makefile|1 + board/sunxi/dram_hyundai_a7hd.c | 31 +++ boards.cfg |

[U-Boot] [PATCH 04/22] ARM: sunxi: watchdog support

2012-11-25 Thread Henrik Nordström
This adds support for the hardware watchdog in Allwinner sun4i sun5i (sunxi) SoC familiy. From: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de --- arch/arm/cpu/armv7/sunxi/board.c|3

[U-Boot] [PATCH 14/22] ARM sunxi: SPL support for Cubieboard board

2012-11-25 Thread Henrik Nordström
From: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Alejandro Mery am...@geeks.cl Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de --- board/sunxi/Makefile |2 ++ board/sunxi/dram_cubieboard.c | 31

[U-Boot] [PATCH 11/22] ARM: sunxi: U-Boot SPL capable of booting directly from MMC

2012-11-25 Thread Henrik Nordström
Allwinner sunxi family of SoCs boots from MMC0/NAND/NOR/MMC2 loading boot code into an embedded 32KB SRAM. This patch adds support for booting u-boot SPL from MMC0 We first initializes the console UART, then DRAM controller with board specific DRAM configuration details, configure CPU core

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 13:23 +0100 skrev Luka Perkov: Hi Henrik, I have few comments bellow. +++ b/arch/arm/cpu/armv7/sunxi/Makefile +# (C) Copyright 2000-2003 I don't know about the dates. It's 2012 now... Same goes for all other files. Heh.. Not sure which board that was copied

Re: [U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Luka Perkov
On Sun, Nov 25, 2012 at 12:37:59PM +0100, Henrik Nordström wrote: This adds a basic MMC driver for Allwinner sun4i/sun5i family of SoC this driver is limited to a single MMC channel. Signed-off-by: Tom Cubie tangli...@allwinnertech.com Signed-off-by: Henrik Nodstrom

Re: [U-Boot] [PATCH 03/22] ARM sunxi: I2C driver

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:38:46PM +0100, Henrik Nordström wrote: A basic basic driver for the I2C controller found in Allwinner sunXi (A10 A13) SoCs. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de ---

Re: [U-Boot] [PATCH 05/22] power: Add AXP209 Power Management controller (I2C)

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:39:39PM +0100, Henrik Nordström wrote: This adds support for AXP209 Power Management controller, used by most sunxi (Allwinner A10/A13) based boards. From: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Henrik Nordstrom

Re: [U-Boot] [PATCH 06/22] ARM sunxi: Basic GPIO driver

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:40:23PM +0100, Henrik Nordström wrote: GPIO driver for Allwinner sun4i/sun5i family of SoCs GPIO Pins are named by their symbolic pin names Pg# such as PH19 or H19. Note: This do not perform any validation if the pin is in use for some other I/O

Re: [U-Boot] [PATCH 07/22] tools: mksunixboot adding a Allwinner boot header

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:40:50PM +0100, Henrik Nordström wrote: This tool adds a boot header to the supplied file, for booting code directly from the SoC embedded boot rom. Needed for making the SPL loader bootable. From: Tom Cubie mr.hip...@gmail.com Signed-off-by: Henrik

Re: [U-Boot] [PATCH 09/22] ARM: sun4i: Enable ethernet support (wemac) on A10 boards

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:42:15PM +0100, Henrik Nordström wrote: From: Stefan Roese s...@denx.de Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- arch/arm/cpu/armv7/sunxi/board.c | 14 ++

Re: [U-Boot] [PATCH 10/22] sunxi: Add more network commands and netconsole support

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:43:41PM +0100, Henrik Nordström wrote: Add most network related commands Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- include/configs/sun4i.h | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff

Re: [U-Boot] [PATCH 11/22] ARM: sunxi: U-Boot SPL capable of booting directly from MMC

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:44:17PM +0100, Henrik Nordström wrote: Allwinner sunxi family of SoCs boots from MMC0/NAND/NOR/MMC2 loading boot code into an embedded 32KB SRAM. This patch adds support for booting u-boot SPL from MMC0 We first initializes the console UART, then DRAM

Re: [U-Boot] [PATCH 12/22] ARM sunxi: SPL support for Olimex A13-OLinuXino board

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:44:40PM +0100, Henrik Nordström wrote: Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net --- board/sunxi/Makefile |1 + board/sunxi/dram_a13_olinuxino.c | 31 +++ boards.cfg |

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Luka Perkov
Hi Henrik, On Sun, Nov 25, 2012 at 12:36:52PM +0100, Henrik Nordström wrote: This patch series adds support for Allwinner sunxi (A10 A13) SoC families, including SPL loader to boot u-boot directly from MMC/SD. I took a quick look at your patches... I think you should add README file in doc

Re: [U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 15:33 +0100 skrev Luka Perkov: +#define MMCDBG(fmt...) printf([mmc]: fmt) Why not reuse something from existing uboot code ? (exaple from api/api.c): 53 #ifdef DEBUG 54 #define debugf(fmt, args...) do { printf(%s(): , __func__); printf(fmt, ##args); }

Re: [U-Boot] [PATCH 03/22] ARM sunxi: I2C driver

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 15:41 +0100 skrev Luka Perkov: Why don't you do it like this: #ifdef CONFIG_CMD_I2C #define CONFIG_SPL_I2C_SUPPORT #define CONFIG_SYS_I2C_SPEED 40 #define CONFIG_HARD_I2C #define CONFIG_SUNXI_I2C #define CONFIG_SYS_I2C_SLAVE 0x7f #endif /*

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Henrik Nordström
Thanks for your patch reviews. Will fix up your comments and submit a new batch of patches later tonight. sön 2012-11-25 klockan 16:21 +0100 skrev Luka Perkov: I think you should add README file in doc directory. It should at least contain information how to add support for new boards and

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Luka Perkov
On Sun, Nov 25, 2012 at 05:02:57PM +0100, Henrik Nordström wrote: Thanks for your patch reviews. Will fix up your comments and submit a new batch of patches later tonight. You might want to wait a few days... Somebody else might have comments. sön 2012-11-25 klockan 16:21 +0100 skrev Luka

Re: [U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Luka Perkov
On Sun, Nov 25, 2012 at 04:39:03PM +0100, Henrik Nordström wrote: sön 2012-11-25 klockan 15:33 +0100 skrev Luka Perkov: +#define MMCDBG(fmt...) printf([mmc]: fmt) Why not reuse something from existing uboot code ? (exaple from api/api.c): 53 #ifdef DEBUG 54 #define

Re: [U-Boot] [PATCH] ARM v7: Flush icache when executing a program with go

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353842010.17518.3.ca...@home.hno.se you wrote: ARM v7 runs with icache enabled. For reliable results the go command needs to flush the icache before jumping or it may risk running cached instructions that differ from what currently is in memory. This should

Re: [U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353842534.17518.10.ca...@home.hno.se you wrote: This change makes CONFIG_SYS_BOARD_NAME globally available as the configured target name, avoiding the need to define manually for boards having multiple targets sharing the same board implementation. ---

Re: [U-Boot] [PATCH 2/2] Makefile: Accept target names in all lower case to ease matching

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353842544.17518.11.ca...@home.hno.se you wrote: --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 1a17be9..5a98745 100644 --- a/Makefile +++ b/Makefile @@ -752,6 +752,7 @@ unconfig:

Re: [U-Boot] [PATCH 07/22] tools: mksunixboot adding a Allwinner boot header

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843650.17518.18.ca...@home.hno.se you wrote: This tool adds a boot header to the supplied file, for booting code directly from the SoC embedded boot rom. Needed for making the SPL loader bootable. Why do we need yet another make file header tool? Why

Re: [U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 18:43 +0100 skrev Wolfgang Denk: echo #define CONFIG_SYS_BOARD \${board}\ config.h +echo #define CONFIG_SYS_TARGET \${BOARD_NAME}\ config.h I don't see what the difference is between CONFIG_SYS_BOARD (which is the board name) and CONFIG_SYS_BOARD_NAME ?

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Marek Vasut
Dear Henrik Nordström, Thanks for your patch reviews. Will fix up your comments and submit a new batch of patches later tonight. sön 2012-11-25 klockan 16:21 +0100 skrev Luka Perkov: I think you should add README file in doc directory. It should at least contain information how to add

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Marek Vasut
Dear Henrik Nordström, This adds support for the Allwinner A10/A13 SoC's. Additionally board support for the dev-boards sun4i/sun5i is added. Signed-off-by: Tom Cubie tangli...@allwinnertech.com Signed-off-by: Henrik Nordström hen...@henriknordstrom.net Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH 2/2] Makefile: Accept target names in all lower case to ease matching

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 18:45 +0100 skrev Wolfgang Denk: Dear Henrik Nordström, In message 1353842544.17518.11.ca...@home.hno.se you wrote: --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 1a17be9..5a98745 100644 ---

Re: [U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Marek Vasut
Dear Henrik Nordström, This adds a basic MMC driver for Allwinner sun4i/sun5i family of SoC this driver is limited to a single MMC channel. Signed-off-by: Tom Cubie tangli...@allwinnertech.com Signed-off-by: Henrik Nodstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH] mx23: Add POWER and CLKCTRL register definitions

2012-11-25 Thread Otavio Salvador
On Sun, Nov 25, 2012 at 1:06 AM, Marek Vasut ma...@denx.de wrote: I still don't see any argument against applying this patch -- other than the fact it will break some out-of-tree port. Isn't it good enough? You know about my port; you know where it is and in fact you've been helping guiding me

Re: [U-Boot] [PATCH] mx28: Rename regs-power.h to regs-power-mx28.h

2012-11-25 Thread Otavio Salvador
On Sat, Nov 24, 2012 at 10:15 PM, Marek Vasut ma...@denx.de wrote: The i.MX23 has different register layout and bit placement in the power supply. Thus, in order to be able to add support for MX23, rename the MX28's regs-power.h to regs-power-mx28.h . Moreover, add ifdef around inclusion of

Re: [U-Boot] [PATCH 03/22] ARM sunxi: I2C driver

2012-11-25 Thread Marek Vasut
Dear Henrik Nordström, [...] +static struct i2c __attribute__ ((section(.data))) *i2c_base = + (struct i2c *)0x1c2ac00; I dont think you need this workaround at all ... just stick it into the function, it's a static constant (and #define the constant please) + +void i2c_init(int

Re: [U-Boot] [PATCH 05/22] power: Add AXP209 Power Management controller (I2C)

2012-11-25 Thread Marek Vasut
Dear Henrik Nordström, This adds support for AXP209 Power Management controller, used by most sunxi (Allwinner A10/A13) based boards. From: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de ---

Re: [U-Boot] [PATCH 06/22] ARM sunxi: Basic GPIO driver

2012-11-25 Thread Marek Vasut
Dear Henrik Nordström, GPIO driver for Allwinner sun4i/sun5i family of SoCs GPIO Pins are named by their symbolic pin names Pg# such as PH19 or H19. Note: This do not perform any validation if the pin is in use for some other I/O function. Use with care. ---

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 18:58 +0100 skrev Marek Vasut: The mkimage infrastructure won't work? I think it's much better than yet another tool (mksunxi...) Suggestion how to fit adding an SPL header with these parameters in mkimage is welcome

Re: [U-Boot] [PATCH] mx23: Add POWER and CLKCTRL register definitions

2012-11-25 Thread Marek Vasut
Dear Otavio Salvador, On Sun, Nov 25, 2012 at 1:06 AM, Marek Vasut ma...@denx.de wrote: I still don't see any argument against applying this patch -- other than the fact it will break some out-of-tree port. Isn't it good enough? It is not good enough, we can not care about out-of-tree

Re: [U-Boot] [PATCH] mx28: Rename regs-power.h to regs-power-mx28.h

2012-11-25 Thread Marek Vasut
Dear Otavio Salvador, On Sat, Nov 24, 2012 at 10:15 PM, Marek Vasut ma...@denx.de wrote: The i.MX23 has different register layout and bit placement in the power supply. Thus, in order to be able to add support for MX23, rename the MX28's regs-power.h to regs-power-mx28.h . Moreover, add

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2012-11-25 Thread Albert ARIBAUD
Hi Stefano, On Sat, 24 Nov 2012 16:29:03 +0100, Stefano Babic sba...@denx.de wrote: Hi Albert, please pull from u-boot-imx, thanks. The following changes since commit 34275d70fec6cc369a931090ebb686bc213bb80d: arch-mx6: add mx6dl_pins.h (2012-11-10 08:15:40 +0100) are available in

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843412.17518.12.ca...@home.hno.se you wrote: This patch series adds support for Allwinner sunxi (A10 A13) SoC families, including SPL loader to boot u-boot directly from MMC/SD. Please run your patches through checpatch, and make sure to fix all messages

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843450.17518.13.ca...@home.hno.se you wrote: This adds support for the Allwinner A10/A13 SoC's. Additionally board support for the dev-boards sun4i/sun5i is added. Signed-off-by: Tom Cubie tangli...@allwinnertech.com Signed-off-by: Henrik Nordström

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843450.17518.13.ca...@home.hno.se you wrote: This adds support for the Allwinner A10/A13 SoC's. Additionally board support for the dev-boards sun4i/sun5i is added. ... +/* Return PLL5 frequency in Hz + * Note: Assumes PLL5 reference is 24MHz clock + */

Re: [U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843479.17518.14.ca...@home.hno.se you wrote: This adds a basic MMC driver for Allwinner sun4i/sun5i family of SoC this driver is limited to a single MMC channel. Signed-off-by: Tom Cubie tangli...@allwinnertech.com Signed-off-by: Henrik Nodstrom

Re: [U-Boot] [PATCH 03/22] ARM sunxi: I2C driver

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843526.17518.15.ca...@home.hno.se you wrote: A basic basic driver for the I2C controller found in Allwinner sunXi (A10 A13) SoCs. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de ??? +static struct

Re: [U-Boot] [PATCH 05/22] power: Add AXP209 Power Management controller (I2C)

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843579.17518.16.ca...@home.hno.se you wrote: This adds support for AXP209 Power Management controller, used by most sunxi (Allwinner A10/A13) based boards. From: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Henrik Nordstrom

Re: [U-Boot] [PATCH 06/22] ARM sunxi: Basic GPIO driver

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353843623.17518.17.ca...@home.hno.se you wrote: GPIO driver for Allwinner sun4i/sun5i family of SoCs GPIO Pins are named by their symbolic pin names Pg# such as PH19 or H19. Note: This do not perform any validation if the pin is in use for some other

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Wolfgang Denk
Dear Luka Perkov, In message 20121125122328-24964@mutt-kz you wrote: I have few comments bellow. OK, but it is definitely NOT necessary to quote nearly 2000 lines of the original patch, right? Please restrict quoting to the minimum needed to provide context. Thanks. Best regards, Wolfgang

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353848939.28559.13.ca...@home.hno.se you wrote: +# (C) Copyright 2000-2003 I don't know about the dates. It's 2012 now... Same goes for all other files. Heh.. Not sure which board that was copied from. Not sure what to set as copyright here.

Re: [U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Wolfgang Denk
Dear Luka Perkov, In message 20121125143332-9180@mutt-kz you wrote: ... Why not reuse something from existing uboot code ? (exaple from api/api.c): 36 #define DEBUG 37 #undef DEBUG NAK. Please never ever do that. 53 #ifdef DEBUG 54 #define debugf(fmt, args...) do { printf(%s(): ,

Re: [U-Boot] [PATCH 02/22] ARM: sunxi: MMC driver

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353857943.28559.24.ca...@home.hno.se you wrote: What about this: #define MMCDBG(fmt, args...)debug([sunxi_mmc] fmt, ##args) NAK. Just use debug() in your code. No need for new macros. Best regards, Wolfgang Denk -- DENX Software Engineering

Re: [U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353866129.28559.50.ca...@home.hno.se you wrote: I don't see what the difference is between CONFIG_SYS_BOARD (which is the board name) and CONFIG_SYS_BOARD_NAME ? CONFIG_SYS_BOARD is the board config name, which may differ from the board name given to

Re: [U-Boot] [PATCH 2/2] Makefile: Accept target names in all lower case to ease matching

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353866899.28559.57.ca...@home.hno.se you wrote: @awk '(NF $$1 !~ /^#/) { print $$1 : $$1 _config; $$(MAKE) }' $ $@ + @awk '(NF $$1 !~ /^#/ tolower($$1) != $$1) { print tolower($$1) : $$1 _config; $$(MAKE) }' $ $@ NAK. This is not

Re: [U-Boot] [Patch 1/2] MIPS: fix a latent bug on initialize $gp

2012-11-25 Thread Daniel Schwierzeck
2012/11/24 Zhi-zhou Zhang zhizhou...@gmail.com: If bal is 8 bytes aligned, the _gp will not be 8 bytes aligned. then the following ld insntrustion generates a Adel exception. So here make _gp be always aligned in 8 bytes. which toolchain do you use? Actually _gp is aligned to 16 bytes in the

Re: [U-Boot] [Patch 2/2] MIPS: do not modify variable before relocate_code

2012-11-25 Thread Daniel Schwierzeck
2012/11/24 Zhi-zhou Zhang zhizhou...@gmail.com: Because timestamp is declared as `static', we needn't initialize it by writing it a zero. If we do it before relocate_code, we will write into a flash address(0xbfc0). Signed-off-by: Zhi-zhou Zhang zhizhou...@gmail.com ---

[U-Boot] [PATCH 1/2] tegra: display: add board pinmux

2012-11-25 Thread Marc Dietrich
Boards may require a different pinmux setup for DISPALY than the default one. Add a way to call into board specific code to set this up. Signed-off-by: Marc Dietrich marvi...@gmx.de --- arch/arm/include/asm/arch-tegra/board.h |7 --- board/nvidia/common/board.c |7 +++

[U-Boot] [PATCH 2/2] tegra: enable LCD on PAZ00

2012-11-25 Thread Marc Dietrich
This adds LCD panel descriptions to the device tree of PAZ00 and enables LCD support in the configuration. Signed-off-by: Marc Dietrich marvi...@gmx.de --- board/compal/dts/tegra20-paz00.dts | 32 board/compal/paz00/paz00.c | 11 +++

Re: [U-Boot] [PATCH 06/22] ARM sunxi: Basic GPIO driver

2012-11-25 Thread Marek Vasut
Dear Wolfgang Denk, Dear Henrik Nordström, In message 1353843623.17518.17.ca...@home.hno.se you wrote: GPIO driver for Allwinner sun4i/sun5i family of SoCs GPIO Pins are named by their symbolic pin names Pg# such as PH19 or H19. Note: This do not perform any validation if the

Re: [U-Boot] [PATCH] ARM v7: Flush icache when executing a program with go

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 18:41 +0100 skrev Wolfgang Denk: Dear Henrik Nordström, In message 1353842010.17518.3.ca...@home.hno.se you wrote: ARM v7 runs with icache enabled. For reliable results the go command needs to flush the icache before jumping or it may risk running cached

Re: [U-Boot] [PATCH 06/22] ARM sunxi: Basic GPIO driver

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 20:50 +0100 skrev Wolfgang Denk: Dear Henrik Nordström, In message 1353843623.17518.17.ca...@home.hno.se you wrote: GPIO driver for Allwinner sun4i/sun5i family of SoCs GPIO Pins are named by their symbolic pin names Pg# such as PH19 or H19. Note: This do

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 20:33 +0100 skrev Wolfgang Denk: Dear Henrik Nordström, In message 1353843450.17518.13.ca...@home.hno.se you wrote: This adds support for the Allwinner A10/A13 SoC's. Additionally board support for the dev-boards sun4i/sun5i is added. Signed-off-by: Tom Cubie

Re: [U-Boot] [PATCH 2/2] Makefile: Accept target names in all lower case to ease matching

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 21:04 +0100 skrev Wolfgang Denk: Well, these are make targets, so they are definitely case sensitive. if [ \( $# -eq 2 \) -a \( $1 = -A \) ] ; then # Automatic mode - line=`egrep -i ^[[:space:]]*${2}[[:space:]] boards.cfg` || { + line=`egrep

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 19:06 +0100 skrev Marek Vasut: +COBJS += timer.o +COBJS += dram.o +COBJS += board.o +COBJS += clock.o +COBJS += pinmux.o COBJS = x.o y.o z.o works just fine Does it matter? += is easier to deal with when adding/removing files.

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Marek Vasut
Dear Henrik Nordström, [...] +/* delay x useconds */ proper kerneldoc all around won't hurt. +void __udelay(unsigned long usec) It's the same level of documentation or better as used pretty much everywhere else. Most don't have a comment at all here. Any example of the level

Re: [U-Boot] mksunxiboot tool SPL parameters

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 19:16 +0100 skrev Henrik Nordström: sön 2012-11-25 klockan 18:58 +0100 skrev Marek Vasut: The mkimage infrastructure won't work? I think it's much better than yet another tool (mksunxi...) Suggestion how to fit adding an SPL header with these parameters in

Re: [U-Boot] [PATCH 01/22] Re: Copyright on board makefiles.

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 20:55 +0100 skrev Wolfgang Denk: Dear Henrik Nordström, In message 1353848939.28559.13.ca...@home.hno.se you wrote: +# (C) Copyright 2000-2003 I don't know about the dates. It's 2012 now... Same goes for all other files. Heh.. Not sure which board

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 18:02 +0100 skrev Luka Perkov: You might want to wait a few days... Somebody else might have comments. Good point. Will resuimt the patchset with accumulated fixes by next weekend. Regards Henrik ___ U-Boot mailing list

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Graeme Russ
Hi Henrik, Thanks for your hard work - I did promise to help you through the patch submission process, but unfortunately a few personal issues took precedence. It's good to see not only the core A10 support, but several boards right off the bat. With respect to the boards, is putting them all in

Re: [U-Boot] [PATCH 00/22] ARM: Allwinner sunXi (A10 A13) SoC support

2012-11-25 Thread Henrik Nordström
mån 2012-11-26 klockan 13:43 +1100 skrev Graeme Russ: It's good to see not only the core A10 support, but several boards right off the bat. With respect to the boards, is putting them all in the same board directory the right thing to do? I don't know. Stefan suggested the current layout in

Re: [U-Boot] [PATCH 1/4] Optimized nand_read_buf for kirkwood

2012-11-25 Thread Prafulla Wadaskar
-Original Message- From: Phil Sutter [mailto:phil.sut...@viprinet.com] Sent: 21 November 2012 18:29 To: u-boot@lists.denx.de Cc: Nico Erfurth; Prafulla Wadaskar Subject: [PATCH 1/4] Optimized nand_read_buf for kirkwood The basic idea is taken from the linux-kernel, but further

[U-Boot] [PATCH] fsl/sata: remove read only bit writing in host control register

2012-11-25 Thread Roy Zang
HC_OFF bit in HControl register is read only bit, which should not be written. Signed-off-by: Roy Zang tie-fei.z...@freescale.com --- check mpc8379, mpc8536, P3041, P5020 and T4240. HC_OFF bit is read only. drivers/block/fsl_sata.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-)

Re: [U-Boot] Signing Images - was: TPM: remove dead code

2012-11-25 Thread Simon Glass
Hi Wolfgang, On Thu, Nov 8, 2012 at 2:31 AM, Wolfgang Denk w...@denx.de wrote: [Note: Subject changed, Threading restarted]. Dear Simon, In message CAPnjgZ11wScsnvPG29CFDRYz7Xbtp=wb+tl0umgvnvhmhmj...@mail.gmail.com you wrote: Comment for 1. (but not relateds to this thread, just a

Re: [U-Boot] [PATCH 01/22] ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353889294.28559.103.ca...@home.hno.se you wrote: sön 2012-11-25 klockan 19:06 +0100 skrev Marek Vasut: +COBJS+= timer.o +COBJS+= dram.o +COBJS+= board.o +COBJS+= clock.o +COBJS+= pinmux.o COBJS = x.o y.o z.o works just

Re: [U-Boot] [PATCH 01/22] Re: Copyright on board makefiles.

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1353891927.6436.16.ca...@home.hno.se you wrote: You have changed a Copyright entry that was attributed to me? Who exactly gave you the right to do that? ... You want me to keep your old copyright from 2003 and add my own? Correct. You must never

Re: [U-Boot] [PATCH v2 03/10] x86: Allow excluding reset vector code from u-boot

2012-11-25 Thread Simon Glass
Hi Wolfgang, On Mon, Nov 19, 2012 at 10:56 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message 1349910781-32088-4-git-send-email-...@chromium.org you wrote: From: Gabe Black gabebl...@chromium.org When running from coreboot we don't want this code. This version works by

Re: [U-Boot] [PATCH 3/8] boottime: Add core boottime measurement support

2012-11-25 Thread Simon Glass
Hi Lee, On Tue, Nov 20, 2012 at 6:33 AM, Lee Jones lee.jo...@linaro.org wrote: Boottime is a tool which can be used for full system booting time measurement. Bootloader boot time is passed to the kernel component though ATAGS. The kernel-side driver then uses this information to provide full

[U-Boot] [PATCH v4 2/9] x86: Allow excluding reset vector code from u-boot

2012-11-25 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org When running from coreboot we don't want this code. This version works by ifdef-ing out all of the code that would go into those sections and all the code that refers to it. The sections are then empty, and the linker will either leave them empty for the

[U-Boot] [PATCH v4 8/9] x86: Remove coreboot start16 code

2012-11-25 Thread Simon Glass
Now that coreboot doesn't need the start16 code, remove it. We need to remove the CONFIG_SYS_X86_RESET_VECTOR option from coreboot.h also. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Remove CONFIG_SYS_X86_RESET_VECTOR from coreboot.h Changes in v3: None Changes in v2: - Add

[U-Boot] [PATCH v4 9/9] x86: coreboot: Enable LPC TPM

2012-11-25 Thread Simon Glass
Coreboot boards have an LPC TPM connected, so enable this. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Remove CONFIG_NO_RESET_CODE from coreboot.h since this is not needed Changes in v3: None Changes in v2: None include/configs/coreboot.h |4 1 files changed, 4

Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

2012-11-25 Thread manohar . betham
Hi Graeme, Thank you! I am compiling on x86_64 bit for coreboot-x86 32 bit target ,gcc compiler version is (manoharb@smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/latest/u-boot$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc-4.6.real

  1   2   >