Re: [PATCH] usb: gadget: Handle SPL_* configs

2020-02-26 Thread Nathan Rossi
On Fri, 21 Feb 2020 at 19:24, Lukasz Majewski wrote: > > Hi Nathan, > > > On Tue, 28 Jan 2020 at 20:26, Lukasz Majewski wrote: > > > > > > On Tue, 28 Jan 2020 17:50:03 +1000 > > > Nathan Rossi wrote: > > > > > > &g

Re: [PATCH v2] cmd: Handle CONFIG_(SPL_|TPL_)ENV_SUPPORT for toggling nvedit object

2020-02-02 Thread Nathan Rossi
On Sun, 2 Feb 2020 at 23:52, Wolfgang Denk wrote: > > Dear Nathan, > > In message <20200202130227.7755-1-nat...@nathanrossi.com> you wrote: > > When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included > > as part of the build. Use the CONFIG_ENV_SUPPORT, CONFIG_SPL_ENV_SUPPORT > >

[PATCH v2] cmd: Handle CONFIG_(SPL_|TPL_)ENV_SUPPORT for toggling nvedit object

2020-02-02 Thread Nathan Rossi
When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included as part of the build. Use the CONFIG_ENV_SUPPORT, CONFIG_SPL_ENV_SUPPORT or CONFIG_TPL_ENV_SUPPORT values to enable/disable the inclusion of nvedit. Signed-off-by: Nathan Rossi --- Changes in v2: * Changed $(SPL_) to

Re: [PATCH] usb: gadget: Handle SPL_* configs

2020-01-28 Thread Nathan Rossi
On Tue, 28 Jan 2020 at 20:26, Lukasz Majewski wrote: > > On Tue, 28 Jan 2020 17:50:03 +1000 > Nathan Rossi wrote: > > > On Mon, 27 Jan 2020 at 22:51, Lukasz Majewski wrote: > > > > > > Hi Nathan, > > > > > > > Handle selection of obj

[PATCH v2 2/2] net: Handle CONFIG_(SPL_)NET for conditional components

2020-01-28 Thread Nathan Rossi
Use CONFIG_$(SPL_)NET to conditionally select object files depending on the SPL or U-Boot specific configuration. Signed-off-by: Nathan Rossi --- net/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/Makefile b/net/Makefile index fef71b940a..8e45103168

[PATCH v2 1/2] spl: Kconfig: Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET

2020-01-28 Thread Nathan Rossi
Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET to match CONFIG_NET so that CONFIG_$(SPL_)NET can be used to conditionally select build objects between SPL and U-Boot. Signed-off-by: Nathan Rossi --- Changes in v2: - Missed entry in common/spl/Makefile that already has conditional prefix

[PATCH 1/2] spl: Kconfig: Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET

2020-01-27 Thread Nathan Rossi
Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET to match CONFIG_NET so that CONFIG_$(SPL_)NET can be used to conditionally select build objects between SPL and U-Boot. Signed-off-by: Nathan Rossi --- common/Makefile | 2 +- common/spl/Kconfig

[PATCH 2/2] net: Handle CONFIG_(SPL_)NET for conditional components

2020-01-27 Thread Nathan Rossi
Use CONFIG_$(SPL_)NET to conditionally select object files depending on the SPL or U-Boot specific configuration. Signed-off-by: Nathan Rossi --- net/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/Makefile b/net/Makefile index fef71b940a..8e45103168

Re: [PATCH] net: Handle disabling of compilation for SPL builds

2020-01-27 Thread Nathan Rossi
On Tue, 28 Jan 2020 at 02:51, Tom Rini wrote: > > On Mon, Jan 27, 2020 at 12:40:17PM +, Nathan Rossi wrote: > > > Whilst the net/ directory is excluded from libs-y when > > CONFIG_SPL_NET_SUPPORT is disabled, this does not prevent SPL builds > > trying to compi

Re: [PATCH] usb: gadget: Handle SPL_* configs

2020-01-27 Thread Nathan Rossi
ature - > could you run: > > ./tools/buildman/buildman.py --branch=HEAD siemens samsung bbb > --detail --verbose --show_errors --force-build --count=1 > --output-dir=./BUILD/ Running this showed no regressions. Also I noticed "bbb" does not refer to any board

[PATCH] net: Handle disabling of compilation for SPL builds

2020-01-27 Thread Nathan Rossi
: Nathan Rossi --- net/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/net/Makefile b/net/Makefile index fef71b940a..0f57244015 100644 --- a/net/Makefile +++ b/net/Makefile @@ -5,6 +5,10 @@ #ccflags-y += -DDEBUG +ifdef CONFIG_SPL_BUILD +CONFIG_NET = $(CONFIG_SPL_NET_SUPPORT) +endif

[PATCH] usb: gadget: Handle SPL_* configs

2020-01-27 Thread Nathan Rossi
Handle selection of objects based on $(SPL_) to allow for normal and SPL builds to have differing object compilation. Signed-off-by: Nathan Rossi --- drivers/usb/gadget/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/Makefile b/drivers/usb

[PATCH] cmd: Handle CONFIG_(SPL_)ENV_SUPPORT for toggling the nvedit object

2020-01-27 Thread Nathan Rossi
When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included as part of the build. Use the CONFIG_SPL_ENV_SUPPORT value as well as the non SPL CONFIG_ENV_SUPPORT variable to enable/disable the inclusion of nvedit. Signed-off-by: Nathan Rossi --- cmd/Makefile | 2 +- 1 file changed

Re: [U-Boot] [PATCH] tools: zynqimage: Add partition read support

2018-03-15 Thread Nathan Rossi
On 16 March 2018 at 07:49, Alexander Graf wrote: > The zynqmp image format has support for inline partitions which are > used by FSBL to describe payloads that are loaded by FSBL itself. > > While we can't create images that contain partitions (yet), we should > still at least be able to examine t

Re: [U-Boot] [PATCH] arm64: zynqmp: fail SPL build if no psu_init found

2017-04-05 Thread Nathan Rossi
On 4 April 2017 at 17:20, Michal Simek wrote: > On 3.4.2017 13:38, Jean-Francois Dagenais wrote: >> >>> On Apr 3, 2017, at 02:55, Michal Simek wrote: >>> >>> This is not only one way how to configure system. You can use >>> psu_init*.tcl and configure chip through jtag and then you don't need >>>

[U-Boot] [PATCH] net: zynq_gem: Fix masking of supported phydev features

2017-03-05 Thread Nathan Rossi
("net: gem: Fix gem driver on 1Gbps LAN") Signed-off-by: Nathan Rossi Tested-by: Arno Steffens Cc: Joe Hershberger Cc: Michal Simek --- drivers/net/zynq_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index

[U-Boot] [PATCH v3 3/3] ARM64: zynqmp: Replace board specific with generic memory bank decoding

2016-12-18 Thread Nathan Rossi
his change makes the dram_init* functions use a generic implementation of decoding and populating memory bank and size data. Signed-off-by: Nathan Rossi Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT") Cc: Michal Simek --- board/xilinx/z

[U-Boot] [PATCH v3 2/3] ARM: zynq: Replace board specific with generic memory bank decoding

2016-12-18 Thread Nathan Rossi
data. Signed-off-by: Nathan Rossi Fixes: 758f29d0f8 ("ARM: zynq: Support systems with more memory banks") Cc: Michal Simek --- board/xilinx/zynq/board.c | 112 ++ 1 file changed, 3 insertions(+), 109 deletions(-) diff --git a/board/xilinx/zy

[U-Boot] [PATCH v3 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-18 Thread Nathan Rossi
with an #if on CONFIG_NR_DRAM_BANKS, so that the function is only available for configs that have memory banks available in bd_t. Nathan Rossi (3): fdt: add memory bank decoding functions for board setup ARM: zynq: Replace board specific with generic memory bank decoding ARM64: zynqmp

[U-Boot] [PATCH v3 1/3] fdt: add memory bank decoding functions for board setup

2016-12-18 Thread Nathan Rossi
from the boards dram_init_banksize(). Signed-off-by: Nathan Rossi Cc: Simon Glass Cc: Michal Simek Reviewed-by: Simon Glass --- v2: * Make fdtdec_setup_memory_banksize() return value consistent * Add more detail into the function documentation v3: * Wrap the fdtdec_setup_memory_banksize() func

[U-Boot] [PATCH v2 1/3] fdt: add memory bank decoding functions for board setup

2016-12-11 Thread Nathan Rossi
from the boards dram_init_banksize(). Signed-off-by: Nathan Rossi Cc: Simon Glass Cc: Michal Simek Reviewed-by: Simon Glass --- v2: * Make fdtdec_setup_memory_banksize() return value consistent * Add more detail into the function documentation This implementation of decoding has been tested on

[U-Boot] [PATCH v2 3/3] ARM64: zynqmp: Replace board specific with generic memory bank decoding

2016-12-11 Thread Nathan Rossi
his change makes the dram_init* functions use a generic implementation of decoding and populating memory bank and size data. Signed-off-by: Nathan Rossi Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT") Cc: Michal Simek --- board/xilinx/z

[U-Boot] [PATCH v2 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-11 Thread Nathan Rossi
and zynqmp board implementations to use these functions to resolve a issue with static variable use. Changes in v2: * Make fdtdec_setup_memory_banksize() return value consistent * Add more detail into the function documentation Nathan Rossi (3): fdt: add memory bank decoding functions for

[U-Boot] [PATCH v2 2/3] ARM: zynq: Replace board specific with generic memory bank decoding

2016-12-11 Thread Nathan Rossi
data. Signed-off-by: Nathan Rossi Fixes: 758f29d0f8 ("ARM: zynq: Support systems with more memory banks") Cc: Michal Simek --- board/xilinx/zynq/board.c | 112 ++ 1 file changed, 3 insertions(+), 109 deletions(-) diff --git a/board/xilinx/zy

Re: [U-Boot] [PATCH 1/3] fdt: add memory bank decoding functions for board setup

2016-12-11 Thread Nathan Rossi
On 12 December 2016 at 06:27, Simon Glass wrote: > Hi Nathan, > > On 11 December 2016 at 08:58, Nathan Rossi wrote: >> Add two functions for use by board implementations to decode the memory >> banks of the /memory node so as to populate the global data with >> ram_siz

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-11 Thread Nathan Rossi
On 12 December 2016 at 03:08, Igor Grinberg wrote: > On 12/11/16 18:47, Nathan Rossi wrote: >> On 12 December 2016 at 01:08, Igor Grinberg wrote: >>> Hi Nathan, >>> >>> On 12/11/16 15:58, Nathan Rossi wrote: >>>> This series adds two fun

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-11 Thread Nathan Rossi
On 12 December 2016 at 01:08, Igor Grinberg wrote: > Hi Nathan, > > On 12/11/16 15:58, Nathan Rossi wrote: >> This series adds two functions for handling the memory bank decoding and >> initialization of global data for use by boards in their dram_init and >> dram_ini

[U-Boot] [PATCH 3/3] ARM64: zynqmp: Replace board specific with generic memory bank decoding

2016-12-11 Thread Nathan Rossi
his change makes the dram_init* functions use a generic implementation of decoding and populating memory bank and size data. Signed-off-by: Nathan Rossi Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT") Cc: Michal Simek --- board/xilinx/z

[U-Boot] [PATCH 1/3] fdt: add memory bank decoding functions for board setup

2016-12-11 Thread Nathan Rossi
from the boards dram_init_banksize(). Signed-off-by: Nathan Rossi Cc: Simon Glass Cc: Michal Simek --- This implementation of decoding has been tested on zynq and zynqmp boards with address/size cells of (1, 1), (1, 2), (2, 1), (2, 2) and up to 2 memory banks. --- include/fdtd

[U-Boot] [PATCH 2/3] ARM: zynq: Replace board specific with generic memory bank decoding

2016-12-11 Thread Nathan Rossi
data. Signed-off-by: Nathan Rossi Fixes: 758f29d0f8 ("ARM: zynq: Support systems with more memory banks") Cc: Michal Simek --- board/xilinx/zynq/board.c | 112 ++ 1 file changed, 3 insertions(+), 109 deletions(-) diff --git a/board/xilinx/zy

[U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-11 Thread Nathan Rossi
variable use. Nathan Rossi (3): fdt: add memory bank decoding functions for board setup ARM: zynq: Replace board specific with generic memory bank decoding ARM64: zynqmp: Replace board specific with generic memory bank decoding board/xilinx/zynq/board.c| 112

[U-Boot] [RFC PATCH] ARM: zynq: Replace dram_init* functions with board_init_f safe ones

2016-12-05 Thread Nathan Rossi
es the existing code and copies the implementation of the dram_init and dram_init_banksize from the arch/arm/mach-uniphier/dram_init.c source. This version of these functions does not use static variables and behaves the same (reading banks from fdt, and using the first bank as the ram_size). Signed-

[U-Boot] [PATCH] net: phy: marvell: Do not reset 88e1310 after autoneg

2016-06-03 Thread Nathan Rossi
uring auto-negotiation. Signed-off-by: Nathan Rossi Cc: Joe Hershberger Cc: Michal Simek Cc: Stefan Roese --- drivers/net/phy/marvell.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index d2e68d4..58d287b 100644 --- a/d

Re: [U-Boot] [PATCH] net: phy: marvell: Fix up reset ordering

2016-06-03 Thread Nathan Rossi
On Thu, Jun 2, 2016 at 3:59 PM, Michal Simek wrote: > On 2.6.2016 07:42, Stefan Roese wrote: >> Hi Michal, >> >> On 02.06.2016 07:31, Michal Simek wrote: >>> On 1.6.2016 18:22, Nathan Rossi wrote: >>>> Commit a058052c "net: phy: do not read con

[U-Boot] [PATCH 1/2] zynq: Add Adapteva Parallella board support

2016-06-01 Thread Nathan Rossi
://parallella.org/ Signed-off-by: Nathan Rossi Cc: Albert Aribaud Cc: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynq-parallella.dts | 96 +++ configs/zynq_parallella_defconfig | 36 +++ include/configs/zynq_parallella.h

[U-Boot] [PATCH] net: phy: marvell: Fix up reset ordering

2016-06-01 Thread Nathan Rossi
that auto-negotiation occurs after reset. Signed-off-by: Nathan Rossi Cc: Joe Hershberger Cc: Michal Simek Cc: Stefan Roese --- drivers/net/phy/marvell.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c ind

Re: [U-Boot] [PATCH 12/16] ARM: zynq: Extend microzed board support

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > Add missing DT nodes and enable USB. > > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-microzed.dts | 38 +- > configs/zynq_microzed_defconfig

Re: [U-Boot] [PATCH 09/16] ARM: zynq: Align spi and qspi node locations

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > Keep nodes alphabelitally sorted. > > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-zc702.dts | 10 +- > arch/arm/dts/zynq-zc706.dts | 10 +- > arch/

Re: [U-Boot] [PATCH 08/16] ARM: zynq: zc706: Add adv7511 on i2c bus

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > From: Christian Kohn > > Add missing adv7511 and configure to match Base TRD. > > Signed-off-by: Christian Kohn > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-zc706.dts | 1

[U-Boot] [PATCH] ARM: zynq: Enable u-boot,dm-pre-reloc for qspi

2016-02-16 Thread Nathan Rossi
Enable u-boot,dm-pre-reloc for qspi for zc706, zed and microzed. Signed-off-by: Nathan Rossi Cc: Albert Aribaud Cc: Michal Simek Cc: Simon Glass --- arch/arm/dts/zynq-microzed.dts | 1 + arch/arm/dts/zynq-zc706.dts| 1 + arch/arm/dts/zynq-zed.dts | 1 + 3 files changed, 3 insertions

[U-Boot] [PATCH v3 4/4] arm: socfpga: Enable SPL_DM_SEQ_ALIAS for all SOCFPGA configs

2016-01-07 Thread Nathan Rossi
This feature is required in SPL to enable support for loading from SPI flash. Also clean up the #define in socfpga_common.h. Signed-off-by: Nathan Rossi Reviewed-by: Stefan Roese Cc: Dinh Nguyen Cc: Chin-Liang See Cc: Marek Vasut Cc: Stefan Roese --- v2: Added this patch v3: Dropped config

[U-Boot] [PATCH v3 3/4] arm: mvebu: Select SPL_DM_SEQ_ALIAS

2016-01-07 Thread Nathan Rossi
Select SPL_DM_SEQ_ALIAS which is required for certain uclasses, specifically SPI Flash. Signed-off-by: Nathan Rossi Reviewed-by: Stefan Roese Cc: Albert Aribaud Cc: Stefan Roese --- v2: Added this patch v3: no changes. --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a

[U-Boot] [PATCH v3 0/4] Change DM_SEQ_ALIAS to be configurable for SPL

2016-01-07 Thread Nathan Rossi
Add a config option for SPL_DM_SEQ_ALIAS and enable it for the Zynq targets which require it for SPI flash support in SPL. Changes in v2: * Add patches to enable the config for mvebu and socfpga targets. Changes in v3: * Removed de0nano and mcvevk boards from socfpga config patch Nathan

[U-Boot] [PATCH v3 1/4] spl: dm: Add SPL_DM_SEQ_ALIAS config option

2016-01-07 Thread Nathan Rossi
: Nathan Rossi Acked-by: Simon Glass Acked-by: Michal Simek Cc: Simon Glass Cc: Masahiro Yamada Cc: Linus Walleij Cc: Marek Vasut Cc: Michal Simek Cc: Stefan Roese --- v2: no changes. v3: no changes. --- drivers/core/Kconfig | 9 + drivers/core/device.c | 2 +- include

[U-Boot] [PATCH v2 4/4] arm: socfpga: Enable SPL_DM_SEQ_ALIAS for all SOCFPGA configs

2016-01-06 Thread Nathan Rossi
This feature is required in SPL to enable support for loading from SPI flash. Also clean up the #define in socfpga_common.h. Signed-off-by: Nathan Rossi Cc: Dinh Nguyen Cc: Chin-Liang See Cc: Marek Vasut Cc: Stefan Roese --- v2: Added this patch --- configs/socfpga_arria5_defconfig

[U-Boot] [PATCH v2 3/4] arm: mvebu: Select SPL_DM_SEQ_ALIAS

2016-01-06 Thread Nathan Rossi
Select SPL_DM_SEQ_ALIAS which is required for certain uclasses, specifically SPI Flash. Signed-off-by: Nathan Rossi Cc: Albert Aribaud Cc: Stefan Roese --- v2: Added this patch --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[U-Boot] [PATCH v2 2/4] arm: zynq: Enable SPL_DM_SEQ_ALIAS for all Zynq configs

2016-01-06 Thread Nathan Rossi
This feature is required in SPL to enable support for loading from SPI flash when the device is booted from QSPI. Signed-off-by: Nathan Rossi Cc: Michal Simek --- v2: no changes. --- configs/zynq_microzed_defconfig| 1 + configs/zynq_picozed_defconfig | 1 + configs

[U-Boot] [PATCH v2 1/4] spl: dm: Add SPL_DM_SEQ_ALIAS config option

2016-01-06 Thread Nathan Rossi
: Nathan Rossi Acked-by: Simon Glass Acked-by: Michal Simek Cc: Simon Glass Cc: Masahiro Yamada Cc: Linus Walleij Cc: Marek Vasut Cc: Michal Simek Cc: Stefan Roese --- v2: no changes. --- drivers/core/Kconfig | 9 + drivers/core/device.c | 2 +- include/config_uncmd_spl.h

[U-Boot] [PATCH v2 0/4] Change DM_SEQ_ALIAS to be configurable for SPL

2016-01-06 Thread Nathan Rossi
Add a config option for SPL_DM_SEQ_ALIAS and enable it for the Zynq targets which require it for SPI flash support in SPL. Changes in v2: * Add patches to enable the config for mvebu and socfpga targets. Nathan Rossi (4): spl: dm: Add SPL_DM_SEQ_ALIAS config option arm: zynq: Enable

Re: [U-Boot] [PATCH 1/2] spl: dm: Add SPL_DM_SEQ_ALIAS config option

2015-12-29 Thread Nathan Rossi
On Mon, Dec 14, 2015 at 5:29 PM, Michal Simek wrote: > On 14.12.2015 07:26, Stefan Roese wrote: >> On 12.12.2015 15:08, Nathan Rossi wrote: >>> On Sat, Dec 12, 2015 at 10:05 PM, Stefan Roese wrote: >>>> On 11.12.2015 18:32, Marek Vasut wrote: >>>>> &

Re: [U-Boot] [PATCH 1/2] spl: dm: Add SPL_DM_SEQ_ALIAS config option

2015-12-12 Thread Nathan Rossi
On Sat, Dec 12, 2015 at 10:05 PM, Stefan Roese wrote: > On 11.12.2015 18:32, Marek Vasut wrote: >> >> On Friday, December 11, 2015 at 04:46:40 PM, Michal Simek wrote: >>> >>> On 11.12.2015 16:07, Marek Vasut wrote: >>>> >>>> On Fri

[U-Boot] [PATCH 2/2] arm: zynq: Enable SPL_DM_SEQ_ALIAS for all Zynq configs

2015-12-11 Thread Nathan Rossi
This feature is required in SPL to enable support for loading from SPI flash when the device is booted from QSPI. Signed-off-by: Nathan Rossi Cc: Michal Simek --- configs/zynq_microzed_defconfig| 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1

[U-Boot] [PATCH 1/2] spl: dm: Add SPL_DM_SEQ_ALIAS config option

2015-12-11 Thread Nathan Rossi
: Nathan Rossi Cc: Simon Glass Cc: Masahiro Yamada Cc: Linus Walleij Cc: Marek Vasut Cc: Michal Simek --- Based on a small amount of inspection for the Zynq platform, enabling this config option adds ~1KB of code size. Also on a side note, this might affect the socfpga target as it forcibly

[U-Boot] [PATCH 0/2] Change DM_SEQ_ALIAS to be configurable for SPL

2015-12-11 Thread Nathan Rossi
Add a config option for SPL_DM_SEQ_ALIAS and enable it for the Zynq targets which require it for SPI flash support in SPL. Nathan Rossi (2): spl: dm: Add SPL_DM_SEQ_ALIAS config option arm: zynq: Enable SPL_DM_SEQ_ALIAS for all Zynq configs configs/zynq_microzed_defconfig| 1 + configs

[U-Boot] [PATCH] tools: zynqimage: Clean up check_params

2015-12-08 Thread Nathan Rossi
Clean up the param checking, removing some code paths that will never happen. Signed-off-by: Nathan Rossi Cc: Michal Simek Cc: Tom Rini --- tools/zynqimage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/zynqimage.c b/tools/zynqimage.c index 25f558d..c43bd5d

[U-Boot] [PATCH] spl: dm: Enable DM_SEQ_ALIAS

2015-12-08 Thread Nathan Rossi
The Device Model sequence alias feature is required by some Uclasses. Specifically SPI which picks the bus to use based on the sequence. Without this the SPI Uclass will not probe any bus and will fail which prevents SPL from using SPI flash as a boot location. Signed-off-by: Nathan Rossi Cc

[U-Boot] [PATCH] arm: zynq: Update ZYBO config options

2015-12-08 Thread Nathan Rossi
Update the ZYBO device tree and enable config options that relate to the added devices in the device tree. Signed-off-by: Nathan Rossi Cc: Albert Aribaud Cc: Michal Simek Cc: Simon Glass --- arch/arm/dts/zynq-zybo.dts | 18 ++ configs/zynq_zybo_defconfig | 3 +++ include

[U-Boot] [PATCH] spi: zynq_qspi: Add configuration to disable LQSPI feature

2015-12-08 Thread Nathan Rossi
mode is disabled before re-enabling the device. Signed-off-by: Nathan Rossi Cc: Jagan Teki Cc: Siva Durga Prasad Paladugu Cc: Simon Glass --- drivers/spi/zynq_qspi.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/spi/zynq_qspi.c b/drivers/spi/zynq_qspi.c index 5825c6d

[U-Boot] [PATCH v2 2/2] ARM: zynq: Add target for building bootable SPL image for Zynq

2015-11-17 Thread Nathan Rossi
Add a build target to generate 'boot.bin' which includes SPL. This is used by the platforms BootROM to load SPL directly. This change also conditionally changes what the 'boot.bin' target generates depending on the SoC. Leaving the behaviour unchanged for the AT91 targets. S

[U-Boot] [PATCH v2 1/2] tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage

2015-11-17 Thread Nathan Rossi
or image dumping use cases (vector table and register initialization). Signed-off-by: Nathan Rossi Cc: Michal Simek Cc: Tom Rini Reviewed-by: Tom Rini --- Changes in v2: * Remove code that was used for testing --- common/image.c| 1 + include/image.h | 3 +- tools/Makefile| 1

[U-Boot] [PATCH v2 0/2] Add Xilinx Zynq boot.bin support

2015-11-17 Thread Nathan Rossi
This patch series adds support for the 'zynqimage' type to mkimage for the Xilinx Zynq platform. As well as adding make targets to generate the boot.bin image file containing SPL by default. Changes in v2: * Remove test code Nathan Rossi (2): tools: zynqimage: Add Xilinx Zynq b

Re: [U-Boot] [PATCH 1/2] tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage

2015-11-11 Thread Nathan Rossi
On Wed, Nov 11, 2015 at 9:46 PM, Nathan Rossi wrote: > As with other platforms vendors love to create their own boot header > formats. Xilinx is no different and for the Zynq platform/SoC there > exists the "boot.bin" which is read by the platforms bootrom. This > format is

[U-Boot] [PATCH 0/2] Add Xilinx Zynq boot.bin support

2015-11-11 Thread Nathan Rossi
This patch series adds support for the 'zynqimage' type to mkimage for the Xilinx Zynq platform. As well as adding make targets to generate the boot.bin image file containing SPL by default. Nathan Rossi (2): tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage ARM:

[U-Boot] [PATCH 1/2] tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage

2015-11-11 Thread Nathan Rossi
or image dumping use cases (vector table and register initialization). Signed-off-by: Nathan Rossi Cc: Michal Simek Cc: Tom Rini --- common/image.c| 1 + include/image.h | 3 +- tools/Makefile| 1 + tools/zynqimage.c | 259 ++

[U-Boot] [PATCH 2/2] ARM: zynq: Add target for building bootable SPL image for Zynq

2015-11-11 Thread Nathan Rossi
Add a build target to generate 'boot.bin' which includes SPL. This is used by the platforms BootROM to load SPL directly. This change also conditionally changes what the 'boot.bin' target generates depending on the SoC. Leaving the behaviour unchanged for the AT91 targets. S

[U-Boot] [PATCH 2/2] microblaze: Fix C99/gnu99 compatiblity for inline functions

2015-11-06 Thread Nathan Rossi
itionally remove the function prototypes as they are not required due to the functions being declared static and functions are correctly ordered based on dependence. Signed-off-by: Nathan Rossi Cc: Michal Simek Cc: Tom Rini --- arch/microblaze/include/asm/bitops.h | 63 -

[U-Boot] [PATCH 1/2] microblaze: Fix style issues in header files

2015-11-06 Thread Nathan Rossi
Fix various style issues in MicroBlaze header files. Specifically fixing style voilations including '__inline__', 'foo * bar' and 'void foo ('. Signed-off-by: Nathan Rossi Cc: Michal Simek Cc: Tom Rini --- arch/microblaze/include/asm/bitops.h | 66

[U-Boot] [PATCH 0/2] Add support for GCC 5.x for MicroBlaze

2015-11-06 Thread Nathan Rossi
some code style clean up, followed by the patch that fixes the compatiblity. Nathan Rossi (2): microblaze: Fix style issues in header files microblaze: Fix C99/gnu99 compatiblity for inline functions arch/microblaze/include/asm/bitops.h | 63 arch

[U-Boot] [PATCH] microblaze: Fix EMAC Lite initialization

2015-04-15 Thread Nathan Rossi
It is possible for CONFIG_XILINX_EMACLITE to be defined without XILINX_EMACLITE_BASEADDR being defined as the EMAC Lite driver support OF init. Check that the driver is enabled and the base address is available before initializing with a static base address. Signed-off-by: Nathan Rossi

[U-Boot] [PATCH] zynq: Add Zynq PicoZed board support

2015-04-13 Thread Nathan Rossi
/picozed Signed-off-by: Nathan Rossi --- arch/arm/cpu/armv7/zynq/Kconfig |4 arch/arm/dts/Makefile |1 + arch/arm/dts/zynq-picozed.dts | 23 +++ configs/zynq_picozed_defconfig |6 ++ include/configs/zynq_picozed.h | 28