On 08/13/2018 03:39 PM, Tom Rini wrote:
[...]
Next step is to upstream the DT
changes to Linux kernel, then sync the changes to U-Boot to satisfy
this obsession - using exactly the same DT as Linux.
>>>
>>> This is not gonna happen.
>>>
>>> Sorry, you're really just wasting my time
On Mon, Aug 13, 2018 at 5:52 PM Tom Rini wrote:
> On Mon, Aug 13, 2018 at 08:20:03AM +0100, Peter Robinson wrote:
>
> > On Sun, Aug 12, 2018 at 9:37 PM, Ramon Fried
> wrote:
> > > From: Ramon Fried
> > >
> > > Instead of relaying on user to configure MEMORY_BANKS_MAX
> > > correctly, use VLA
Adds configuration option OPTEE_TA_AVB and a header file describing the
interface to the AVB trusted application provided by OP-TEE.
Signed-off-by: Jens Wiklander
---
MAINTAINERS| 1 +
drivers/tee/optee/Kconfig | 16 +
include/tee.h | 7 ++
Adds a OP-TEE driver.
* Targets ARM and ARM64
* Supports using any u-boot memory as shared memory
* Probes OP-TEE version using SMCs
* Uses OPTEE message protocol version 2 to communicate with secure world
Signed-off-by: Jens Wiklander
---
drivers/tee/Kconfig | 10 +
Adds support in optee supplicant to route signed (MACed) RPMB frames
from OP-TEE Secure OS to MMC and vice versa to manipulate the RPMB
partition.
Signed-off-by: Jens Wiklander
---
drivers/tee/optee/Makefile| 1 +
drivers/tee/optee/core.c | 8 ++
Sync with 14e21cb8f811 ("arm64: dt: hikey: Add optee node"
from Linux kernel.
Signed-off-by: Jens Wiklander
---
arch/arm/dts/hi6220-hikey.dts | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/hi6220-hikey.dts b/arch/arm/dts/hi6220-hikey.dts
index 818525197508..24f09257af00
With CONFIG_OPTEE_TA_AVB use the trusted application AVB provided by
OP-TEE to manage rollback indexes and device lock status.
Signed-off-by: Jens Wiklander
---
common/avb_verify.c | 132 ++-
include/avb_verify.h | 4 ++
2 files changed, 135
Adds mmc_rpmb_route_frames() to route RPMB data frames from/to an
external entity.
Signed-off-by: Jens Wiklander
---
drivers/mmc/rpmb.c | 160 +
include/mmc.h | 2 +
2 files changed, 162 insertions(+)
diff --git a/drivers/mmc/rpmb.c
Sync with c8bfafb15944 ("dt/bindings: add bindings for optee")
from Linux kernel.
Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE
implementation.
Signed-off-by: Jens Wiklander
---
.../firmware/linaro,optee-tz.txt | 31 +++
1 file changed,
Prior to this patch was do_avb_write_rb() reading supplied rb_idx as a
hexadecimal number while do_avb_read_rb() printed the read out rb_idx as
decimal number. For consistency change do_avb_read_rb() to print rb_idx
as a hexadeciaml number too.
Signed-off-by: Jens Wiklander
---
cmd/avb.c | 2 +-
Adds a uclass to interface with a TEE (Trusted Execution Environment).
A TEE driver is a driver that interfaces with a trusted OS running in
some secure environment, for example, TrustZone on ARM cpus, or a
separate secure co-processor etc.
The TEE subsystem can serve a TEE driver for a Global
Just as /chosen may contain devices /firmware may contain devices, scan
for devices under /firmware too.
Signed-off-by: Jens Wiklander
---
drivers/core/root.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/core/root.c b/drivers/core/root.c
index
Hi,
This adds support for storing AVB rollback indexes in the RPMB partition.
The RPMB partition (content and key) is managed by OP-TEE
(https://www.op-tee.org/) which is a secure OS leveraging ARM TrustZone.
The Linux kernel can already support OP-TEE with reading and updating
rollback indexes
From: Jon Nettleton
This patch accomplishes 2 things to make the kwboot procedure
on the a38x more reliable.
1) We fill the tty with 1K of the magic bootparam. This helps
with the timing of where the microcode picks up in the read of
the line to ensure we actually catch the break to go into
Stefan is listed as a kirkwood maintainer since commit f822d8578ba3
(MAINTAINERS: Update Marvell custodianship).
Signed-off-by: Baruch Siach
---
doc/git-mailrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/git-mailrc b/doc/git-mailrc
index bf8f2a5b69a9..5d835d4de5bb
On Mon, Aug 13, 2018 at 08:20:03AM +0100, Peter Robinson wrote:
> On Sun, Aug 12, 2018 at 9:37 PM, Ramon Fried wrote:
> > From: Ramon Fried
> >
> > Instead of relaying on user to configure MEMORY_BANKS_MAX
> > correctly, use VLA (variable length array) to accommodate the
> > required banks.
>
On Fri, Aug 10, 2018 at 5:14 PM, Igor Opaniuk wrote:
> Sam,
>
> Could you please double-check this patch and confirm that your tag can
> be still applied?
>
Sure.
Reviewed-by: Sam Protsenko
> Thanks!
>
> On 10 August 2018 at 17:06, Andrew F. Davis wrote:
>> On 08/10/2018 08:59 AM, Igor
On 08/13/2018 03:32 PM, Simon Goldschmidt wrote:
>
>
> Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 13.
> Aug. 2018, 15:29:
>
> On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> > To boot from fpga OnChip RAM, some changes are required in SPL
> > to ensure the code is linked
On 08/13/2018 03:33 PM, Simon Goldschmidt wrote:
>
>
> Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 13.
> Aug. 2018, 15:29:
>
> On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> > gd->env_addr points to pre-relocation address even after
> > relocation. This leads to an abort
Tom Rini schrieb am Mo., 13. Aug. 2018, 15:41:
> On Mon, Aug 13, 2018 at 03:36:35PM +0200, Simon Goldschmidt wrote:
> > Tom Rini schrieb am Mo., 13. Aug. 2018, 15:33:
> >
> > > On Mon, Aug 13, 2018 at 03:29:30PM +0200, Marek Vasut wrote:
> > > > On 08/13/2018 03:28 PM, Tom Rini wrote:
> > > > >
On 08/13/2018 03:41 PM, Tom Rini wrote:
> On Mon, Aug 13, 2018 at 03:36:35PM +0200, Simon Goldschmidt wrote:
>> Tom Rini schrieb am Mo., 13. Aug. 2018, 15:33:
>>
>>> On Mon, Aug 13, 2018 at 03:29:30PM +0200, Marek Vasut wrote:
On 08/13/2018 03:28 PM, Tom Rini wrote:
> On Mon, Aug 13,
On 08/13/2018 04:24 AM, Bin Meng wrote:
> Hi Marek,
>
> On Fri, Aug 10, 2018 at 8:38 PM, Marek Vasut wrote:
>> On 08/10/2018 02:01 PM, Tom Rini wrote:
>>> On Wed, Aug 08, 2018 at 09:37:25PM +0200, Marek Vasut wrote:
On 08/08/2018 05:32 PM, Bin Meng wrote:
> Hi Marek,
>
> On Wed,
On 08/13/2018 04:07 AM, Bin Meng wrote:
[...]
> Sorry this is terribly wrong. Imagine someone
> writes another OS, and all he has is the device tree spec. He follows
> the spec and writes some codes to parse a valid DT, and it's done. How
> his OS makes use of the DT is his
On Mon, Aug 13, 2018 at 1:40 PM Adam Ford wrote:
>
> On Sat, Aug 11, 2018 at 3:09 PM Adam Ford wrote:
> >
> >
> >
> > On Sat, Aug 11, 2018, 1:24 PM Jagan Teki wrote:
> >>
> >> On Sat, Aug 11, 2018 at 6:12 PM, Adam Ford wrote:
> >> > On Fri, Aug 10, 2018 at 2:58 PM Adam Ford wrote:
> >> >>
>
On Mon, Aug 13, 2018 at 03:36:35PM +0200, Simon Goldschmidt wrote:
> Tom Rini schrieb am Mo., 13. Aug. 2018, 15:33:
>
> > On Mon, Aug 13, 2018 at 03:29:30PM +0200, Marek Vasut wrote:
> > > On 08/13/2018 03:28 PM, Tom Rini wrote:
> > > > On Mon, Aug 13, 2018 at 03:25:19PM +0200, Simon Goldschmidt
On Mon, Aug 13, 2018 at 10:07:03AM +0800, Bin Meng wrote:
> Hi Marek,
>
> On Fri, Aug 10, 2018 at 6:32 PM, Marek Vasut wrote:
> > On 08/10/2018 05:42 AM, Bin Meng wrote:
> >> Hi Marek,
> >>
> >> On Thu, Aug 9, 2018 at 6:25 PM, Marek Vasut wrote:
> >>> On 08/09/2018 11:41 AM, Bin Meng wrote:
>
Tom Rini schrieb am Mo., 13. Aug. 2018, 15:33:
> On Mon, Aug 13, 2018 at 03:29:30PM +0200, Marek Vasut wrote:
> > On 08/13/2018 03:28 PM, Tom Rini wrote:
> > > On Mon, Aug 13, 2018 at 03:25:19PM +0200, Simon Goldschmidt wrote:
> > >> On Mon, Aug 13, 2018 at 3:17 PM Tom Rini wrote:
> > >>>
> >
Marek Vasut schrieb am Mo., 13. Aug. 2018, 15:29:
> On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> > Socfpga gen5 SPL has been broken since moving to DM serial with
> > v2018.07. Also, U-Boot console output has been broken since then.
> > This series fixes this and makes some related small
Marek Vasut schrieb am Mo., 13. Aug. 2018, 15:29:
> On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> > gd->env_addr points to pre-relocation address even after
> > relocation. This leads to an abort in env_callback_init
> > when loading the environment.
> >
> > Fix this by enabling
On Mon, Aug 13, 2018 at 03:29:30PM +0200, Marek Vasut wrote:
> On 08/13/2018 03:28 PM, Tom Rini wrote:
> > On Mon, Aug 13, 2018 at 03:25:19PM +0200, Simon Goldschmidt wrote:
> >> On Mon, Aug 13, 2018 at 3:17 PM Tom Rini wrote:
> >>>
> >>> On Mon, Aug 13, 2018 at 09:33:45AM +0200, Simon
Marek Vasut schrieb am Mo., 13. Aug. 2018, 15:29:
> On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> > To boot from fpga OnChip RAM, some changes are required in SPL
> > to ensure the code is linked to the correct address (in contrast
> > to QSPI and MMC boot, FPGA boot executes SPL in place
On 08/13/2018 03:28 PM, Tom Rini wrote:
> On Mon, Aug 13, 2018 at 03:25:19PM +0200, Simon Goldschmidt wrote:
>> On Mon, Aug 13, 2018 at 3:17 PM Tom Rini wrote:
>>>
>>> On Mon, Aug 13, 2018 at 09:33:45AM +0200, Simon Goldschmidt wrote:
>>>
Device trees need to have the serial console device
On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> To boot from fpga OnChip RAM, some changes are required in SPL
> to ensure the code is linked to the correct address (in contrast
> to QSPI and MMC boot, FPGA boot executes SPL in place instead of
> copying it to SRAM) and that fpga OnChip RAM
On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> Socfpga gen5 SPL has been broken since moving to DM serial with
> v2018.07. Also, U-Boot console output has been broken since then.
> This series fixes this and makes some related small improvements.
>
> Changes in v3:
> - moved uart0's
On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> Some of the code for low level system initialization in SPL's
> board_init_f() and U-Boot's arch_early_init_r() is the same,
> so let's combine it into a single function called from both.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> Changes
On 08/13/2018 09:33 AM, Simon Goldschmidt wrote:
> gd->env_addr points to pre-relocation address even after
> relocation. This leads to an abort in env_callback_init
> when loading the environment.
>
> Fix this by enabling CONFIG_SYS_EXTRA_ENV_RELOC.
Doesn't this apply to gen10 too ?
>
On Mon, Aug 13, 2018 at 03:25:19PM +0200, Simon Goldschmidt wrote:
> On Mon, Aug 13, 2018 at 3:17 PM Tom Rini wrote:
> >
> > On Mon, Aug 13, 2018 at 09:33:45AM +0200, Simon Goldschmidt wrote:
> >
> > > Device trees need to have the serial console device available
> > > before relocation and
On Mon, Aug 13, 2018 at 12:46 PM Dr. Philipp Tomsich
wrote:
>
>
> > On 13 Aug 2018, at 11:34, Simon Goldschmidt
> > wrote:
> >
> > %s/parition/partition
>
> Make this a whole sentence to make it easier to read.
Sure I can. I was only following example of other such patches...
Simon
> >
> >
On Mon, Aug 13, 2018 at 3:17 PM Tom Rini wrote:
>
> On Mon, Aug 13, 2018 at 09:33:45AM +0200, Simon Goldschmidt wrote:
>
> > Device trees need to have the serial console device available
> > before relocation and require a stdout-path in chosen at least
> > for SPL to have a console.
> >
> >
On Mon, Aug 13, 2018 at 09:33:45AM +0200, Simon Goldschmidt wrote:
> Device trees need to have the serial console device available
> before relocation and require a stdout-path in chosen at least
> for SPL to have a console.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> Changes in v3:
> -
Hi Lukasz,
On Wed, Jul 25, 2018 at 12:22 AM, Lukasz Majewski wrote:
>
> Hi Sam,
>
> > On Sat, Jun 30, 2018 at 7:20 AM, Simon Glass wrote:
> > > On 29 June 2018 at 11:59, Sam Protsenko
> > > wrote:
> > >> In case when user provides '-' as USB controller index, like this:
> > >>
> > >> =>
On Sat, Aug 11, 2018 at 3:09 PM Adam Ford wrote:
>
>
>
> On Sat, Aug 11, 2018, 1:24 PM Jagan Teki wrote:
>>
>> On Sat, Aug 11, 2018 at 6:12 PM, Adam Ford wrote:
>> > On Fri, Aug 10, 2018 at 2:58 PM Adam Ford wrote:
>> >>
>> >> On Fri, Aug 10, 2018 at 7:42 AM Jagan Teki
>> >> wrote:
>> >> >
Signed-off-by: Philippe Reynes
---
Changelog:
v2:
- patch unchanged
configs/bcm968380gerg_ram_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/bcm968380gerg_ram_defconfig
b/configs/bcm968380gerg_ram_defconfig
index 3354a5e..7c83d43 100644
---
Add pinctrl support for broadcom bcm6838 SoC.
Signed-off-by: Philippe Reynes
---
Changelog:
v2:
- rename property pins-count to brcm,pins-count (feedback Daniel Schwierzeck)
- rename property functions-count to brcm,functions-count (feedback Daniel
Schwierzeck)
- clean dev_err message
Add pinctrl node and related syscon node for broadcom bcm6838 SoC.
Signed-off-by: Philippe Reynes
---
Changelog:
v2:
- rename property pins-count to brcm,pins-count (feedback Daniel Schwierzeck)
- rename property functions-count to brcm,functions-count (feedback Daniel
Schwierzeck)
On 08/12/2018 10:04 PM, Simon Goldschmidt wrote:
> On Sun, Aug 12, 2018 at 12:05 AM Marek Vasut wrote:
>>
>> On 08/11/2018 09:26 PM, Simon Goldschmidt wrote:
>>> On Fri, Aug 10, 2018 at 10:32 PM Marek Vasut wrote:
On 08/10/2018 10:11 PM, Simon Goldschmidt wrote:
> On 10.08.2018
On Mon, Aug 13, 2018 at 4:25 PM, Chen-Yu Tsai wrote:
> On Mon, Aug 13, 2018 at 6:29 PM, Jagan Teki
> wrote:
>> On Wed, Jul 25, 2018 at 5:32 AM, Andre Przywara
>> wrote:
>>> "default" lines in Kconfig are processed in order, the first hit will
>>> stop considering subsequent lines. In the case
Some boards require specific configuration prior to booting the kernel.
For instance, our boards require shutting down the display to avoid
fading transitions before the drivers are reloaded by the kernel. This
could be facilitated by adding an extra hook during the os booting
process.
After this commit usb gadget does not work anymore for me on the Orange Pi
Zero (H2+).
Thanks,
Nuno
commit 92a30692b2b18f45aae6fdaae38d67ed03dd2d11
Author: Jagan Teki
Date: Fri Jul 20 12:34:20 2018 +0530
phy: sun4i-usb: Call phy_passby even for PHY#0
On newer Allwinner SoC, there is
On Thu, Aug 09, 2018 at 07:58:02PM +, York Sun wrote:
> On 08/08/2018 04:55 AM, Kurt Kanzenbach wrote:
> > Hi York,
> >
> > On Tue, Aug 07, 2018 at 09:52:46PM +, York Sun wrote:
> >> On 08/02/2018 01:03 AM, Kurt Kanzenbach wrote:
> >>> From: Darwin Dingel
> >>>
> >>> This is a fix made
On 11/08/2018 14:04, Lukasz Majewski wrote:
Hi Jean-Jacques,
This series implements 2 fixes to be able to use USB Ethernet gadget
with the dwc3 driver.
It also adds new commands to bind/unbind a device to/from a driver and
update the 'dm tree' command to make it easier to use those new
On Fri, Jul 20, 2018 at 3:13 PM, Jagan Teki wrote:
> This is v2 for previous series[1], by excluding sunxi phy changes.
>
> One patch mark it as 'RFC' about "including UCLASS_USB_DEV_GENERIC
> into shutdown caller" so expecting some inputs on the same
>
> [1]
On Mon, Aug 13, 2018 at 6:29 PM, Jagan Teki wrote:
> On Wed, Jul 25, 2018 at 5:32 AM, Andre Przywara
> wrote:
>> "default" lines in Kconfig are processed in order, the first hit will
>> stop considering subsequent lines. In the case of the DRAM_ODT_EN symbol
>> that means that everything
> On 13 Aug 2018, at 11:24, Simon Goldschmidt
> wrote:
>
> spl_common_init() debug-prints "spl_early_init()\n" but it is
> called both from spl_early_init() and spl_init().
>
> Fix this by moving the debug() statement to the calling functions
> which now print their name.
>
> Signed-off-by:
> On 13 Aug 2018, at 11:34, Simon Goldschmidt
> wrote:
>
> %s/parition/partition
Make this a whole sentence to make it easier to read.
>
> Signed-off-by: Simon Goldschmidt
Reviewed-by: Philipp Tomsich
___
U-Boot mailing list
On Sun, Aug 5, 2018 at 12:40 AM, Jagan Teki wrote:
> Update all A83T devicetree dtsi and dtsi files from Linux-v4.18-rc3
> with below commit:
> commit 221cb9fd2ee3042689fe0e6613d0f34eb46a5af6
> Author: Mylène Josserand
> Date: Fri May 4 21:05:44 2018 +0200
>
> ARM: dts: sun8i: Add
On Fri, Aug 10, 2018 at 11:36 AM, Jagan Teki wrote:
> sourcing of sub directiory kconfig files are not in
> proper order, so keep them in ascending order.
>
> Signed-off-by: Jagan Teki
> Reviewed-by: Joe Hershberger
> ---
Since it's a generic change and require for any clk related patches.
On Mon, Aug 13, 2018 at 1:12 PM, Jagan Teki wrote:
> On Thu, Aug 9, 2018 at 6:38 PM, Jagan Teki wrote:
>> Update all R40/V40 devicetree dtsi and dtsi files from Linux-v4.18-rc3
>> with below commit:
>>
>> R40:
>> commit c36fd5a48bd20820855e3e91a89297eeaa31836e
>> Author: Chen-Yu Tsai
>> Date:
On Wed, Jul 25, 2018 at 5:32 AM, Andre Przywara wrote:
> "default" lines in Kconfig are processed in order, the first hit will
> stop considering subsequent lines. In the case of the DRAM_ODT_EN symbol
> that means that everything following the first two lines will never be
> checked:
>
Since I cannot use my work address to send patches from at home,
add an alias for my gmail address.
Signed-off-by: Simon Goldschmidt
---
u-boot-config/aliases | 1 +
1 file changed, 1 insertion(+)
diff --git a/u-boot-config/aliases b/u-boot-config/aliases
index ee1e014..da59298 100644
---
Signed-off-by: Simon Goldschmidt
---
u-boot-config/domain-map | 1 +
1 file changed, 1 insertion(+)
diff --git a/u-boot-config/domain-map b/u-boot-config/domain-map
index f2abba9..74c1538 100644
--- a/u-boot-config/domain-map
+++ b/u-boot-config/domain-map
@@ -262,6 +262,7 @@ parallels.com
%s/parition/partition
Signed-off-by: Simon Goldschmidt
---
common/spl/Kconfig| 2 +-
drivers/i2c/muxes/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 0ad1e049a9..b44b7412fd 100644
--- a/common/spl/Kconfig
spl_common_init() debug-prints "spl_early_init()\n" but it is
called both from spl_early_init() and spl_init().
Fix this by moving the debug() statement to the calling functions
which now print their name.
Signed-off-by: Simon Goldschmidt
---
common/spl/spl.c | 6 --
1 file changed, 4
On Thu, Aug 9, 2018 at 6:38 PM, Jagan Teki wrote:
> Update all R40/V40 devicetree dtsi and dtsi files from Linux-v4.18-rc3
> with below commit:
>
> R40:
> commit c36fd5a48bd20820855e3e91a89297eeaa31836e
> Author: Chen-Yu Tsai
> Date: Wed May 2 00:12:25 2018 +0800
>
> ARM: dts: sun8i: r40:
gd->env_addr points to pre-relocation address even after
relocation. This leads to an abort in env_callback_init
when loading the environment.
Fix this by enabling CONFIG_SYS_EXTRA_ENV_RELOC.
Signed-off-by: Simon Goldschmidt
---
Changes in v3: this patch is new in v3
Changes in v2: None
Device trees need to have the serial console device available
before relocation and require a stdout-path in chosen at least
for SPL to have a console.
Signed-off-by: Simon Goldschmidt
---
Changes in v3:
- moved uart0's "u-boot,dm-pre-reloc;" from socfpga.dtsi to board
specific dts files
To boot from fpga OnChip RAM, some changes are required in SPL
to ensure the code is linked to the correct address (in contrast
to QSPI and MMC boot, FPGA boot executes SPL in place instead of
copying it to SRAM) and that fpga OnChip RAM stays accessible while
SPL runs (don't disable fpga
Some of the code for low level system initialization in SPL's
board_init_f() and U-Boot's arch_early_init_r() is the same,
so let's combine it into a single function called from both.
Signed-off-by: Simon Goldschmidt
---
Changes in v3: this patch is new in v3
Changes in v2: None
malloc_simple() can return 0 if out of memory. Don't call memset
from calloc() in this case but rely on the caller checking
the return value.
Signed-off-by: Simon Goldschmidt
Reviewed-by: Marek Vasut
---
Changes in v3: None
Changes in v2: None
common/malloc_simple.c | 3 ++-
1 file changed,
If CONFIG_DEBUG_UART is enabled, correctly initialize
the debug uart before console is initialized to debug
early boot problems in SPL.
Signed-off-by: Simon Goldschmidt
---
Changes in v3: None
Changes in v2:
- don't change printf() to debug() in reset_manager_gen5.c
socfpga_bridges_reset()
There were NULL pointers dereferenced because DM was used
too early without correct initialization:
- malloc_simple returned NULL when called from preloader_console_init()
because gd->malloc_limit was 0
- uclass_add dereferenced gd->uclass_root members which were NULL because
dm_init (or one
From: Simon Goldschmidt
In spl_gen5's board_init_f(), gd->malloc_base is manually assigned
at the end of the function to point to sdram. This code is outdated
as by now, the heap is switched to sdram by the common function
spl_relocate_stack_gd() if the appropriate defines are set.
As it was,
Socfpga gen5 SPL has been broken since moving to DM serial with
v2018.07. Also, U-Boot console output has been broken since then.
This series fixes this and makes some related small improvements.
Changes in v3:
- moved uart0's "u-boot,dm-pre-reloc;" from socfpga.dtsi to board
specific dts
On Sun, Aug 12, 2018 at 9:37 PM, Ramon Fried wrote:
> From: Ramon Fried
>
> Instead of relaying on user to configure MEMORY_BANKS_MAX
> correctly, use VLA (variable length array) to accommodate the
> required banks.
With the kernel actively removing VLAs [1] does it make sense for us
to use
This patch is to enable eSDHC for ls1021a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/ls1021a.dtsi |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi
index 5b3fc6a..59c97d5 100644
--- a/arch/arm/dts/ls1021a.dtsi
+++
This patch is to add eSDHC node for ls2088a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls2080a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi
index b0f8517..2d537ae 100644
---
This enables the folowing to Kconfig:
CONFIG_BLK
CONFIG_DM_MMC
Signed-off-by: Yinbo Zhu
---
configs/ls1021atwr_nor_SECURE_BOOT_defconfig |2 ++
configs/ls1021atwr_nor_defconfig |2 ++
configs/ls1021atwr_nor_lpuart_defconfig|2 ++
This patch is to add eSDHC node for ls1046a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1046a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi
index 4acbaf7..7687d12 100644
---
This patch is to add eSDHC node for ls1043a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1043a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi
index ff40122..a804f51 100644
---
This patch is to add eSDHC node for ls1088a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1088a.dtsi |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi
index 077caf3..72d755a 100644
---
This patch adds esdhc clock support for ls1088a and ls2088a.
Signed-off-by: Yinbo Zhu
---
.../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
At present the MMC subsystem maintains its own list
of MMC devices. This cannot work with driver model
when CONFIG_BLK is enabled, use blk_dread to
replace previous mmc read interface,
use mmc_get_blk_desc to get the mmc device property
Signed-off-by: Yinbo Zhu
---
Change in v6:
Add a driver for gdsys IHS (Integrated Hardware Systems) FPGAs, which
supports initialization of the FPGA, as well as information gathering.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v5 -> v6:
No changes
v4 -> v5:
No changes
v3 -> v4:
* Switched from 'res' as the name for return
It would be convenient if one could use the regmap API in conjunction
with register maps defined as structs (i.e. structs that directly mirror
the memory layout of the registers in question). A similar approach was
planned with the regmap_write32/regmap_read32 macros, but was never
used.
Hence,
Add test for regmap_{set,get} functions.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v5 -> v6:
No changes
v4 -> v5:
No changes
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
test/dm/regmap.c | 28
1 file changed, 28
This patch adds a driver for the bus associated with a IHS FPGA.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v5 -> v6:
No changes
v4 -> v5:
No changes
v3 -> v4:
No changes
v2 -> v3:
* Fixed style violations
* Added bindings file
* Added more debug output in case of errors
*
Makefile entries should be sorted.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
Signed-off-by: Anatolij Gustschin
---
v5 -> v6:
No changes
v4 -> v5:
Drop re-ordered entries that are not in mainline
(e.g. CONFIG_GDSYS_IOEP, CONFIG_MPC83XX_SERDES,
It is useful to be able to treat the different ranges of a regmap
separately to be able to use distinct offset for them, but this is
currently not implemented in the regmap API.
To preserve backwards compatibility, add regmap_read_range and
regmap_write_range functions that take an additional
ofnode_read_simple_addr_cells may fail and return a negative error code.
Check for this when initializing regmaps.
Also check if both_len is zero, since this is perfectly possible, and
would lead to a division-by-zero further down the line.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon
The documentation in regmap.h is not in kernel-doc format. Correct this.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v5 -> v6:
No changes
v4 -> v5:
No changes
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
include/regmap.h | 48
Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with
an error, which is not currently checked during regmap initialization.
Since the indentation depth is already quite deep, extract a new
'init_range' method to do the initialization.
Reviewed-by: Anatolij Gustschin
The regmap functions currently assume that all register map accesses
have a data width of 32 bits, but there are maps that have different
widths.
To rectify this, implement the regmap_raw_read and regmap_raw_write
functions from the Linux kernel API that specify the width of a desired
read or
Document the regmap_alloc() function.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v5 -> v6:
No changes
v4 -> v5:
No changes
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
drivers/core/regmap.c | 6 ++
1 file changed, 6 insertions(+)
diff
MIPS is the only architecture currently supported by U-Boot that does
not implement any of the in/out register access functions.
To have a interface that is useable across architectures, add the
functions to the MIPS architecture (implemented using the __raw_write
and __raw_read functions).
Add some debug output in cases where the initialization of a regmap
fails.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v5 -> v6:
No changes
v4 -> v5:
No changes
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
drivers/core/regmap.c | 10 --
The upcoming changes to the regmap interface will contain a proper check
for plausibility when reading/writing from/to a register map. To still
have the current tests pass, increase the size of the memory region for
the syscon0 device, since one of the tests reads and writes beyond this
range.
101 - 196 of 196 matches
Mail list logo