On Wed, Jun 14, 2017 at 3:27 PM, Álvaro Fernández Rojas
wrote:
> This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c
> Instead of supporting both HW revisions of the controller in a single build,
> support has been split by the selected config to save space.
>
> Signed-off-by: Á
On Thu, Jun 15, 2017 at 11:28 AM, Simon Glass wrote:
> As a demonstration of how to use SCSI with driver model, move link over
> to use this. This patch needs more work, but illustrates the concept.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Update link64 and panther also
> - Dro
On Thu, Jun 15, 2017 at 11:28 AM, Simon Glass wrote:
> Some AHCI drivers use SCSI under the hood. Rather than making the AHCI
> driver be in the SCSI uclass it makes sense to have the AHCI device create
> a SCSI device as a child. That way we can handle any AHCI-specific
> operations rather than t
On 2017/6/13 17:11, Marek Vasut wrote:
On 06/12/2017 11:19 AM, Meng Dongyang wrote:
Use fixed regulator to control the voltage of vbus and turn off
vbus when usb stop.
Signed-off-by: Meng Dongyang
---
Changes in v5:
- Propagate return value and print error message when failed
Changes in v4
The SCSI uclass currently has no operations. It just uses the global SCSI
functions. Fix this by adding operations to the only two drivers that use
the uclass, and replacing the global functions with those defined locally
in the SCSI code.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Ch
Change this function to return an error number instead of true/false.
This allows us to return a proper error number.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/ata/ahci.c | 6 +++---
drivers/scsi/scsi.c | 8
2 files changed, 7 insertions(+), 7
Add operations for SCSI. These are not yet implemented, but we have the
struct.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
include/scsi.h | 20
1 file changed, 20 insertions(+)
diff --git a/include/scsi.h b/include/scsi.h
index cd1b240855..d
With driver model we cannot have static data or assume that there is only
one device of each time. Adjust the code so that 'probe_ent' is not needed
with driver model. Add a new ahci_init_dm() function which can init AHCI
for driver model without re-allocating the uclass data. Move over the only
ex
Some AHCI drivers use SCSI under the hood. Rather than making the AHCI
driver be in the SCSI uclass it makes sense to have the AHCI device create
a SCSI device as a child. That way we can handle any AHCI-specific
operations rather than trying to pretend tha the device is just SCSI.
To handle this
With driver model we need each device to have its own state. As a step
towards this, restrict use of the global 'probe_ent' to just a few places
in the file. This will allow us to add driver-model functions which can
pass the correct data around.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
This function should not be used with driver model. Update the code to
reflect this.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/scsi/scsi.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
The 'mode' parameter is actually a flag to determine whether to display
a list of devices found during the scan. Rename it to reflect this, add a
function comment and adjust callers to use a boolean.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
arch/arm/cpu/armv7/l
With driver model we need to define implementations of exec() and
bus_reset() separately for each SCSI driver. As a first step, create a
local version of each function in the AHCI driver and call each from its
global version.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: N
This array relates to the AHCI controller so should be exist out on its
own in the file. Move it into the structure. Adjust functions that need
access to this to take the structure as a parameter.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/ata/ahci.c | 50
With driver model these functions need a device pointer. Add one even
when CONFIG_DM_SCSI is not defined. This avoids having ugly conditional
function prototypes, When CONFIG_DM_SCSI is not defined we can just ignore
the pointer.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v
This code is duplicated. Create a ahci_start_ports() function to handle
this and call it from both places.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/ata/ahci.c | 45 ++---
1 file changed, 22 insertions(+), 23 delet
As a demonstration of how to use SCSI with driver model, move link over
to use this. This patch needs more work, but illustrates the concept.
Signed-off-by: Simon Glass
---
Changes in v2:
- Update link64 and panther also
- Drop the PCI_DEVICE declarations
- Drop RFC tag
arch/x86/cpu/ivybridge/
These are very confusing without some sort of indentation. At some point
we will be able to remove them, but for now, indent them.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/scsi/scsi.c | 26 +-
1 file changed, 13 insertions(+), 13
We should not be using typedefs in U-Boot and 'ccb' is a pretty short
name. It is also used with variables. Drop the typedef and use 'struct'
instead.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
common/usb_storage.c| 44 ++--
This name should be lower case. Also the _block suffix is superfluous.
Rename it.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/usb/emul/sandbox_flash.c | 2 +-
include/scsi.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -
Split out the code that scans a single SCSI bus into a separate function.
This will allow it to be used from driver model.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/scsi/scsi.c | 35 +++
include/scsi.h | 8
At present the two driver-model SCSI drivers use device platform data to
store information that relates to the uclass. It is better to use uclass
platform data in this situation. Update the code to do this.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
drivers/ata/a
Two AHCI drivers use SCSI with CONFIG_DM_SCSI. The SCSI uclass calls
scsi_low_level_init() which is implemented by ahci.c. If
CONFIG_SCSI_AHCI_PLAT is defined it does one thing and if it is not
it does something else.
We don't need to call through scsi_low_level_init() to get the init
completed. I
This is not a very useful name since once it is probed it still hangs
around. With driver model we will use uclass data for this, so rename the
struct.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
board/highbank/ahci.c| 2 +-
drivers/ata/ahci.c | 16
Put the driver-model declarations first since we are migrating to that.
Also drop scsi_init() when driver model is used.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
include/scsi.h | 34 ++
1 file changed, 14 insertions(+), 20 deleti
At present we have the SCSI drivers in the drivers/block and common/
directories. It is better to split them out into their own place. Use
drivers/scsi which is what Linux does.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
common/Makefile|
At present we have the SATA and PATA drivers mixed up in the drivers/block
directory. It is better to split them out into their own place. Use
drivers/ata which is what Linux does.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
arch/powerpc/cpu/mpc85xx/cpu_init.c |
At present CONFIG_CMD_SATA enables the 'sata' command which also brings
in SATA support. Some boards may wish to enable SATA without the command.
Add a separate CONFIG to permit this.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
api/api_storage.c
This converts the following to Kconfig:
CONFIG_CMD_SATA
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
arch/Kconfig | 1 +
arch/arm/cpu/armv7/mx6/Kconfig | 4 ++
arch/arm/mach-mvebu/Kconfig
This function is only defined by one driver and is empty. Move it into
the SCSI implementation itself. We could remove it, but it should be
useful for debugging.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
common/scsi.c| 5 +
drivers/block/ahci
This driver is for a PowerPC board that will likely be removed soon.
Rather than converting it to driver model, drop it.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2: None
README | 5 -
board/mpl/pip405/README | 5 +-
common/scsi.c
This converts the following to Kconfig:
CONFIG_SCSI
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v2:
- Move the "imply SCSI" before the "help" message
- Change 'enabled' to 'enables' in config SCSI
README | 1 -
arch/Kconfig
Rsync all defconfig files using moveconfig.py
Signed-off-by: Simon Glass
---
Changes in v2: None
configs/Sinovoip_BPI_M2_Plus_defconfig | 1 -
configs/UCP1020_SPIFLASH_defconfig | 2 +-
configs/UCP1020_defconfig| 2 +-
configs/adp-ae3xx_defcon
At present U-Boot has a SCSI uclass but it does not have any operations.
The global scsi_exec() function is still used to execute SCSI commands.
This series tidies this up with the following changes:
- Move CONFIG_SCSI and CONFIG_CMD_SATA to use Kconfig
- Move SCSI and SATA code into separate driv
Tested on ls1046ardb with automatically boot Ubuntu from SD card or
USB disk, if it fails to detect external storage disk, fall back to
qspi boot.
Signed-off-by: Shengzhou Liu
Signed-off-by: Gong Qianyu
---
v2:
- No change.
configs/ls1046ardb_qspi_defconfig | 1 +
configs/ls1046ardb_sdcard
Move the macro to defconfig to take effect globally.
Signed-off-by: Gong Qianyu
---
v2:
- Reordered the macro.
configs/ls1046aqds_SECURE_BOOT_defconfig| 1 +
configs/ls1046aqds_defconfig| 1 +
configs/ls1046aqds_lpuart_defconfig | 1 +
configs/ls1046aqds
Hi Wadim,
On 06/13/2017 07:20 PM, Wadim Egorov wrote:
Sometimes it's helpful to know the reset reason caused in the SoC.
Add reset reason detection for the RK3288 SoC.
This will set an environemt variable which represents the reset reason.
Signed-off-by: Wadim Egorov
---
arch/arm/mach-rockc
> On Jun 14, 2017, at 18:08, Alison Wang wrote:
>
> Hi, York,
>
>>> On 05/26/2017 01:01 AM, Alison Wang wrote:
>>> This patch includes common config_distro_defaults.h and
>>> config_distro_bootcmd.h for u-boot enviroments to support distro boot
>>> which automatically scan boot.scr from storage
Hi, York,
> On 05/26/2017 01:01 AM, Alison Wang wrote:
> > This patch includes common config_distro_defaults.h and
> > config_distro_bootcmd.h for u-boot enviroments to support distro boot
> > which automatically scan boot.scr from storage devices(e.g.
> > SD/USB/SATA/SCSI disk) and execute autobo
On 2017-06-14, Kever Yang wrote:
> Enable mmc_dw_rockchip driver, disable CONFIG_SPL_OF_PLATDATA
> first for some dependence patches still not merged.
>
> Signed-off-by: Kever Yang
Tested v2017.07-rc1 with this patch series booting off of microSD on a
firefly-rk3399.
Tested-by: Vagrant Cascadian
Signed-off-by: Sam Protsenko
---
include/configs/ti_omap5_common.h | 60 ++--
include/environment/ti/boot.h | 83 +++
2 files changed, 86 insertions(+), 57 deletions(-)
create mode 100644 include/environment/ti/boot.h
diff --git a/
Hi Stephen,
On 14 June 2017 at 10:48, Stephen Warren wrote:
> On 06/14/2017 10:32 AM, Stephen Warren wrote:
>>
>> On 06/14/2017 05:30 AM, Simon Glass wrote:
>> ...
>>>
>>> At this point I'm thinking of applying the patches except for the one
>>> that actually enables livetree. Once we figure out
On 06/14/2017 10:32 AM, Stephen Warren wrote:
On 06/14/2017 05:30 AM, Simon Glass wrote:
...
At this point I'm thinking of applying the patches except for the one
that actually enables livetree. Once we figure out what is happening
with jetson-tk1, or you can confirm that it works on beaver, we
On 06/14/2017 05:30 AM, Simon Glass wrote:
...
At this point I'm thinking of applying the patches except for the one
that actually enables livetree. Once we figure out what is happening
with jetson-tk1, or you can confirm that it works on beaver, we can
look at the final patch.
Beaver PCIe work
Thanks, Simon. I'll take it in to u-boot-tegra/master for the next PR.
> -Original Message-
> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass
> Sent: Wednesday, June 14, 2017 4:32 AM
> To: Peter Chubb
> Cc: U-Boot Mailing List ; Tom Warren
> ; Stephen Warren ;
> Ja
From: Jagan Teki
NanoPi NEO2 is designed and developed by FriendlyElec
using the Allwinner 64-bit H5 SOC.
NanoPi Neo2 key features
- Allwinner H5, Quad-core 64-bit Cortex-A53
- 512MB DDR3 RAM
- microSD slot
- 10/100/1000M Ethernet
- Serial Debug Port
- 5V 2A DC MicroUSB power-supply
Signed-off-
在 2017-06-13 18:10,Jagan Teki 写道:
From: Jagan Teki
NanoPi M1 Plus is designed and developed by FriendlyElec
using the Allwinner 64-bit H5 SOC.
Copy'n'paste error?
NanoPi Neo2 key features
- Allwinner H5, Quad-core 64-bit Cortex-A53
- 512MB DDR3 RAM
- microSD slot
- 10/100/1000M Ethernet
-
On Wed, Jun 14, 2017 at 09:40:18AM +0200, Christophe LEROY wrote:
>
>
> Le 13/06/2017 à 09:37, Heiko Schocher a écrit :
> >Hello Christophe,
> >
> >Am 13.06.2017 um 07:40 schrieb Christophe LEROY:
> >>
> >>
> >>Le 13/06/2017 à 07:26, Christophe LEROY a écrit :
> >>>There was for long time no acti
Hello Christophe,
Am 14.06.2017 um 09:40 schrieb Christophe LEROY:
Le 13/06/2017 à 09:37, Heiko Schocher a écrit :
Hello Christophe,
Am 13.06.2017 um 07:40 schrieb Christophe LEROY:
Le 13/06/2017 à 07:26, Christophe LEROY a écrit :
There was for long time no activity in the 8xx area.
We
On Tue, Jun 13, 2017 at 06:15:58PM +0300, Sam Protsenko wrote:
> To prevent possible double inclusions in future.
>
> Signed-off-by: Sam Protsenko
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: Digital signature
___
U-Boot mailing list
U
On Wed, Jun 14, 2017 at 02:58:31PM +0200, Manfred Schlaegl wrote:
> On 2017-06-13 00:42, Tom Rini wrote:
> > On Wed, May 10, 2017 at 03:41:32PM +0200, Manfred Schlaegl wrote:
> >
> >> Using u-boot-2017.05 on i.MX6UL we ran into following problem:
> >> Initially U-Boot could be started normally.
> >
On 2017-06-13 00:42, Tom Rini wrote:
> On Wed, May 10, 2017 at 03:41:32PM +0200, Manfred Schlaegl wrote:
>
>> Using u-boot-2017.05 on i.MX6UL we ran into following problem:
>> Initially U-Boot could be started normally.
>> If we added one random command in configuration, the newly generated
>> imag
Hello folks,
Testing with current compiler exposed an error:
arch/x86/lib/built-in.o: In function `__wrap___udivdi3':
/home/otavio/src/u-boot/arch/x86/lib/gcc.c:25: undefined reference to
`__normal___udivdi3'
Is it a known issue?
--
Otavio Salvador O.S. Systems
http
On Tuesday 13 June 2017 07:33 PM, Marek Vasut wrote:
> On 06/13/2017 02:10 PM, Vignesh R wrote:
>> From: Mugunthan V N
>>
>> Add a TI DWC3 peripheral driver with driver model support and the
>> driver will be bound by the DWC3 wrapper driver based on the
>> dr_mode device tree entry.
>>
>> Signe
On Tuesday 13 June 2017 07:36 PM, Marek Vasut wrote:
> On 06/13/2017 02:10 PM, Vignesh R wrote:
>> Provide a way to read MAC address for usb_ether device from board
>> function. Board files can override board_set_usbnet_devaddr() to
>> populate MAC address to be used by usb_ether as device addres
Simon,
On 06/13/2017 07:50 AM, Simon Glass wrote:
Hi Pawel,
On 9 June 2017 at 07:03, Paweł Jarosz wrote:
W dniu 09.06.2017 o 14:27, Simon Glass pisze:
Hi Pawel,
On 7 June 2017 at 09:22, Paweł Jarosz wrote:
Hi Simon
W dniu 06.06.2017 o 23:10, Simon Glass pisze:
Hi Pawel,
On 6 June 2
Hi,
On 7 June 2017 at 22:03, wrote:
>> "Simon" == Simon Glass writes:
>
> Simon> The driver currently does not reset bit 5 of the hostctl
> Simon> register even if the MMC stack requests it. Then means that
> Simon> once a bus width of 8 is selected it is not possible to change
> Simon> it
Hi Stephen,
On 12 June 2017 at 17:15, Simon Glass wrote:
> Hi Stephen,
>
> On 12 June 2017 at 15:39, Stephen Warren wrote:
>> On 06/12/2017 03:15 PM, Simon Glass wrote:
>>>
>>> [trimming the cc list a bit]
>>>
>>> Hi Stephen,
>>>
>>> On 12 June 2017 at 15:02, Stephen Warren wrote:
On
remove support for 5xxx and 512x powerpc, as there is no interest
in it anymore.
travis builds are clean:
https://travis-ci.org/hsdenx/u-boot-test/builds/242380936
Heiko Schocher (4):
powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x
powerpc, 82xx: remove some missed mpc82xx remain
Le 13/06/2017 à 09:37, Heiko Schocher a écrit :
Hello Christophe,
Am 13.06.2017 um 07:40 schrieb Christophe LEROY:
Le 13/06/2017 à 07:26, Christophe LEROY a écrit :
There was for long time no activity in the 8xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody
On Tuesday 13 June 2017 20:36:35, York Sun wrote:
> On 06/01/2017 04:26 AM, Alexander Stein wrote:
> > Pet the watchdog once upon each command call (qspi_xfer) and during
> > each loop iteration in several commands.
> >
> > This fixes a watchdog reset especially during erase command.
>
> Funny yo
Le 13/06/2017 à 07:26, Christophe LEROY a écrit :
There was for long time no activity in the 8xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 8xx,
so remove it (with a heavy heart, knowing that I remove
here the root of U-Boot).
Signed-
+Philippe
Hi Pawel,
On 12 June 2017 at 17:50, Simon Glass wrote:
> Hi Pawel,
>
> On 9 June 2017 at 06:31, Paweł Jarosz wrote:
>>
>>
>> W dniu 09.06.2017 o 13:46, Heiko Stuebner pisze:
>>
>>> Am Mittwoch, 7. Juni 2017, 17:37:13 CEST schrieb Paweł Jarosz:
Hi Simon,
W dniu
On Tuesday 13 June 2017 07:35 PM, Marek Vasut wrote:
>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>> index e065c5aeb38d..18bbd5318e48 100644
>> --- a/drivers/usb/dwc3/gadget.c
>> +++ b/drivers/usb/dwc3/gadget.c
>> @@ -2610,7 +2610,7 @@ int dwc3_gadget_init(struct dwc3 *d
Hi Bin,
On 12 June 2017 at 21:15, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass wrote:
>> As a demonstration of how to use SCSI with driver model, move link over
>> to use this. This patch needs more work, but illustrates the concept.
>>
>> Signed-off-by: Simon Glas
Hi Bin,
On 12 June 2017 at 21:14, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass wrote:
>> Some AHCI drivers use SCSI under the hood. Rather than making the AHCI
>> driver be in the SCSI uclass it makes sense to have the AHCI device create
>> a SCSI device as a child
Modify format type for debug message.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk_mipi.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/rockchip/rk_mipi.c b/drivers/video/rockchip/rk_mipi.c
index af7656e..e0bfecf 100644
--- a/drivers/video/r
BCM63xx HSSPI controller has the same issue as BCM63xx SPI controller: it
doesn't allow keeping CS active between transfers.
However, this controller allows changing CS polarities, which is used in the
linux upstream driver to manage CS as desired.
v3: Switch to CONFIG_BCM63XX_HSSPI and rebase on
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
Reviewed-by: Daniel Schwierzeck
---
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6328.dtsi | 24
1 file changed, 24 insertions(+)
diff
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
---
v4: no changes
v3: rename BCM6338 SPI driver to BCM6348
v2: add spi alias
arch/mips/dts/brcm,bcm6348.dtsi | 17 +
1 file changed, 17 insertio
It's a Winbond (w25x32) 4 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
---
v4: switch to CONFIG_BCM63XX_SPI
v3: rename BCM6338 SPI driver to BCM6348
v2: remove spi alias
arch/mips/dts/sagem,f...@st1704.dts | 12
configs/sagem_f@st1704_
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
Reviewed-by: Daniel Schwierzeck
---
v3: Switch to CONFIG_BCM63XX_HSSPI and rebase on top of SPI v4.
v2: Introduce changes suggested by Simon Glass:
- S
It's a Macronix (mx25l12805d) 16 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
Reviewed-by: Daniel Schwierzeck
---
v3: switch to CONFIG_BCM63XX_HSSPI
v2: no changes
arch/mips/dts/comtrend,ar-5387un.dts| 12
configs/comtrend_ar5387un_ram_defcon
For some SPI controllers it's not possible to keep the CS active between
transfers and they are limited to a known number of bytes.
This splits spi_flash reads into different iterations in order to respect
the SPI controller limits.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
This driver manages the high speed SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
Reviewed-by: Daniel Schwierzeck
---
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm63268.dtsi | 21 +
1 file changed, 21 insertions(
It's a Spansion (s25fl064a) 8 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
---
v4: switch to CONFIG_BCM63XX_SPI
v3: no changes
v2: remove spi alias
arch/mips/dts/netgear,cg3100d.dts | 12
configs/netgear_cg3100d_ram_defconfig | 8
Command bytes are part of the written bytes and they should be taken into
account when sending a spi transfer.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
Reviewed-by: Daniel Schwierzeck
---
v4: no changes
v3: Fix bug introduced in v2: sizeof(cmd) vs len
v2: Introduce chan
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
---
v4: no changes
v3: no changes
v2: add spi alias
arch/mips/dts/brcm,bcm3380.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/m
This driver manages the low speed SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
---
v4: no changes
v3: no changes
v2: add spi alias
arch/mips/dts/brcm,bcm63268.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --g
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
---
v4: no changes
v3: rename BCM6338 SPI driver to BCM6348
v2: add spi alias
arch/mips/dts/brcm,bcm6338.dtsi | 17 +
1 file changed, 17 insertio
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
---
v4: no changes
v3: no changes
v2: add spi alias
arch/mips/dts/brcm,bcm6358.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/m
BCM63xx SPI controller is a bit tricky since it doesn't allow keeping CS
active between transfers, so I had to modify the spi_flash driver in order
to allow limiting reads.
v4: Introduce changes suggested by Jagan Teki:
- Add data for each HW controller instead of having two separate configs.
v3:
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c
Instead of supporting both HW revisions of the controller in a single build,
support has been split by the selected config to save space.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
Reviewed-by: Daniel Schw
Hi Marek,
On Mon, 2017-06-05 at 14:06 +0200, Marek Vasut wrote:
> On 06/05/2017 02:03 PM, Alexey Brodkin wrote:
> >
> > Hi Marek,
>
> Hi,
>
> >
> > On Mon, 2017-06-05 at 13:42 +0200, Marek Vasut wrote:
> > >
> > > On 06/05/2017 09:19 AM, Alexey Brodkin wrote:
> > > >
> > > >
> > > > We used
Some address relevant varibable is defined originally as u64. To
compatible with arm32, this patch change them to "void __iomem *" type.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk_mipi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/video/roc
On Tuesday 13 June 2017 07:31 PM, Marek Vasut wrote:
> On 06/13/2017 02:10 PM, Vignesh R wrote:
>> From: Mugunthan V N
>>
>> Add support to get maximum speed from dt so that usb drivers
>> makes use of it for DT parsing.
>>
>> Signed-off-by: Mugunthan V N
>> Signed-off-by: Vignesh R
>> Reviewe
On Tuesday 13 June 2017 07:28 PM, Marek Vasut wrote:
> On 06/13/2017 02:09 PM, Vignesh R wrote:
>> From: Mugunthan V N
>>
>> devm_zalloc() is already defined in dm/device.h header, so
>> devm_zalloc can be removed from linux_compact.h beader file.
>
> Shouldn't it be left in linux_compat.h inst
On Tuesday 13 June 2017 06:33 PM, Lokesh Vutla wrote:
>
>
> On Tuesday 13 June 2017 05:40 PM, Vignesh R wrote:
>> Enable USB nodes required to support RNDIS boot in SPL.
>>
>> Signed-off-by: Vignesh R
>> ---
>> arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 20
>> 1 file change
> On 14 Jun 2017, at 10:14, Kever Yang wrote:
>
> The SPL_MAX_SIZE is the internal memory size minux the space
> used by bootrom.
>
> Signed-off-by: Kever Yang
Reviewed-by: Philipp Tomsich
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists
Enable mmc_dw_rockchip driver, disable CONFIG_SPL_OF_PLATDATA
first for some dependence patches still not merged.
Signed-off-by: Kever Yang
---
configs/firefly-rk3399_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly
Enable sdmmc device and add the spl boot device sequence.
Signed-off-by: Kever Yang
---
arch/arm/dts/rk3399-firefly.dts | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/rk3399-firefly.dts b/arch/arm/dts/rk3399-firefly.dts
index edf48fb..91d3193 100644
--- a/arch/arm/dts/r
The origin patch get rockchip dwmmc by name 'ciu', which lead
to the SPL not able to remove 'clock-names' node in dts.
I'm not saying this is not correct, but I would prefer to handle
this in dts or clock driver to save memory for SPL.
For example the rk3288 SPL size has out of memory if not enable
Since the 'clock-freq-min-max' is deprecated, we use max-frequency for
all rockchip SoC dwmmc controller.
Signed-off-by: Kever Yang
---
drivers/mmc/rockchip_dw_mmc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc
Since the 'clock-freq-min-max' is deprecated, we use max-frequency.
Signed-off-by: Kever Yang
---
arch/arm/dts/rk3288.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi
index 64aa07d..da51878 100644
--- a/arch/arm
Since the 'clock-freq-min-max' is deprecated, we use max-frequency.
Signed-off-by: Kever Yang
---
arch/arm/dts/rk3328.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/rk3328.dtsi b/arch/arm/dts/rk3328.dtsi
index dd9cb1c..215396f 100644
--- a/arch/arm
Since the 'clock-freq-min-max' is deprecated, we use max-frequency.
Signed-off-by: Kever Yang
---
arch/arm/dts/rk3036.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/rk3036.dtsi b/arch/arm/dts/rk3036.dtsi
index 4f44217..ca1d5ac 100644
--- a/arch/arm/dts/rk3
Update rockchip soc mmc dts nodes to use max-frequency instead of
clock-min-max.
update mmc driver to use max-frequency when OF_PLATDATA enabled.
Kever Yang (7):
rockchip: rk3036: dtsi use max-frequency for mmc node
rockchip: rk3288: dtsi use max-frequency for mmc node
rockchip: rk3328: d
On 14 Jun 2017, at 08:54, Kever Yang wrote:
>
> The maximum spl_size for rk3399 is the internal memory size minus
> the size used in bootrom (which usually can get from SPL_TEXT_BASE).
>
> Signed-off-by: Kever Yang
Reviewed-by: Philipp Tomsich
___
The SPL_MAX_SIZE is the internal memory size minux the space
used by bootrom.
Signed-off-by: Kever Yang
---
include/configs/rk3399_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 7a8a442..44dad5
Hi Marek
On 06/13/2017 10:45 AM, Marek Vasut wrote:
> On 06/12/2017 09:24 AM, Patrice CHOTARD wrote:
>> Hi Tom
>>
>> I think this series is mature enough to be merged.
>
> I think there's still some discussion with Simon going on ?
> Also, please don't top-post.
Yes, i saw Simon's request after
100 matches
Mail list logo