The binary header ends with one lword, defining if another header
follows this one. This additions 4 bytes need to be taken into
account in the generation of the header size. And the complete
4 bytes at the end of this binary header need to get cleared.
Signed-off-by: Stefan Roese
Cc: Luka Perkov
On 28 October 2015 at 11:01, Bin Meng wrote:
> Hi Jagan,
>
> On Wed, Oct 28, 2015 at 1:18 PM, Jagan Teki wrote:
>> On 28 October 2015 at 00:50, Troy Kisky
>> wrote:
>>> On 10/27/2015 11:37 AM, Jagan Teki wrote:
spi_flash_probe_tail code looks not in proper shape
to add more functional
Hi, All.
On 10/05/2015 08:47 PM, Tobias Jakobi wrote:
> Add more debug printfs in do_sdhci_init() for calls
> that can potentially fail.
>
> Acked-by: Przemyslaw Marczak
> Signed-off-by: Tobias Jakobi
> ---
> drivers/mmc/s5p_sdhci.c | 20 +++-
> 1 file changed, 11 insertions(+)
The board supports following features:
- Boot media support: SD card/e.MMC/SPI flash,
- Support LCD display (optional, disabled by default),
- Support ethernet,
- Support USB mass storage.
Signed-off-by: Wenyou Yang
---
The patch is based on the following patches sent in mailing list.
Hi Bo Shen,
Thank you for your feedback.
> -Original Message-
> From: Bo Shen [mailto:voice.s...@gmail.com]
> Sent: 2015年10月28日 11:07
> To: Yang, Wenyou
> Cc: U-Boot Mailing List; andreas.de...@googlemail.com
> Subject: Re: [PATCH v4] arm: atmel: Add SAMA5D2 Xplained board
>
> Hi Wenyou,
The SDHCI is introduced by sama5d2, named as Secure Digital Multimedia
Card Controller(SDMMC). It supports the embedded MultiMedia Card (e.MMC)
Specification V4.41, the SD Memory Card Specification V3.0, and the SDIO
V3.0 specification. It is compliant with the SD Host Controller Standard
V3.0 spec
Hello Michal,
Am 27.10.2015 um 16:02 schrieb Michal Simek:
Do not enable both I2C controllers by default. Enable them only when
they are selected.
Signed-off-by: Michal Simek
---
drivers/i2c/zynq_i2c.c | 4
1 file changed, 4 insertions(+)
Thanks!
I will accept this patch, but it is
Hi Bo Shen,
Thank you for your review.
> -Original Message-
> From: Bo Shen [mailto:voice.s...@gmail.com]
> Sent: 2015年10月28日 11:03
> To: Yang, Wenyou
> Cc: U-Boot Mailing List; andreas.de...@googlemail.com; Pantelis Antoniou
> Subject: Re: [PATCH v3] mmc: atmel: Add atmel sdhci support
>
include/configs/guruplug.h defined CONFIG_CMD_FAT twice.
Signed-off-by: Quentin Armitage
---
include/configs/guruplug.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/configs/guruplug.h b/include/configs/guruplug.h
index 318ea87..48dd0e6 100644
--- a/include/co
Create include/configs/mv-plug-common.h for common definitions
for Sheevaplug, Guruplug and Dreamplug. This will make it easier
to ensure the built u-boots stay in track with each other
Signed-off-by: Quentin Armitage
---
include/configs/dreamplug.h | 29 +
include/confi
The Marvell plugs are very similar systems, and so it makes sense
for their u-boots to have the same commands/configuration.
Add EXT4 and MII to Dreamplug, DATE to Guruplug and Sheevaplug.
Add CONFIG_SYS_ALT_MEMTEST to Sheevaplug.
There are still command differences around NAND, SPI/NOR.
Also def
the commands available were not consistent. Particularly important
was the omission of support for the ext4 commands on the Dreamplug.
This series of patches starts by making the available commands (excluding
flash related commands) consistent across the Sheevaplug, Guruplug and
Dreamplug. After t
include/configs/mv-common.h brings in the required filesystems if
CONFIG_SYS_MVFS is defined, so use it for Sheevaplug and Guruplug.
Signed-off-by: Quentin Armitage
---
include/configs/guruplug.h | 25 ++---
include/configs/sheevaplug.h | 25 ++---
For Marvell plugs, move the configuration of DHCP, NAND/SF, PING
and USB commands, and HUSH_PARSER into the _defconfig file, rather
than the include/configs/*plug.h files.
This avoids compiler warnings of duplicate definitions if the
option is selected in the .config, but also defined in the
inclu
Cosmetic: CONFIG_OF_LIBFDT was in a different position in the config
file for the Dreamplug, compared to the Sheevaplug and Guruplug.
Signed-off-by: Quentin Armitage
---
include/configs/dreamplug.h |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/configs/dr
CONFIG_DISPLAY_CPUINFO is already defined in mv-common.h
Signed-off-by: Quentin Armitage
---
include/configs/dreamplug.h |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index 0c01209..97b3def 100644
--- a/inc
Hi Jagan,
On Wed, Oct 28, 2015 at 1:18 PM, Jagan Teki wrote:
> On 28 October 2015 at 00:50, Troy Kisky
> wrote:
>> On 10/27/2015 11:37 AM, Jagan Teki wrote:
>>> spi_flash_probe_tail code looks not in proper shape
>>> to add more functionalities. hence refactorized
>>> so-that it's more readable
Hi Bo Shen,
Thank you for your review.
> -Original Message-
> From: Bo Shen [mailto:voice.s...@gmail.com]
> Sent: 2015年10月28日 11:14
> To: Yang, Wenyou
> Cc: U-Boot Mailing List; andreas.de...@googlemail.com
> Subject: Re: [PATCH v2] arm: at91: clock: Add the generated clock support
>
> H
On 28 October 2015 at 00:50, Troy Kisky wrote:
> On 10/27/2015 11:37 AM, Jagan Teki wrote:
>> spi_flash_probe_tail code looks not in proper shape
>> to add more functionalities. hence refactorized
>> so-that it's more readable and hence we may extend
>> more functionalies to it.
>>
>> Signed-off-b
On Wed, 28 Oct 2015 00:27:48 +0100
Piotr Król wrote:
> On Tue, Oct 27, 2015 at 06:31:24AM +0200, Siarhei Siamashka wrote:
> > On Mon, 26 Oct 2015 12:18:35 +0100
> > Piotr Król wrote:
> >
> > > On Sun, Oct 25, 2015 at 06:44:45AM +0200, Siarhei Siamashka wrote:
> > > > Hello,
> > > >
> > > > DFU
On 10/22/2015 11:30 AM, Vignesh R wrote:
> This adds support to update firmware on qspi flash present on
> am437x-sk-evm and am43xx-epos-evm via DFU.
>
> On device:
> => setenv dfu_alt_info ${dfu_alt_info_qspi}
> => dfu 0 sf 0:0
>
> On host:
> $ sudo dfu-util -l
> $ sudo dfu-util -D u-boot.bin
This fixes compilation problems when using a hardfloat toolchain on
ARM, which manifest themselves as "libgcc.a(_udivmoddi4.o) uses
VFP register arguments, u-boot does not".
These problems have been reported in the U-Boot mailing list:
http://lists.denx.de/pipermail/u-boot/2015-October/230314.
On 2015-10-27, Fabio Estevam wrote:
> On Tue, Oct 27, 2015 at 5:49 PM, Vagrant Cascadian wrote:
>
>> +#define BOOT_TARGET_DEVICES(func) \
>> + func(MMC, mmc, 0) \
>> + func(MMC, mmc, 1) \
>> + func(USB, usb, 0) \
>> + func(PXE, pxe, na) \
>> + func(DHCP, dhcp, na)
>
>
Hi Wenyou,
On 10/26/2015 11:31 AM, Wenyou Yang wrote:
Some peripherals may need a second clock source that may be different
from the system clock. This second clock is the generated clock (GCK)
and is managed by the PMC via PMC_PCR.
For simplicity, the clock source of the GCK is fixed to PLLA_C
Hi Wenyou,
On 10/27/2015 17:59 PM, Wenyou Yang wrote:
The board supports following features:
- Boot media support: SD card/e.MMC/SPI flash,
- Support LCD display (optional, disabled by default),
- Support ethernet,
- Support USB mass storage.
Signed-off-by: Wenyou Yang
---
The patch is
Hi Wenyou,
On 10/26/2015 11:38 AM, Wenyou Yang wrote:
The SDHCI is introduced by sama5d2, named as Secure Digital Multimedia
Card Controller(SDMMC). It supports the embedded MultiMedia Card (e.MMC)
Specification V4.41, the SD Memory Card Specification V3.0, and the SDIO
V3.0 specification. It is
As QSPI/DSPI and IFC are pin multiplexed, IFC is disabled
in SD boot for QSPI. This patch will add fdt support for
this rule.
Signed-off-by: Alison Wang
---
arch/arm/cpu/armv7/ls102xa/fdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/ls102xa/fdt.c b/arc
On Tue, Oct 27, 2015 at 06:31:24AM +0200, Siarhei Siamashka wrote:
> On Mon, 26 Oct 2015 12:18:35 +0100
> Piotr Król wrote:
>
> > On Sun, Oct 25, 2015 at 06:44:45AM +0200, Siarhei Siamashka wrote:
> > > Hello,
> > >
> > > DFU allows to transfer large files (such as initrd images) much
> > > fast
Hi Vagrant,
On Tue, Oct 27, 2015 at 5:49 PM, Vagrant Cascadian wrote:
> +#define BOOT_TARGET_DEVICES(func) \
> + func(MMC, mmc, 0) \
> + func(MMC, mmc, 1) \
> + func(USB, usb, 0) \
> + func(PXE, pxe, na) \
> + func(DHCP, dhcp, na)
I never used config_distro_bootcm
On Tue, Oct 27, 2015 at 9:00 PM, Tzu-Jung Lee wrote:
> On the target board:
>
> => dfu 0 mmc 0
>
> On the host PC:
>
> $ dfu-util -l
>
> Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=0, name="image"
> Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=1, name="u-boot"
> Foun
On the target board:
=> dfu 0 mmc 0
On the host PC:
$ dfu-util -l
Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=0, name="image"
Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=1, name="u-boot"
Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=2, name="bootimg"
Fo
In 1fec3c5 I added a check that if we had an Android image we default to
trying the kernel address for a ramdisk. However when we don't have an
Android image buf is NULL and we oops here. Ensure that we have 'buf'
to check first.
Reported-by: elipe Balbi
Signed-off-by: Tom Rini
---
common/ima
On Monday, October 12, 2015 at 6:43:37 AM UTC-7, Maxime Ripard wrote:
>
> Hi,
>
> I'm currently writing the support in U-Boot for NAND-backed devices
> using fastboot [1], and that work derived a bit to supporting the
> sparse images.
>
> For "regular" images that are being stored, we expect a
When for example generating/manipulating SD card/eMMC images which
contain U-Boot and its environment(s), it is handy to use a given
configuration file instead of the compiled-in default one.
And since the default configuration file is expected under /etc
it's hard for an usual linux user account w
On Tue, Oct 27, 2015 at 1:49 PM, Ryan Harkin wrote:
> Either way, AFAIK, the existing CFI code does not handle AFS support.
> I think the CFI code would need extending to write the footer if we
> wanted the afs command to show the config in another way. Could that
> be what Peter Pearse did?
Uh
Albert,
> -Original Message-
> From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net]
> Sent: Wednesday, October 21, 2015 11:26 PM
> To: Stephen Warren
> Cc: u-boot@lists.denx.de; Simon Glass ; Tom Warren
> ; Stephen Warren ; Thierry
> Reding ; York Sun ; Michal
> Simek
> Subject: Re: [
This allows for more flexible and standardized boot across multiple
platforms.
Remove redundant legacy boot environment.
Cc: Otavio Salvador
Signed-off-by: Vagrant Cascadian
---
include/configs/mx6cuboxi.h | 88 +
1 file changed, 24 insertions(+), 6
This allows for more flexible and standardized boot across multiple
platforms.
Remove redundant legacy boot environment.
Signed-off-by: Vagrant Cascadian
---
Changes in v2:
- Remove redundant legacy boot environment.
Cc: Otavio Salvador
include/configs/wandboard.h | 80 ++
On 10/27/2015 12:12 PM, Hoefle Marco wrote:
>
>
>> -Original Message-
>> From: Michal Simek [mailto:michal.si...@xilinx.com]
>> Sent: Montag, 26. Oktober 2015 14:52
>> To: Jagan Teki ; Hoefle Marco
>> ; Michal Simek
>> Cc: u-boot@lists.denx.de
>> Subject: Re: [U-Boot] u-boot device model
Hi Marco,
petalinux 2015.4 will be released with SPI DM model. I have just debug
it and it is working fine but it requires some changes in the mainline
to get it work properly. It is not working properly on Microblaze.
I expect there is no problem to use this driver on zynq.
Just give me some tim
On 10/27/2015 11:37 AM, Jagan Teki wrote:
> spi_flash_probe_tail code looks not in proper shape
> to add more functionalities. hence refactorized
> so-that it's more readable and hence we may extend
> more functionalies to it.
>
> Signed-off-by: Jagan Teki
> ---
> drivers/mtd/spi/sf_probe.c | 22
On 2015-10-27, Vagrant Cascadian wrote:
> This allows for more flexible and standardized boot across multiple
> platforms. Remove most redundant legacy boot environment.
Er, Bad commit message, this patch doesn't actually "Remove most
redundant legacy boot environment" at all. Leftovers from an ea
On Tue, Oct 27, 2015 at 5:13 PM, Vagrant Cascadian wrote:
> On 2015-10-27, Vagrant Cascadian wrote:
>> This allows for more flexible and standardized boot across multiple
>> platforms. Remove most redundant legacy boot environment.
>
> Er, Bad commit message, this patch doesn't actually "Remove mo
On Tue, Oct 27, 2015 at 5:06 PM, Vagrant Cascadian wrote:
> This allows for more flexible and standardized boot across multiple
> platforms. Remove most redundant legacy boot environment.
>
> Cc: Otavio Salvador
> Signed-off-by: Vagrant Cascadian
You need to remove the old environment script wh
Hi Bin,
On 27 October 2015 at 01:20, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Oct 27, 2015 at 2:40 PM, Bin Meng wrote:
>> Hi Simon,
>>
>> On Mon, Oct 19, 2015 at 11:17 AM, Simon Glass wrote:
>>> This series adds a new uclass for keyboards and converts some drivers
>>> over to use it.
>>>
>>> Thi
This allows for more flexible and standardized boot across multiple
platforms. Remove most redundant legacy boot environment.
Cc: Otavio Salvador
Signed-off-by: Vagrant Cascadian
---
include/configs/wandboard.h | 18 ++
1 file changed, 18 insertions(+)
diff --git a/include/con
Hi Lin,
On 26 October 2015 at 18:27, hl wrote:
> Hi Simon,
>
>
> On 26/10/15 12:12, Simon Glass wrote:
>
> Hi,
>
> On Oct 22, 2015 7:22 PM, "hl" wrote:
>>
>> Hi Simon,
>>
>>
>> On 23/10/15 09:04, Simon Glass wrote:
>>>
>>> Hi Eddie,
>>>
>>> On 22 October 2015 at 18:54, Eddie Cai wrote:
>>>
On Mon, Oct 26, 2015 at 10:43:47AM +0100, Stefan Roese wrote:
> On 23.10.2015 19:53, Kevin Smith wrote:
> >A lot of extra configuration information was left over in the
> >Marvell serdes and DDR3 initialization code for boards that
> >U-boot does not support. Remove this extra config information,
spi_flash_probe_tail code looks not in proper shape
to add more functionalities. hence refactorized
so-that it's more readable and hence we may extend
more functionalies to it.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_internal.h | 3 +-
drivers/mtd/spi/sf_ops.c | 7 ++---
drivers/
spi_flash_probe_tail code looks not in proper shape
to add more functionalities. hence refactorized
so-that it's more readable and hence we may extend
more functionalies to it.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_probe.c | 22 ++
1 file changed, 14 insertions(+),
Use static for file-scope functions and removed
them from header files.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_internal.h | 20
drivers/mtd/spi/sf_ops.c | 11 ++-
2 files changed, 6 insertions(+), 25 deletions(-)
diff --git a/drivers/mtd/spi/sf_intern
This patch add support to use spi_flash_scan in
dm-spi-flash probe, so-that it can access
the spi_flash functionalities same as non-dm sf probe.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_probe.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --gi
Using macro's for flash power up read-only access code
leads wrong behaviour hence use idcode0 for runtime
detection, hence the flash which require this functionality
gets detected at runtime.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_internal.h | 2 ++
drivers/mtd/spi/sf_ops.c | 7 +
flash operations are defined as static and reuse them
with function-pointers so call them with generic
function pounters instead of calling like normal functions.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_ops.c | 2 --
drivers/mtd/spi/sf_probe.c | 15 +++
include/spi_flash.
Removed unneeded header includes in sf_ops and sf_probe.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_ops.c | 2 --
drivers/mtd/spi/sf_probe.c | 3 ---
2 files changed, 5 deletions(-)
diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/spi/sf_ops.c
index e04f8aa..d3e8a83 100644
--- a/driv
This patch removes unneeded ifdef and fixed accordingly.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/Makefile | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile
index ff48b25..66c4424 100644
--- a/drivers/mtd/spi/Makefil
read_id code is related to spi_flash stuff
hence moved to sf_ops.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_internal.h | 3 +--
drivers/mtd/spi/sf_ops.c | 21 ++---
drivers/mtd/spi/sf_probe.c| 15 +--
3 files changed, 20 insertions(+), 19 deletions(-)
- Move bar read code below the bar write hance both
at once place, hence it easy for #ifdef macro only
once and readable.
- Move read_cmd_array at top
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_ops.c | 81 +++-
1 file changed, 39 insertions(+
Most of the register access function are static,
so used simple name to represent each.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_ops.c | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/s
Use static for file-scope functions and removed
them from header files.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_internal.h | 18 --
drivers/mtd/spi/sf_ops.c | 11 ++-
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/drivers/mtd/spi/sf_internal
Intension is that sf_ops should deals all spi_flash
related stuff and sf_probe (which should renamed future)
should be an interface layer for spi_flash versus spi drivers.
sf_ops => spi_flash interface
sf_probe => interface layer vs spi_flash(sf_probe) to spi drivers
Signed-off-by: Jagan Teki
--
Rename spi_flash_validate_params to spi_flash_scan
as this code not only deals with params setup but
also configure all spi_flash attributes.
And also moved all flash related code into
spi_flash_scan for future functionality addition.
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/sf_probe.c | 1
The main intension of these patches is to separate the
core flash code and flash-to-spi drivers interface code.
This gives proper enhancement for adding new features like
MTD Core, SPI NOR framework.
sf_ops: Core spi-flash handling (non-dm, becuase sharing code)
sf_probe: flash-to-spi driver inte
- Moved macro definitions to top
- Give tab space to CONFIG_ALTERA_SPI_IDLE_VAL value
- Re-arrange header includes to ascending order
Cc: Thomas Chou
Signed-off-by: Jagan Teki
---
drivers/spi/altera_spi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/spi
Replace numerical bit shift with BIT macro
in altera_spi
:%s/(1 << nr)/BIT(nr)/g
where nr = 0, 1, 2 31
Cc: Marek Vasut
Cc: Thomas Chou
Reviewed-by: Tom Rini
Signed-off-by: Jagan Teki
---
Changes for v6:
- Rebase to master
drivers/spi/altera_spi.c | 4 ++--
1 file changed, 2 in
Hi Michal,
On Oct 27, 2015 08:27, "Michal Simek" wrote:
>
> Hi Simon,
>
> On 10/18/2015 03:41 AM, Simon Glass wrote:
> > This series updates the Zynq serial driver to use driver model. Along
the
> > way several problems are fixed:
> >
> > - Support for /chosen/stdout-path using an alias
> > - Fix
Currently in fdt_fixup_ethernet() the MAC address fix up is
handled in a loop of which the exit condition is to test the
"eth%daddr" env is not NULL. However this creates unnecessary
constrains that those "eth%daddr" env variables must be
sequential even if "ethernet%d" does not start from 0 in the
Sorry, Alex. Missed these.
> -Original Message-
> From: Alexandre Courbot [mailto:gnu...@gmail.com]
> Sent: Sunday, October 25, 2015 10:50 PM
> To: Alex Courbot
> Cc: Tom Warren ; Stephen Warren
> ; Thierry Reding ; u-
> b...@lists.denx.de; linux-te...@vger.kernel.org
> Subject: Re: [PATC
Hi Stefan,
On 10/26/2015 03:36 AM, Stefan Roese wrote:
> The SR1500 board is a CycloneV based board, similar to the EBV
> SoCrates, equipped with the following devices:
>
> - SPI NOR
> - eMMC
> - Ethernet
>
> Signed-off-by: Stefan Roese
> Cc: Marek Vasut
> Cc: Pavel Machek
> Cc: Dinh Nguyen
Target is duplicating packets. IP prefetches another BD and process it
when the first one is sent. Adding one dummy BD to the chain fix the
problem with packet duplication.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
d
Based on spec:
"MDC must not exceed 2.5 MHz (MDC is only active during MDIO read and
write operations)"
Zynq is running on 111MHz. Current setting is 32 which is 111/32=3.47
which is above of 2.5MHz.
Using 48 divider will give us correct setting according spec
(111/48=2.31).
Signed-off-by: Michal
Hi Simon,
On 10/18/2015 03:41 AM, Simon Glass wrote:
> This series updates the Zynq serial driver to use driver model. Along the
> way several problems are fixed:
>
> - Support for /chosen/stdout-path using an alias
> - Fix to fdtgrep which is currently breaking alias building
> - Avoid building
zc1571 with silicon can operate on 200MHz maximum frequency. Setup this
frequency by default and fix setting for ep108.
Signed-off-by: Michal Simek
---
drivers/mmc/zynq_sdhci.c | 2 +-
include/configs/xilinx_zynqmp.h| 3 +++
include/configs/xilinx_zynqmp_ep.h | 1 +
include/config
Using set and clear macro is incorrect because it is not overwritting
origin mdc clock division setup.
For example origin setup is 8(0b001) and new setup is 64(0b100) which
means 0b101 is setup which is 96 divider.
Using writel to rewrite all setting like for 1000Mbit/s case.
Signed-off-by: Michal
Wait till BD is process to ensure that packet was sent successfully.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index e49aa86127d1..c
Driver cleanup.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index a9384ce73144..3962c83f7ac6 100644
--- a/drivers/net/zynq_gem.c
+++ b/drivers/net/zynq_gem.c
@@ -59,7 +59,6 @@
#define
BD_SEPRN_SPACE should not have hard coded value and it will be
calculated based on the number of buffer descriptors that we
would like to use.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/zynq_gem.c b/driv
Fix incorrect sequence in BD handling.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 5aa21b9f24a7..f13a244c7756 100644
--- a/drivers/net/zynq_gem.c
+++ b/driv
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index f13a244c7756..7084488b25ec 100644
--- a/drivers/net/zynq_gem.c
+++ b/drivers/net/zynq_gem.c
@@ -458,8 +458,6 @@ static int zynq_gem_se
From: "Edgar E. Iglesias"
Code is taken from Linux kernel driver.
Signed-off-by: Edgar E. Iglesias
Signed-off-by: Michal Simek
---
drivers/net/phy/Makefile | 1 +
drivers/net/phy/phy.c| 3 +
drivers/net/phy/ti.c | 205 +++
3 files chang
Add debug messages to phyread/write to help with PHY debug.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 9175d2cae8f7..3d21ad617359 100644
--- a/driv
Extend comments with register offset to help with debuggging.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 72f1332c8008..d98c229f4
From: "Edgar E. Iglesias"
Zynq has no priority queues.
ZynqMP requires this change to get network working.
This patch was not needed on ep108 for uknown reason even it should be
used.
Tested on Zynq and ZynqMP.
Signed-off-by: Edgar E. Iglesias
Signed-off-by: Michal Simek
---
drivers/net/zynq
Previous loop was completely bogus. Iterration should go just over
statistic counters.
Signed-off-by: Michal Simek
---
drivers/net/zynq_gem.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index d98c229f4330..f32862fd0b
MII is setup by default for all cases. The most of boards are using
RGMII but PHY drivers are not doing any specific setting that's why MII
setting was working fine. With TI DP83867 is necessary to setup
paramaters based on interface type.
Use one setting per board for it which is something what w
Phy can have addresses 0-31. Check this boundary to ensure that user
can't call commands on phy address 32 and more.
Signed-off-by: Michal Simek
---
common/cmd_mii.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/common/cmd_mii.c b/common/cmd_mii.c
index 5e9079da0487..7ef7532a502a 100
Hello Michal,
ok I will then stop trying to get SPI working on mainline and watch your
commits on
https://github.com/Xilinx/u-boot-xlnx
We have a custom Artix Board here and I would be happy to test your commits on
our hardware.
Thanks,
Marco
Von: Mic
Do not enable both I2C controllers by default. Enable them only when
they are selected.
Signed-off-by: Michal Simek
---
drivers/i2c/zynq_i2c.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/i2c/zynq_i2c.c b/drivers/i2c/zynq_i2c.c
index b3264af4526e..380863bde148 100644
--- a/dr
It is follow up patch based on
"dm: Add support for all targets which requires MANUAL_RELOC"
(sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3)
to update function pointers for DM.
Using post_bind is not ideal but it is one on current option what can be
used. Variable reloc_done has to be used do not
Patches:
"dm: core: Add a post_bind method for parents"
(sha1: 0118ce79577f9b0881f99a6e4f8a79cd5014cb87)
"dm: core: Add a uclass pre_probe() method for devices"
(sha1: 02c07b3741f1b825934b1a6eb8f23530532dc426)
"dm: core: Allow the uclass to set up a device's child after binding"
(sha1: 081f2fcbd9a9
It is follow up patch based on
"dm: Add support for all targets which requires MANUAL_RELOC"
(sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3)
to update function pointers for DM.
Signed-off-by: Michal Simek
---
drivers/spi/spi-uclass.c | 20
1 file changed, 20 insertions(+)
This patch adds time measurement and throughput calculation for
sf read/write commands.
The output of sf read changes from
---8<---
SF: 4096 bytes @ 0x0 Read: OK
--->8---
to
---8<---
SF: 4096 bytes @ 0x0 Read: OK in 6 ms (666 KiB/s)
--->8---
Signed-off-by: Mugunthan V N
---
common/cmd_sf.c |
Hello all,
On 10/27/2015 01:08 PM, Przemyslaw Marczak wrote:
This commit adds:
- new uclass id: UCLASS_ADC
- new uclass driver: drivers/adc/adc-uclass.c
The new uclass's API allows for ADC operation on:
* single-channel with channel selection by a number
* multti-channel with channel selection
On Tuesday, October 27, 2015 at 02:15:24 PM, Thomas Chou wrote:
> Hi Marek,
Hi,
> On 10/27/2015 05:07 PM, Marek Vasut wrote:
> > On Tuesday, October 27, 2015 at 04:24:10 AM, Thomas Chou wrote:
> >> Use common sequence for reserve_uboot, as the result is
> >> the same.
> >>
> >> Signed-off-by: Th
Hi Marek,
On 10/27/2015 05:07 PM, Marek Vasut wrote:
On Tuesday, October 27, 2015 at 04:24:10 AM, Thomas Chou wrote:
Use common sequence for reserve_uboot, as the result is
the same.
Signed-off-by: Thomas Chou
Shouldn't we just implement relocation properly ?
This patch is not quite relat
Ok renaming it worked and I could extract the petalinux bsp. Thanks for the
hint.
The dts I found is very similar to the one we use successfully in the mainline
Linux Kernel. There SPI + SPI Flash are working.
However, I think (please correct me if I am wrong) the petalinux u-boot config
does n
Hi Linus,
On 27 October 2015 at 11:49, Linus Walleij wrote:
> On Wed, Oct 21, 2015 at 11:54 AM, Ryan Harkin wrote:
>
>> Juno has 1 flash part with 259 sectors. The first 255 sectors are
>> 0x4 (256kb) and are followed by 4 sectors of 0x1 (64KB).
>>
>> FVP models simulate a 64MB NOR flas
On 27 October 2015 at 11:36, Linus Walleij wrote:
> On Wed, Oct 21, 2015 at 11:54 AM, Ryan Harkin wrote:
>
>> This patch allows vexpress64 targets to be compiled when
>> CONFIG_SYS_FLASH_CFI is enabled.
>
> I can't see what this has to do with enabling CFI?
The errors happen when I enable CFI on
This driver allows I/O operations on the Samsung S2MPS11 PMIC,
which provides lots of LDO/BUCK outputs.
To enable it, update defconfig with:
- CONFIG_PMIC_S2MPS11
and additional, if were not defined:
- CONFIG_CMD_PMIC
- CONFIG_ERRNO_STR
The binding info: doc/device-tree-bindings/pmic/s2mps11.txt
This commit adds driver for Exynos54xx ADC subsystem.
The driver is implemented using driver model, amd provides
ADC uclass's methods for ADC single channel operations:
- adc_start_channel()
- adc_channel_data()
- adc_stop()
The basic parameters of ADC conversion, are:
- sample rate: 600KSPS
- ou
1 - 100 of 154 matches
Mail list logo