[U-Boot] [PATCH] mx27: add function enable_caches

2013-05-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c index 41bb84b..4239fa0 100644 --- a/arch/arm/cpu

[U-Boot] [PATCH] mx27: add i2c clock

2013-05-28 Thread Philippe Reynes
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/cpu/arm926ejs/mx27/generic.c |2 ++ arch/arm/include/asm/arch-mx27/clock.h |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c

[U-Boot] [PATCH] mx27: add missing constant for mx27

2013-05-28 Thread Philippe Reynes
Add some missing constant (chip select, ...) Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + arch/arm/include/asm/arch-mx27/imx-regs.h |3 ++- 2 files changed, 7 insertions(+), 1

[U-Boot] [PATCH RESEND] mx27: add i2c clock

2013-06-14 Thread Philippe Reynes
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c |2 ++ arch/arm/include/asm/arch-mx27/clock.h |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx27

[U-Boot] [PATCH v2] mx27: add function enable_caches

2013-06-14 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c |8 1 files changed, 8 insertions(+), 0 deletions(-) v2: - add flag CONFIG_SYS_DCACHE_OFF diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c index

[U-Boot] [PATCH 0/2] Add gio api support to mx27

2012-08-24 Thread Philippe Reynes
Change in v3: - rebase on u-boot-imx (instead of u-boot) - fix conflit with mxc: Make gpio_get_value() use PSR Philippe Reynes (2): gpio: add gpio api support to mx27 (v3) imx27lite: update with gpio api change (v3) arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v3)

2012-08-24 Thread Philippe Reynes
There is a little change on gpio_get_value because on mx27 the register to read is ssr and not dr. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v3)

2012-08-24 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- board/logicpd/imx27lite/imx27lite.c |5 ++--- include/configs/imx27lite-common.h |5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index

Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v3)

2012-08-25 Thread Philippe Reynes
Hi Stefano, +    u32 gpio_dr; /* DR */ +    u32 gius; +    u32 ssr; What about my proposal to change this into gpio_psr ? I mean, if Freescale calls some times the register Sample Status Register and on other SOCs Pad Status Register, but anyway the register does the same, it is not a good

[U-Boot] [PATCH 0/2] Add gio api support to mx27 (v4)

2012-08-25 Thread Philippe Reynes
Change in v4: - rename ssr to gpio_psr in struct gpio_regs - remove useless change in mxc_gpio.c Change in v3: - rebase on u-boot-imx (instead of u-boot) - fix conflit with mxc: Make gpio_get_value() use PSR Philippe Reynes (2): gpio: add gpio api support to mx27 (v4) imx27lite: update

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v4)

2012-08-25 Thread Philippe Reynes
The gpio api has been tested on an armadeus apf27. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm/include/asm/arch-mx27/imx-regs.h | 30

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v4)

2012-08-25 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- board/logicpd/imx27lite/imx27lite.c |5 ++--- include/configs/imx27lite-common.h |5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index

[U-Boot] [PATCH v4 3/4] apf27: add FPGA support for the apf27 board

2013-07-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- board/armadeus/apf27/Makefile |3 + board/armadeus/apf27/apf27.c | 18 +++ board/armadeus/apf27/fpga.c | 250 + board/armadeus/apf27/fpga.h

[U-Boot] [PATCH v4 1/4] mx27: add missing constant for mx27

2013-07-28 Thread Philippe Reynes
Add some missing constant (chip select, ...) Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + arch/arm/include/asm/arch-mx27/imx-regs.h |2 +- 2 files changed, 6 insertions(+), 1

[U-Boot] [PATCH v4 0/4] apf27: add support of armadeus apf27

2013-07-28 Thread Philippe Reynes
spl instead of nand_spl - use gpio api - remove use of useless CONFIG_SYS - remove use of config.mk - remove dead code Philippe Reynes (4): mx27: add missing constant for mx27 apf27: add support for the armadeus APF27 board apf27: add FPGA support for the apf27 board Update u-boot-nand.bin

[U-Boot] [PATCH v4 4/4] Update u-boot-nand.bin to be used with spl

2013-07-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- Makefile |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 4218226..b971f30 100644 --- a/Makefile +++ b/Makefile @@ -617,8 +617,14

[U-Boot] [PATCH v5 0/3] apf27: add support of armadeus apf27

2013-08-27 Thread Philippe Reynes
Philippe Reynes (3): mx27: add missing constant for mx27 apf27: add support for the armadeus APF27 board apf27: add FPGA support for the apf27 board MAINTAINERS |5 + arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + arch/arm/include/asm/arch-mx27/imx

[U-Boot] [PATCH v5 2/3] apf27: add support for the armadeus APF27 board

2013-08-27 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com --- MAINTAINERS |5 + board/armadeus/apf27/Makefile| 30 ++ board/armadeus/apf27/apf27.c

[U-Boot] [PATCH v5 1/3] mx27: add missing constant for mx27

2013-08-27 Thread Philippe Reynes
Add some missing constant (chip select, ...) Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + arch/arm/include/asm/arch-mx27/imx-regs.h |6 +- 2 files changed, 10 insertions

[U-Boot] [PATCH v5 3/3] apf27: add FPGA support for the apf27 board

2013-08-27 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- board/armadeus/apf27/Makefile |3 + board/armadeus/apf27/apf27.c |5 + board/armadeus/apf27/fpga.c | 223 + board/armadeus/apf27/fpga.h

[U-Boot] [PATCH v6 0/3] apf27: add support of armadeus apf27

2013-09-06 Thread Philippe Reynes
- remove use of useless CONFIG_SYS - remove use of config.mk - remove dead code Philippe Reynes (3): mx27: add missing constant for mx27 apf27: add support for the armadeus APF27 board apf27: add FPGA support for the apf27 board MAINTAINERS |5 + arch/arm/cpu

[U-Boot] [PATCH v6 3/3] apf27: add FPGA support for the apf27 board

2013-09-06 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Acked-by: Stefano Babic sba...@denx.de --- board/armadeus/apf27/Makefile |3 + board/armadeus/apf27/apf27.c |5 + board/armadeus/apf27/fpga.c | 224

[U-Boot] [PATCH v6 2/3] apf27: add support for the armadeus APF27 board

2013-09-06 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com --- MAINTAINERS |5 + board/armadeus/apf27/Makefile| 30 ++ board/armadeus/apf27/apf27.c

[U-Boot] [PATCH v6 1/3] mx27: add missing constant for mx27

2013-09-06 Thread Philippe Reynes
Add some missing constant (chip select, ...) Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Acked-by: Stefano Babic sba...@denx.de --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + arch/arm/include/asm/arch-mx27/imx-regs.h |6

[U-Boot] mxc_i2c: add new i2c subsystem support

2013-09-07 Thread Philippe Reynes
Hi Heiko, The mxc_i2c driver use the legacy framework. I plan to move this driver to new i2c subsystem (CONFIG_SYS_I2C). Is someone already working on this task ? If no, I propose to only add new i2c subsystem (and not remove old i2c framework). We could remove the mxc i2c legacy support when

[U-Boot] [PATCH v7 2/2] apf27: add FPGA support for the apf27 board

2013-09-10 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Acked-by: Stefano Babic sba...@denx.de --- board/armadeus/apf27/Makefile |3 + board/armadeus/apf27/apf27.c |5 + board/armadeus/apf27/fpga.c | 224

[U-Boot] [PATCH v7 1/2] apf27: add support for the armadeus APF27 board

2013-09-10 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com --- MAINTAINERS |5 + board/armadeus/apf27/Makefile| 30 ++ board/armadeus/apf27/apf27.c

[U-Boot] [PATCH v7 0/2] apf27: add support of armadeus apf27

2013-09-10 Thread Philippe Reynes
gpio api - remove use of useless CONFIG_SYS - remove use of config.mk - remove dead code Philippe Reynes (2): apf27: add support for the armadeus APF27 board apf27: add FPGA support for the apf27 board MAINTAINERS |5 + board/armadeus/apf27/Makefile| 33

[U-Boot] [PATCH 0/2] i2c: port i2c driver to new subsystem

2013-09-15 Thread Philippe Reynes
This serie is composed of two patches: - one to port the i2c mxc driver to new subsystem - one to update all configurations with i2c mxc driver This serie was tested with success on armadeus apf27. Philippe Reynes (2): i2c: move to new subsystem i2c: update config using mxc driver to new

[U-Boot] [PATCH 2/2] i2c: update config using mxc driver to new subsystem

2013-09-15 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- include/configs/apf27.h |5 ++--- include/configs/flea3.h |6 +++--- include/configs/imx31_phycore.h |6 +++--- include/configs/m53evk.h |6 +++--- include/configs/mx25pdk.h |6

[U-Boot] [PATCH 1/2] i2c: move to new subsystem

2013-09-15 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- README |3 + arch/arm/cpu/armv7/mx5/clock.c |2 +- arch/arm/cpu/armv7/mx6/clock.c |2 +- arch/arm/imx-common/Makefile |2 +- drivers/i2c/Makefile |2 +- drivers/i2c/mxc_i2c.c

[U-Boot] [PATCH v2 0/3] i2c, mxc: switch to new multibus/multiadapter framework

2013-09-18 Thread Philippe Reynes
of the serie - use define for speed and slave for each i2c bus - sort i2c driver list - define mxc function as static - remove CONFIG_I2C_MULTI_BUS in config using i2c mxc Philippe Reynes (3): i2c: fix init on generic board i2c: move to new subsystem i2c: update config using mxc driver to new

[U-Boot] [PATCH v2 3/3] i2c: update config using mxc driver to new subsystem

2013-09-18 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- include/configs/apf27.h | 11 ++- include/configs/flea3.h |9 - include/configs/imx31_phycore.h |7 +++ include/configs/m53evk.h |7 +++ include/configs/mx25pdk.h

[U-Boot] [PATCH v2 2/3] i2c: move to new subsystem

2013-09-18 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- README | 11 +++ arch/arm/cpu/armv7/mx5/clock.c |2 +- arch/arm/cpu/armv7/mx6/clock.c |2 +- arch/arm/imx-common/Makefile |2 +- drivers/i2c/Makefile |2 +- drivers/i2c/mxc_i2c.c

[U-Boot] [PATCH v2 1/3] i2c: fix init on generic board

2013-09-18 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- common/board_f.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 0ada1af..f0664bc 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -249,7 +249,11 @@ void

[U-Boot] [PATCH v3 3/3] i2c: update config using mxc driver to new subsystem

2013-09-19 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- include/configs/apf27.h | 11 ++- include/configs/flea3.h |9 - include/configs/imx31_phycore.h |7 +++ include/configs/m53evk.h |7 +++ include/configs/mx25pdk.h

[U-Boot] [PATCH v3 0/3] i2c, mxc: switch to new multibus/multiadapter framework

2013-09-19 Thread Philippe Reynes
of patch 2 (specify mxc) Difference between v2 and v1: - change title of the serie - use define for speed and slave for each i2c bus - sort i2c driver list - define mxc function as static - remove CONFIG_I2C_MULTI_BUS in config using i2c mxc Philippe Reynes (3): i2c: fix init on generic board i2c

[U-Boot] [PATCH v3 2/3] i2c: mxc: move to new subsystem

2013-09-19 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- README | 11 +++ arch/arm/cpu/armv7/mx5/clock.c |2 +- arch/arm/cpu/armv7/mx6/clock.c |2 +- arch/arm/imx-common/Makefile |2 +- drivers/i2c/Makefile |2 +- drivers/i2c/mxc_i2c.c

[U-Boot] [PATCH v3 1/3] i2c: fix init on generic board

2013-09-19 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- common/board_f.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 0ada1af..f0664bc 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -249,7 +249,11 @@ void

[U-Boot] [PATCH v4 0/3] i2c, mxc: switch to new multibus/multiadapter framework

2013-09-21 Thread Philippe Reynes
Philippe Reynes (3): i2c: fix init on generic board i2c: mxc: move to new subsystem i2c: update config using mxc driver to new subsystem README| 11 +++ arch/arm/cpu/armv7/mx5/clock.c|2 +- arch/arm/cpu/armv7/mx6/clock.c|2 +- arch/arm/imx-common

[U-Boot] [PATCH v4 3/3] i2c: update config using mxc driver to new subsystem

2013-09-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- include/configs/apf27.h | 11 ++- include/configs/flea3.h |9 - include/configs/imx31_phycore.h |7 +++ include/configs/m53evk.h |7 +++ include/configs/mx25pdk.h

[U-Boot] [PATCH v4 2/3] i2c: mxc: move to new subsystem

2013-09-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- README | 11 +++ arch/arm/cpu/armv7/mx5/clock.c |2 +- arch/arm/cpu/armv7/mx6/clock.c |2 +- arch/arm/imx-common/Makefile |2 +- drivers/i2c/Makefile |2 +- drivers/i2c/mxc_i2c.c

[U-Boot] [PATCH v4 1/3] i2c: fix init on generic board

2013-09-21 Thread Philippe Reynes
On generic board, the i2c init initialize only one bus. But the new i2c subsystem allow to manage severals i2c bus. So in the case, instead of initializing a bus, we just set the current i2c bus. The initialization will be done in the i2c command. Signed-off-by: Philippe Reynes trem...@yahoo.fr

[U-Boot] [PATCH 1/5] [PATCH 1/5] Add missing constant to mx27

2012-06-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c | 34 arch/arm/include/asm/arch-mx27/imx-regs.h | 11 - arch/arm/include/asm/arch-mx27/mxc_nand.h | 83

[U-Boot] [PATCH 2/5] [PATCH 2/5] Add support for the armadeus APF27 board

2012-06-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com --- board/armadeus/apf27/Makefile| 52 ++ board/armadeus/apf27/apf27.c | 310

[U-Boot] [PATCH 3/5] [PATCH 3/5] Add nand_spl support for the apf27

2012-06-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- nand_spl/board/armadeus/apf27/Makefile | 79 + nand_spl/board/armadeus/apf27/config.mk | 45 +++ nand_spl/board/armadeus/apf27/start.S| 548

[U-Boot] [PATCH 4/5] [PATCH 4/5] Add FPGA support for the apf27 board

2012-06-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- board/armadeus/apf27/Makefile |2 +- board/armadeus/apf27/apf27.c | 16 +++ board/armadeus/apf27/fpga.c | 272 + board/armadeus/apf27/fpga.h

[U-Boot] [PATCH 5/5] [PATCH 5/5] Add config file for the apf27

2012-06-28 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- include/configs/apf27.h | 916 +++ 1 files changed, 916 insertions(+), 0 deletions(-) create mode 100644 include/configs/apf27.h diff --git a/include/configs/apf27.h b/include/configs/apf27.h new

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27

2012-08-05 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm/include/asm/arch-mx27/imx-regs.h | 30 drivers/gpio/mxc_gpio.c

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change

2012-08-05 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- board/logicpd/imx27lite/imx27lite.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index 8a5015c..5bd3b68 100644 --- a/board/logicpd

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v2)

2012-08-05 Thread Philippe Reynes
There is a little change on gpio_get_value because on mx27 the register to read is ssr and not dr. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v2)

2012-08-05 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- board/logicpd/imx27lite/imx27lite.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index 8a5015c..5bd3b68 100644 --- a/board/logicpd

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v2)

2012-08-06 Thread Philippe Reynes
There is a little change on gpio_get_value because on mx27 the register to read is ssr and not dr. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v3)

2012-08-06 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- board/logicpd/imx27lite/imx27lite.c |5 ++--- include/configs/imx27lite-common.h |5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index

Re: [U-Boot] [PATCH 2/2] imx27lite: update with gpio api change

2012-08-06 Thread Philippe Reynes
On 05/08/2012 12:00, Philippe Reynes wrote: Signed-off-by: Philippe Reynes trem...@yahoo.fr ---   board/logicpd/imx27lite/imx27lite.c |    7 ---   1 files changed, 4 insertions(+), 3 deletions(-) Hi Philippe, Hi Stefano,   { -    struct gpio_regs *regs = (struct gpio_regs

[U-Boot] [PATCH] rtc: add support of mx27 rtc

2012-08-08 Thread Philippe Reynes
This driver has been tested on board armadeus apf27. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/include/asm/arch-mx27/imx-regs.h |3 + arch/arm/include/asm/arch-mx27/regs-rtc.h | 40 ++ drivers/rtc/Makefile |1 + drivers/rtc/mx27rtc.c

[U-Boot] [PATCH] powerpc: remove not used CONFIG_SYS_TFTP_LOADADDR

2012-10-06 Thread Philippe Reynes
CONFIG_SYS_TFTP_LOADADDR is defined on severals boards, but it's never used. So we can safely removed it. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- README|3 --- include/configs/CRAYL1.h |1 - include/configs/GEN860T.h |5 - include/configs/TOP860.h

[U-Boot] [PATCH 0/4] apf27: add support of armadeus apf27 v2

2012-10-29 Thread Philippe Reynes
Difference between v1 and v2: - use spl instead of nand_spl - use gpio api - remove use of useless CONFIG_SYS - remove use of config.mk - remove dead code Philippe Reynes (4): apf27: add missing constant to mx27 apf27: add support for the armadeus APF27 board apf27: add spl support

[U-Boot] [PATCH 1/4] apf27: add missing constant to mx27

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org create mode 100644 arch/arm/include/asm/arch-mx27/mxc_nand.h diff --git a/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c b/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c index f3a8d7b..b95c58c 100644

[U-Boot] [PATCH 2/4] apf27: add support for the armadeus APF27 board

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com create mode 100644 board/armadeus/apf27/Makefile create mode 100644 board/armadeus/apf27/apf27.c create mode 100644 board

[U-Boot] [PATCH 4/4] apf27: add FPGA support for the apf27 board

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org create mode 100644 board/armadeus/apf27/fpga.c create mode 100644 board/armadeus/apf27/fpga.h diff --git a/board/armadeus/apf27/Makefile b/board/armadeus/apf27/Makefile index f57f405..9d356a3

[U-Boot] [PATCH 3/4] apf27: add spl support for the apf27

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org create mode 100644 board/armadeus/apf27/start.S create mode 100644 board/armadeus/apf27/u-boot-spl.lds diff --git a/board/armadeus/apf27/Makefile b/board/armadeus/apf27/Makefile index 1da9548

[U-Boot] [PATCH v3 0/3] apf27: add support of armadeus apf27

2012-12-01 Thread Philippe Reynes
CONFIG_SYS - remove use of config.mk - remove dead code Philippe Reynes (3): apf27: add missing constant to mx27 apf27: add support for the armadeus APF27 board apf27: add FPGA support for the apf27 board MAINTAINERS |5 + arch/arm/cpu/arm926ejs/mx27/asm

[U-Boot] [PATCH v3 1/3] apf27: add missing constant to mx27

2012-12-01 Thread Philippe Reynes
Add some missing constant (chip select, ...), and a file mxc_nand.h with the NFC constant. Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c | 34 arch/arm/include/asm/arch-mx27/imx

[U-Boot] [PATCH v3 3/3] apf27: add FPGA support for the apf27 board

2012-12-01 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- board/armadeus/apf27/Makefile |3 + board/armadeus/apf27/apf27.c | 16 +++ board/armadeus/apf27/fpga.c | 262 + board/armadeus/apf27/fpga.h

Re: [U-Boot] [PATCH v3 2/2] imx: fix exception vectors relocation in imx27

2014-11-14 Thread Philippe Reynes
and with the reset and reserved vectors missing. Turn the current vector relocation code into a weak routine called after relocate_code from crt0, and add strong version for i.MX27. Series-Cc: Heiko Schocherh...@denx.de Tested-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Albert ARIBAUDalbert.u.b

Re: [U-Boot] [PATCH v3 2/2] imx: fix exception vectors relocation in imx27

2014-11-14 Thread Philippe Reynes
and with the reset and reserved vectors missing. Turn the current vector relocation code into a weak routine called after relocate_code from crt0, and add strong version for i.MX27. Series-Cc: Heiko Schocherh...@denx.de Tested-by: Philippe Reynes trem...@gmail.com Signed-off-by: Albert ARIBAUDalbert.u.b

[U-Boot] [PATCH] cpu: bmips: fix probe to get the address

2018-06-22 Thread Philippe Reynes
ec0fcca21a0c) change this behaviour and read the address in the cpu node when probing cpu. We fix this by reading the address in the cpu parent. Signed-off-by: Philippe Reynes --- drivers/cpu/bmips_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpu/bmips_cpu.c b/drivers/c

[U-Boot] [PATCH 3/3] bcm968380gerg: enable pinctrl

2018-08-10 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- configs/bcm968380gerg_ram_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bcm968380gerg_ram_defconfig b/configs/bcm968380gerg_ram_defconfig index 3354a5e..7c83d43 100644 --- a/configs/bcm968380gerg_ram_defconfig +++ b/configs

[U-Boot] [PATCH 1/3] pinctrl: bcm6838: add pinctrl support

2018-08-10 Thread Philippe Reynes
Add pinctrl support for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes --- .../pinctrl/bcm6838-pinctrl.txt| 35 + drivers/pinctrl/broadcom/Kconfig | 8 ++ drivers/pinctrl/broadcom/Makefile | 1 + drivers/pinctrl/broadcom

[U-Boot] [PATCH 2/3] dt: bcm6838: add pinctrl

2018-08-10 Thread Philippe Reynes
Add pinctrl node and related syscon node for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm6838.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi index d365d0f..f276a6a 100644

[U-Boot] [PATCH V2 3/3] bcm968380gerg: enable pinctrl

2018-08-13 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- Changelog: v2: - patch unchanged configs/bcm968380gerg_ram_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bcm968380gerg_ram_defconfig b/configs/bcm968380gerg_ram_defconfig index 3354a5e..7c83d43 100644 --- a/configs

[U-Boot] [PATCH V2 1/3] pinctrl: bcm6838: add pinctrl support

2018-08-13 Thread Philippe Reynes
Add pinctrl support for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes --- Changelog: v2: - rename property pins-count to brcm,pins-count (feedback Daniel Schwierzeck) - rename property functions-count to brcm,functions-count (feedback Daniel Schwierzeck) - clean dev_err message

[U-Boot] [PATCH V2 2/3] dt: bcm6838: add pinctrl

2018-08-13 Thread Philippe Reynes
Add pinctrl node and related syscon node for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes --- Changelog: v2: - rename property pins-count to brcm,pins-count (feedback Daniel Schwierzeck) - rename property functions-count to brcm,functions-count (feedback Daniel Schwierzeck) arch/mips

[U-Boot] [PATCH 1/3] bmips: ram: add an option to force the size of the ram

2018-07-16 Thread Philippe Reynes
This adds an option to force the size of the ram, and avoid the detection of ram size. Signed-off-by: Philippe Reynes --- drivers/ram/bmips_ram.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c index cc37dfa..b5f19c9

[U-Boot] [PATCH 2/3] bcm6838: add initial support

2018-07-16 Thread Philippe Reynes
This adds the initial support of the Broadcom BCM6838 SoC familly, only cpu, dram, uart and leds are supported. Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm6838.dtsi | 75 + arch/mips/mach-bmips/Kconfig| 13 +++ drivers/cpu

[U-Boot] [PATCH 3/3] bcm968380gerg: add initial support

2018-07-16 Thread Philippe Reynes
This add the initial support of the broadcom reference board bcm968380gerg with a bcm68380 SoC. This board has 512 MB of RAM, 128 MB of flash (nand), 2 USB port, 1 UART, 4 ethernet ports and BCM43217 (wifi). Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm968380gerg.dts | 40

[U-Boot] [PATCH] mtd: nand: add new enum for storing ECC algorithm

2018-07-10 Thread Philippe Reynes
commit: b0fcd8ab7b3c89b5da7fff5224d06ed73e7a33cc] [Philippe Reynes: adapt code to u-boot] Signed-off-by: Philippe Reynes --- include/linux/mtd/rawnand.h | 8 1 file changed, 8 insertions(+) diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index cdad7b8..9f5dc81 100644

[U-Boot] [PATCH] led: bcm6328: read base address in the parent node

2018-06-28 Thread Philippe Reynes
node. We fix this by reading the base address for led in the parent node. Signed-off-by: Philippe Reynes --- drivers/led/led_bcm6328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/led/led_bcm6328.c b/drivers/led/led_bcm6328.c index a29e5a0..7be4bad 100644 --- a/d

[U-Boot] [PATCH 3/3] bcm968580xref: add initial support

2018-10-11 Thread Philippe Reynes
This add the initial support of the broadcom reference board bcm968580xref with a bcm6858 SoC. This board has 512 MB of ram, 256 MB of flash (nand), 2 usb port, 1 uart, 4 ethernet ports (LAN), 1 ethernet port (WAN). Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm968580xref.dts

[U-Boot] [PATCH 2/3] bcm6858: add initial support

2018-10-11 Thread Philippe Reynes
This add the initial support of the broadcom bcm6858 SoC family, only the cpu, dram and uart are supported. Signed-off-by: Philippe Reynes --- arch/arm/Kconfig | 7 arch/arm/dts/bcm6858.dtsi | 85 +++ 2 files changed, 92 insertions

[U-Boot] [PATCH 1/3] serial: bcm6858: add serial support

2018-10-11 Thread Philippe Reynes
This driver add the support of serial on bcm6858. It's based on serial for bcm6345. Signed-off-by: Philippe Reynes --- drivers/serial/Kconfig | 6 + drivers/serial/Makefile | 1 + drivers/serial/serial_bcm6858.c | 300 3 files

[U-Boot] [PATCH V2 1/6] rsa: use new openssl API to create signature

2018-10-25 Thread Philippe Reynes
Previous implementation of the rsa signature was using the openssl API EVP_Sign*, but the new openssl API EVP_DigestSign* is more flexible. So we move to this new API. Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass --- lib/rsa/rsa-sign.c | 17 +++-- 1 file changed, 11

[U-Boot] [PATCH V2 3/6] rsa: add support of padding pss

2018-10-25 Thread Philippe Reynes
We add the support of the padding pss for rsa signature. This new padding is often recommended instead of pkcs-1.5. Signed-off-by: Philippe Reynes --- Kconfig | 8 +++ common/image-sig.c | 6 ++ include/image.h | 1 + include/u-boot/rsa.h | 15 lib/rsa/rsa-sign.c

[U-Boot] [PATCH V2 6/6] test: vboot: add padding pss for rsa signature

2018-10-25 Thread Philippe Reynes
The padding pss is now supported for rsa signature. This add test with padding pss on vboot test. Signed-off-by: Philippe Reynes --- test/py/tests/test_vboot.py | 10 +++--- test/py/tests/vboot/sign-configs-sha1-pss.its | 46 + test/py/tests/vboot

[U-Boot] [PATCH V2 5/6] configs: sandbox: enable padding pss for rsa signature

2018-10-25 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) Changelog: v2: - new patch in the serie diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 2ce336f..b2565e1 100644 --- a/configs/sandbox_defconfig +++ b/configs

[U-Boot] [PATCH V2 2/6] rsa: add a structure for the padding

2018-10-25 Thread Philippe Reynes
The rsa signature use a padding algorithm. By default, we use the padding pkcs-1.5. In order to add some new padding algorithm, we add a padding framework to manage several padding algorithm. The choice of the padding is done in the file .its. Signed-off-by: Philippe Reynes Reviewed-by: Simon

[U-Boot] [PATCH V2 4/6] doc: uImage.FIT: signature.txt: add option padding

2018-10-25 Thread Philippe Reynes
Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass --- doc/uImage.FIT/signature.txt | 3 +++ 1 file changed, 3 insertions(+) Changelog: v2: - no change diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index a765722..bfff6fd 100644 --- a/doc/uImage.FIT

[U-Boot] [PATCH V3 2/7] rsa: add a structure for the padding

2018-11-13 Thread Philippe Reynes
The rsa signature use a padding algorithm. By default, we use the padding pkcs-1.5. In order to add some new padding algorithm, we add a padding framework to manage several padding algorithm. The choice of the padding is done in the file .its. Signed-off-by: Philippe Reynes Reviewed-by: Simon

[U-Boot] [PATCH V3 5/7] configs: sandbox: enable padding pss for rsa signature

2018-11-13 Thread Philippe Reynes
Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass Reviewed-by: Clément Péron --- configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) Changelog: v3: - no change v2: - new patch in the serie diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 2ce336f

[U-Boot] [PATCH V3 4/7] doc: uImage.FIT: signature.txt: add option padding

2018-11-13 Thread Philippe Reynes
Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass Reviewed-by: Clément Péron --- doc/uImage.FIT/signature.txt | 3 +++ 1 file changed, 3 insertions(+) Changelog: v3: - no change v2: - no change diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index a765722

[U-Boot] [PATCH V3 7/7] test: vboot: clean its file

2018-11-13 Thread Philippe Reynes
This update the its file used in vboot test to respect the new node style name defined in doc/uImage.FIT (for example: replace kernel@1 by kernel and fdt@1 by fdt-1) Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass Reviewed-by: Clément Péron --- test/py/tests/test_vboot.py

[U-Boot] [PATCH V3 6/7] test: vboot: add padding pss for rsa signature

2018-11-13 Thread Philippe Reynes
The padding pss is now supported for rsa signature. This add test with padding pss on vboot test. Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass Reviewed-by: Clément Péron --- test/py/tests/test_vboot.py | 12 --- test/py/tests/vboot/sign-configs-sha1-pss.its

[U-Boot] [PATCH V3 1/7] rsa: use new openssl API to create signature

2018-11-13 Thread Philippe Reynes
Previous implementation of the rsa signature was using the openssl API EVP_Sign*, but the new openssl API EVP_DigestSign* is more flexible. So we move to this new API. Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass Reviewed-by: Clément Péron --- lib/rsa/rsa-sign.c | 17

[U-Boot] [PATCH V3 3/7] rsa: add support of padding pss

2018-11-13 Thread Philippe Reynes
We add the support of the padding pss for rsa signature. This new padding is often recommended instead of pkcs-1.5. Signed-off-by: Philippe Reynes Reviewed-by: Simon Glass Reviewed-by: Clément Péron --- Kconfig | 8 +++ common/image-sig.c | 6 ++ include/image.h | 1

[U-Boot] [RFC][PATCH V0 1/7] mtd: add get/set of_node/flash_node helpers

2018-11-16 Thread Philippe Reynes
wed-by: Boris Brezillon [Linux commit: 28b8b26b308e656edfa9467867d5f79212da2ec3] [Philippe Reynes: adapt code to u-boot] Signed-off-by: Philippe Reynes Signed-off-by: Philippe Reynes --- include/linux/mtd/rawnand.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/

[U-Boot] [RFC][PATCH v0 2/7] mtd: nand: import nand_hw_control_init()

2018-11-16 Thread Philippe Reynes
From: Marc Gonzalez The code to initialize a struct nand_hw_control is duplicated across several drivers. Factorize it using an inline function. Signed-off-by: Marc Gonzalez Signed-off-by: Boris Brezillon [Linux commit: d45bc58dd3bdcaabc1d7d8d9b0b8dee826635cc6] [Philippe Reynes: adapt code

[U-Boot] [RTC][PATCH V0 0/7] Initial support of driver brcmnand (from kernel 4.18)

2018-11-16 Thread Philippe Reynes
this code for others driver (adding compat file for platform device, ...) Boris Brezillon (1): mtd: nand: provide several helpers to do common NAND operations Brian Norris (1): mtd: add get/set of_node/flash_node helpers Marc Gonzalez (1): mtd: nand: import nand_hw_control_init() Philippe

[U-Boot] [RFC][PATCH V0 7/7] drivers: nand: brcmnand: add an option to read the write-protect from device tree

2018-11-16 Thread Philippe Reynes
The option write-protect may only change on the kernel command line, we add a property in the device tree to be more flexible. Signed-off-by: Philippe Reynes --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/raw/brcmnand

[U-Boot] [RFC][PATCH V0 4/7] arm: asm: io.h: define readX_relaxed and writeX_relaxed

2018-11-16 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- arch/arm/include/asm/io.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 5df7472..ab6bc59 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -123,6 +123,21

  1   2   3   4   5   6   >