[U-Boot] [RFC] tools/env: Support UBI devices

2016-05-16 Thread Kevin Smith
important to use LEB size instead of PEB size when using UBI. Signed-off-by: Kevin Smith Cc: Michael Heimpold Cc: Joe Hershberger --- tools/env/fw_env.c | 71 -- 1 file changed, 48 insertions(+), 23 deletions(-) diff --git a/tools/env/fw_env.c

Re: [U-Boot] U-boot UBI environment

2016-05-11 Thread Kevin Smith
let you know. Thank you for your help, Kevin On 05/11/2016 12:51 AM, Heiko Schocher wrote: > Hello Joe, > > Am 11.05.2016 um 01:15 schrieb Joseph Hershberger: >> Hi Kevin, >> >> Am 09.05.2016 um 23:16 schrieb Kevin Smith: >>> Hello, >>> >>> I

Re: [U-Boot] [PATCH] gpio: mvebu_gpio: Add missing out value set to gpio_direction_output()

2016-04-08 Thread Kevin Smith
> Signed-off-by: Stefan Roese > Cc: Kevin Smith > --- > drivers/gpio/mvebu_gpio.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpio/mvebu_gpio.c b/drivers/gpio/mvebu_gpio.c > index 9564ce2..75dc73e 100644 > --- a/drivers/gpio/mvebu_gpio.c > +++

[U-Boot] [PATCH v3 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-03-31 Thread Kevin Smith
bitfield.h to clean up bit operations * Use correct error return codes * Comment/code formatting improvements and clarifications Signed-off-by: Kevin Smith Acked-by: Prafulla Wadaskar Cc: Albert ARIBAUD Cc: Joe Hershberger Cc: Stefan Roese Cc: Marek Vasut Kevin Smith (2): net: Remove unused

[U-Boot] [PATCH v3 2/2] net: phy: Add PHY driver for mv88e61xx switches

2016-03-31 Thread Kevin Smith
The previous mv88e61xx driver was a driver for configuring the switch, but did not integrate with the PHY/networking system, so it could not be used as a PHY by U-boot. This is a complete rework to support this device as a PHY. Signed-off-by: Kevin Smith Acked-by: Prafulla Wadaskar Cc: Albert

[U-Boot] [PATCH v3 1/2] net: Remove unused mv88e61xx switch driver

2016-03-31 Thread Kevin Smith
No boards are using this driver. Remove in preparation for a new driver with integrated PHY support. Signed-off-by: Kevin Smith Acked-by: Joe Hershberger Cc: Prafulla Wadaskar Cc: Albert ARIBAUD Cc: Stefan Roese Cc: Marek Vasut --- drivers/net/phy/mv88e61xx.c | 537

Re: [U-Boot] [PATCH] tools/kwboot.c: Support UART fallback mode

2016-03-29 Thread Kevin Smith
Hi Stefan, On 03/24/2016 04:29 AM, Stefan Roese wrote: > Hi Kevin, > > On 01.09.2015 14:52, Stefan Roese wrote: >> Hi Kevin, >> >> (Added Luka to Cc, as the Marvell / MVEBU custodian) >> >> On 31.08.2015 22:30, Kevin Smith wrote: >>> On som

Re: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-17 Thread Kevin Smith
oC (Kirkwood / Orion) may follow once they > support DM as well. > > Signed-off-by: Stefan Roese > Cc: Dirk Eibach > Cc: Phil Sutter > Cc: Kevin Smith > Cc: Luka Perkov > Cc: Tom Rini > --- > Reviewed-by: Kevin Smith Tested-by: Kevin Smith

[U-Boot] [PATCH 1/2] tools: kwboot: Clean up usage text

2016-02-16 Thread Kevin Smith
Usage text was getting unwieldy and somewhat incorrect. The usage summary implied that some options were mutually exclusive (e.g. -q or -s). Clean up the summary to just include the important ones, and include a generic "[OPTIONS]" instead. Signed-off-by: Kevin Smith Cc: St

[U-Boot] [PATCH 2/2] tools: kwboot: Add xmodem timeout option

2016-02-16 Thread Kevin Smith
Add command-line specification of xmodem timeout. If the binary header needs to take a while to do something (e.g. DDR ECC scrubbing), the xmodem transfer can time out. Add a configurable xmodem block timeout to allow transfers with slow binary headers to succeed. Signed-off-by: Kevin Smith Cc

Re: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-15 Thread Kevin Smith
Hi Stefan, On 02/12/2016 06:46 AM, Stefan Roese wrote: > This patch adds a DM GPIO driver for the Marvell MVEBU SoCs. There are > other non-DM drivers that might be used on these platforms. But this > patch creates a new DM driver. Which will be used by all Armada XP/38x > boards. Other MVEBU SoC

Re: [U-Boot] [PATCH v2 2/2] net: phy: Add PHY driver for mv88e61xx switches

2016-01-27 Thread Kevin Smith
Hi Joe, Thanks for the review. ACK to all comments. A few clarifications are included below. I will submit a v3, including multichip addressing for Albert's platform. On 01/26/2016 06:11 PM, Joe Hershberger wrote: >> + int reg, u16 data) >> +{ >> + struct mii_dev *phys_bu

Re: [U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-01-26 Thread Kevin Smith
Hi Albert, On 01/26/2016 10:13 AM, Joe Hershberger wrote: > Hi Albert, > > On Tue, Jan 26, 2016 at 10:09 AM, Albert ARIBAUD > wrote: >> Hello Kevin, >> >> On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith >> wrote: >>> The previous version of this d

[U-Boot] [PATCH v2 3/3] mtd: pxa3xx_nand: Don't alloc unneeded memory

2016-01-14 Thread Kevin Smith
The allocation size is reduced from what was introduced from the Linux kernel, as U-boot uses the statically allocated nand_info instead of needing to dynamically allocate an mtd_info instance. Signed-off-by: Kevin Smith Cc: Stefan Roese Cc: Luka Perkov Cc: Scott Wood --- drivers/mtd/nand

[U-Boot] [PATCH v2 2/3] mtd: pxa3xx_nand: Correct offset calculation

2016-01-14 Thread Kevin Smith
Correct some pointer math in initialization. An offset was added to a struct-typed pointer instead of one casted to a byte-size, resulting in a much larger offset than intended. Signed-off-by: Kevin Smith Cc: Stefan Roese Cc: Luka Perkov Cc: Scott Wood --- drivers/mtd/nand/pxa3xx_nand.c | 4

[U-Boot] [PATCH v2 1/3] mtd: pxa3xx_nand: Correct null dereference

2016-01-14 Thread Kevin Smith
Correct a null pointer dereference in board_nand_init(). Zeroed memory was allocated, then immediately dereferenced. The dereference is completely removed, since this pointer is later initialized in alloc_nand_resources. Signed-off-by: Kevin Smith Cc: Stefan Roese Cc: Luka Perkov Cc: Scott

Re: [U-Boot] [PATCH 3/4] arm: mvebu: Add runtime boot-device detection

2016-01-13 Thread Kevin Smith
On 01/13/2016 10:18 AM, Stefan Roese wrote: > On 13.01.2016 17:12, Kevin Smith wrote: >> On 01/09/2016 03:07 AM, Stefan Roese wrote: >>> @@ -100,14 +100,24 @@ >>>#if defined(CONFIG_ARMADA_38X) >>>/* SAR values for Armada 38x */ >>>#define

Re: [U-Boot] [PATCH 3/4] arm: mvebu: Add runtime boot-device detection

2016-01-13 Thread Kevin Smith
On 01/09/2016 03:07 AM, Stefan Roese wrote: > @@ -100,14 +100,24 @@ > #if defined(CONFIG_ARMADA_38X) > /* SAR values for Armada 38x */ > #define CONFIG_SAR_REG (MVEBU_REGISTER(0x18600)) > + > #define SAR_CPU_FREQ_OFFS 10 > #define SAR_CPU_FREQ_MASK (0x1f << SAR_CPU_FREQ_O

[U-Boot] [PATCH v2 1/2] net: Remove unused mv88e61xx switch driver

2015-12-21 Thread Kevin Smith
No boards are using this driver. Remove in preparation for a new driver with integrated PHY support. Signed-off-by: Kevin Smith Cc: Joe Hershberger Cc: Prafulla Wadaskar Cc: Stefan Roese Cc: Marek Vasut --- drivers/net/phy/mv88e61xx.c | 537

[U-Boot] [PATCH v2 2/2] net: phy: Add PHY driver for mv88e61xx switches

2015-12-21 Thread Kevin Smith
The previous mv88e61xx driver was a driver for configuring the switch, but did not integrate with the PHY/networking system, so it could not be used as a PHY by U-boot. This is a complete rework to support this device as a PHY. Signed-off-by: Kevin Smith Acked-by: Prafulla Wadaskar Cc: Joe

[U-Boot] [PATCH 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-21 Thread Kevin Smith
appreciated. Signed-off-by: Kevin Smith Acked-by: Prafulla Wadaskar Cc: Joe Hershberger Cc: Stefan Roese Cc: Marek Vasut Kevin Smith (2): net: Remove unused mv88e61xx switch driver net: phy: Add PHY driver for mv88e61xx switches drivers/net/phy/mv88e61xx.c | 959

[U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-21 Thread Kevin Smith
appreciated. Signed-off-by: Kevin Smith Cc: Prafulla Wadaskar Cc: Joe Hershberger Cc: Stefan Roese Cc: Marek Vasut Kevin Smith (2): net: Remove unused mv88e61xx switch driver net: phy: Add PHY driver for mv88e61xx switches drivers/net/phy/mv88e61xx.c | 959

[U-Boot] [PATCH] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-15 Thread Kevin Smith
as a basic PHY on any/all ports. This driver was developed with a mv88e6176 switch and a CPU connected over SGMII on port 5. Other configurations should be supported, but this is the only one that could be tested. Signed-off-by: Kevin Smith Cc: Joe Hershberger Cc: Prafulla Wadaskar Cc: Stefan

Re: [U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
On 10/23/2015 04:14 PM, Scott Wood wrote: > On Fri, 2015-10-23 at 20:57 +0000, Kevin Smith wrote: >> On 10/23/2015 03:34 PM, Scott Wood wrote: >>> Does Linux have this problem? Assuming no, please fix this by making the >>> driver look more like Linux. At least then it

Re: [U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
On 10/23/2015 03:34 PM, Scott Wood wrote: > Does Linux have this problem? Assuming no, please fix this by making the > driver look more like Linux. At least then it would be the same ugliness. There are 2 problems and one improvement: 1) Invalid dereference. This is U-Boot-only code not taken fr

Re: [U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
Hi Scott, On 10/23/2015 01:20 PM, Scott Wood wrote: > > Yuck. Could you please rework this driver to not play games with pointers > and one giant allocation? Why can't this function allocate each region it > needs separately? > > -Scott > This driver is taken from Linux. There are a few API mod

[U-Boot] [PATCH 3/3] arm: mvebu: a38x: serdes specification cleanup

2015-10-23 Thread Kevin Smith
Instead of allocating space in the driver for the serdes specification table, just allow the board file to set a pointer to it. Also, allow the board to only specify the lanes that are used instead of including unused lanes. Signed-off-by: Kevin Smith Cc: Stefan Roese Cc: Dirk Eibach Cc: Luka

[U-Boot] [PATCH 0/3] arm: mvebu: a38x: Cleanup serdes/DDR training

2015-10-23 Thread Kevin Smith
is a mechanism in the drivers themselves for changing the board-specified configuration based on values loaded from an on-board EEPROM. This belongs in the board file instead of the driver, and is not needed for the db-88f6820-gp development board, so is completely removed. Kevin Smith (3): arm:

[U-Boot] [PATCH 1/3] arm: mvebu: a38x: Remove unsupported topologies

2015-10-23 Thread Kevin Smith
, it should be handled in the board file, not in core code. Signed-off-by: Kevin Smith Cc: Stefan Roese Cc: Dirk Eibach Cc: Luka Perkov --- arch/arm/mach-mvebu/serdes/a38x/Makefile |1 - .../serdes/a38x/high_speed_env_spec-38x.c |1 - .../mach-mvebu/serdes/a38x

[U-Boot] [PATCH 2/3] arm: mvebu: a38x: Add const to some function calls

2015-10-23 Thread Kevin Smith
Functions that do not modify the pointer passed should declare it as const. Signed-off-by: Kevin Smith Cc: Stefan Roese Cc: Dirk Eibach Cc: Luka Perkov --- arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c| 2 +- arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.h| 2 +- arch/arm

[U-Boot] [PATCH] env_ubi.c: Correct pointer error in env load

2015-10-23 Thread Kevin Smith
d the cast. Signed-off-by: Kevin Smith Cc: Joe Hershberger Cc: Tom Rini --- common/env_ubi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/env_ubi.c b/common/env_ubi.c index e0dc5af..e611199 100644 --- a/common/env_ubi.c +++ b/common/env_ubi.c @@ -181,8 +181

[U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
introduced from the Linux kernel, as U-boot uses the statically allocated nand_info instead of needing to dynamically allocate an mtd_info instance. Also, some pointer math was corrected in the initialization of the nand_chip pointer. Signed-off-by: Kevin Smith Cc: Stefan Roese Cc: Luka Perkov

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Configure the SDHCI MBUS bridge windows

2015-10-01 Thread Kevin Smith
-off-by: Stefan Roese No lockups over many load tests. Thanks! Tested-by: Kevin Smith ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] tools: kwboot: Add support for UART boot mode patching for Armada XP/38x

2015-09-30 Thread Kevin Smith
ts possible now to use the UART boot mode without on images that > are generated for other boot devices, like SPI. So no need to change > BOOT_FROM to "uart" for UART xmodem booting any more. > > Signed-off-by: Stefan Roese > Cc: Luka Perkov > Cc: Kevin Smith > C

[U-Boot] [PATCH] ubifs: Add missing macros for U-boot build

2015-09-22 Thread Kevin Smith
ls, because the definitions are macro'd out. This patch macros out the calls so that the build succeeds with -O0. Signed-off-by: Kevin Smith --- fs/ubifs/io.c | 8 1 file changed, 8 insertions(+) diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c index bdccdc4..eab3281 100644 --- a/fs/ubifs/io.c

[U-Boot] U-boot UBI breaks build with -O0

2015-09-16 Thread Kevin Smith
`dbg_leb_unmap' This function is in a #ifndef __UBOOT__ section. Kevin Smith ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] tools/kwboot.c: Support UART fallback mode

2015-08-31 Thread Kevin Smith
he NAK, and start the transfer successfully. Signed-off-by: Kevin Smith --- tools/kwboot.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/tools/kwboot.c b/tools/kwboot.c index af7a6ee..6b58fc9 100644 --- a/tools/kwboot.c +++ b/tools/kwboot.c @@ -71,6 +71,7 @@

Re: [U-Boot] [PATCH 2/3] arm: mvebu: Add option to use UART xmodem protocol via kwboot

2015-08-25 Thread Kevin Smith
> > Tested on these Marvell eval boards: > DB-MV784MP-GP - Armada XP > DB-88F6820-GP - Armada 38x > > Signed-off-by: Stefan Roese Tested-by: Kevin Smith ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 3/4] mv-common.h: Include support for device trees

2015-05-18 Thread Kevin Smith
Signed-off-by: Kevin Smith Acked-by: Stefan Roese --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 51436da..4039b71 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h

[U-Boot] [PATCH v3 4/4] db-88f6820-gp.h: Load data blobs into lower memory

2015-05-18 Thread Kevin Smith
: Kevin Smith Acked-by: Stefan Roese --- include/configs/db-88f6820-gp.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 12a24ce..95a05e6 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db-88f6820

[U-Boot] [PATCH v3 2/4] arm: mvebu: Update CBAR with SOC regs base

2015-05-18 Thread Kevin Smith
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: Kevin Smith Acked-by: Stefan Roese --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file changed

[U-Boot] [PATCH v3 1/4] arm: mvebu: Disable L2 cache before enabling d-cache

2015-05-18 Thread Kevin Smith
From: Stefan Roese L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: Stefan Roese Tested-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-mvebu/cpu.c

[U-Boot] [PATCH v3 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-18 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Changes in v3: - Correct coding-style errors - Correct config macro style error - Add acked-by lines Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h: Include support for

[U-Boot] [PATCH v2 3/4] mv-common.h: Include support for device trees

2015-05-13 Thread Kevin Smith
Signed-off-by: Kevin Smith --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 51436da..03518b0 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h @@ -59,6 +59,8 @@ #define

[U-Boot] [PATCH v2 4/4] db-88f6820-gp.h: Load data blobs into lower memory

2015-05-13 Thread Kevin Smith
: Kevin Smith --- include/configs/db-88f6820-gp.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 12a24ce..490d74e 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db-88f6820-gp.h @@ -63,6 +63,11

[U-Boot] [PATCH v2 1/4] arm: mvebu: Disable L2 cache before enabling d-cache

2015-05-13 Thread Kevin Smith
From: Stefan Roese L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: Stefan Roese Signed-off-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-mvebu

[U-Boot] [PATCH v2 2/4] arm: mvebu: Update CBAR with SOC regs base

2015-05-13 Thread Kevin Smith
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff

[U-Boot] [PATCH v2 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-13 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Changes in v2: - Correct address written to CBAR to be the SCU address instead of the internal registers address Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h

[U-Boot] [PATCH 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-12 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h: Include support for device trees db-88f6820-gp.h: Load data blobs into lower memory Stefan Roese (1): arm: mvebu

[U-Boot] [PATCH 4/4] db-88f6820-gp.h: Load data blobs into lower memory

2015-05-12 Thread Kevin Smith
: Kevin Smith --- include/configs/db-88f6820-gp.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 12a24ce..490d74e 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db-88f6820-gp.h @@ -63,6 +63,11

[U-Boot] [PATCH 2/4] arm: mvebu: Update CBAR with SOC regs base

2015-05-12 Thread Kevin Smith
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff

[U-Boot] [PATCH 1/4] arm: mvebu: Disable L2 cache before enabling d-cache

2015-05-12 Thread Kevin Smith
From: Stefan Roese L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: Stefan Roese Signed-off-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-mvebu

[U-Boot] [PATCH 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-12 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h: Include support for device trees db-88f6820-gp.h: Load data blobs into lower memory Stefan Roese (1): arm: mvebu

[U-Boot] [PATCH 3/4] mv-common.h: Include support for device trees

2015-05-12 Thread Kevin Smith
Signed-off-by: Kevin Smith --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 51436da..03518b0 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h @@ -59,6 +59,8 @@ #define

Re: [U-Boot] [PATCH v2 0/13] Add Marvell Armada A38x 88F6820 SoC support

2015-04-16 Thread Kevin Smith
I (including SPI NOR flash) > - I2C > - Ethernet (neta) > > One big part of this new SoC support is the move of the already exisiting > Armada XP support into the "mach-mvebu" directory. With this move its > easier to re-use this code for the A38x, which is pretty similar

Re: [U-Boot] [PATCH 10/10] arm: mvebu: Add Armada A38x DB-88F6820-GP board support

2015-03-18 Thread Kevin Smith
Hi Stefan, On 03/18/2015 02:54 AM, Stefan Roese wrote: > +/* Environment in SPI NOR flash */ > +#define CONFIG_ENV_IS_IN_SPI_FLASH > +#define CONFIG_ENV_OFFSET(1 << 20) /* 1MiB in */ > +#define CONFIG_ENV_SIZE (64 << 10) /* 64KiB */ > +#define CONFIG_ENV_SECT_SIZE

[U-Boot] [PATCH] tools/kwbimage.c: Correct header size for SPI boot

2015-03-16 Thread Kevin Smith
ction that returns the header size so that the same value is used in all places. Signed-off-by: Kevin Smith --- tools/kwbimage.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 9540e7e..1ff17ca 100644 --- a/tools/