From: Xiaowei Bao
Add ESPI controller DT node for T104x.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- Move the eSPI DT node back to path /soc, in v2 the patch command put
the eSPI node to the path /cpus by mistake.
arch/powerpc/dts/t104x.dtsi | 9 +
1 file
From: Xiaowei Bao
Add ESPI slave node for T1042D4RDB.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/t1042d4rdb.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/powerpc/dts/t1042d4rdb.dts
From: Xiaowei Bao
Enable the DM ESPI driver in T1042D4RDB defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/T1042D4RDB_NAND_defconfig | 2 ++
configs/T1042D4RDB_SDCARD_defconfig | 2 ++
configs/T1042D4RDB_SPIFLASH_defconfig | 2 ++
From: Xiaowei Bao
Enable the DM ESPI driver in T2080RDB defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/T2080RDB_NAND_defconfig | 2 ++
configs/T2080RDB_SDCARD_defconfig | 2 ++
configs/T2080RDB_SPIFLASH_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI slave node for T2080RDB.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/t2080rdb.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/powerpc/dts/t2080rdb.dts b/arch/powerpc/dts/t2080rdb.dts
From: Xiaowei Bao
Add ESPI controller DT node for T102x.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- Move the eSPI DT node back to path /soc, in v2 the patch command put
the eSPI node to the path /cpus by mistake.
arch/powerpc/dts/t102x.dtsi | 9 +
1 file
From: Xiaowei Bao
Enable the DM ESPI driver in T1024RDB defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/T1024RDB_NAND_defconfig | 2 ++
configs/T1024RDB_SDCARD_defconfig | 2 ++
configs/T1024RDB_SPIFLASH_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI slave node for T1024RDB.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/t1024rdb.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/powerpc/dts/t1024rdb.dts b/arch/powerpc/dts/t1024rdb.dts
> On 04.06.2020, at 16:51, Jagan Teki wrote:
>
> On rockchip platforms, SPI boot image creation is not
> straightforward like MMC boot image creation where former
> requires to specify tpl, spl in multimage format in mkimage,
> and later simply do a concatenate mkimaged-tpl with spl.
>
> On
First, improve the compatibility on newer Era CAAMs. These introduced new
version registers. Secondly, add RNG support for the CAAM. This way we get
random number generator support for EFI for free and KASLR will work with
ARM64 kernels booted with bootefi.
Changes since v1:
- instantiate RNG
Align the status line with all the other output in U-Boot.
Before the change:
DDR3.9 GiB (DDR3, 32-bit, CL=11, ECC on)
SEC0: RNG instantiated
WDT: Started with servicing (60s timeout)
After the change:
DDR3.9 GiB (DDR3, 32-bit, CL=11, ECC on)
SEC0: RNG instantiated
WDT: Started with
On Wed, Jun 3, 2020 at 11:05 AM Alex Nemirovsky
wrote:
>
> From: Aaron Tseng
>
> Add Cortina Access Ethernet device driver for CA SoCs.
> This driver supports only the DM_ETH network model.
>
> Signed-off-by: Aaron Tseng
> Signed-off-by: Alex Nemirovsky
>
> CC: Joe Hershberger
> CC: Abbie
Hello Tom,
Please pull tag u-boot-atmel-fixes-2020.07-a , the first set of changes
for the 2020.07 cycle.
This set includes just two small commits that fix a build warning and
add a missing serial node.
Thanks !
Eugen
The following changes since commit
On Wed, Jun 03, 2020 at 07:49:48PM +0200, Heinrich Schuchardt wrote:
> The following changes since commit ecd4d99f654f3f7bfb96001891d69c3125e70b69:
>
> Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2020-06-01
> 23:34:18 -0400)
>
> are available in the Git repository at:
>
>
From: Lukasz Majewski
This patch moves the CONFIG_DM_SPI_FLASH and CONFIG_SPI_FLASH_DATAFLASH
to be defined in Kconfig, not in board specific header file
(include/configs/.h).
Before this change the CONFIG_DM_SPI_FLASH was not set in .config (so it
was not possible to use
From: Lukasz Majewski
This change allows more fine tuning of driver model based SPI support in
SPL and TPL. It is now possible to explicitly enable/disable the DM_SPI
support in SPL and TPL via Kconfig option.
Before this change it was necessary to use:
/* SPI Flash Configs */
#if
From: Hou Zhiqiang
Rebased the patch set below, and fixed build warning on ls1046a by
removing SPL_DM_SPI from target ls1046 boards.
https://patchwork.ozlabs.org/project/uboot/list/?series=129069=both=*
Lukasz Majewski (3):
spi: Move DM_SPI_FLASH to Kconfig (for NXP's ls1043a)
spi: Move
From: Lukasz Majewski
This patch fixes issue with defining the DM_SPI_FLASH in the
configs/include/ instead of enabling this option in Kconfig.
The problem is that CONFIG_IS_ENABLED(DM_SPI_FLASH) shows false as there
is no DM_SPI_FLASH=y in .config (but the define is set in u-boot.cfg).
As a
On 04.06.20 15:20, Michael Walle wrote:
> Am 2020-06-04 14:58, schrieb Heinrich Schuchardt:
>> On 04.06.20 14:52, Michael Walle wrote:
>>> Am 2020-06-04 14:26, schrieb Heinrich Schuchardt:
On 04.06.20 10:05, Horia Geantă wrote:
> On 6/4/2020 5:31 AM, Heinrich Schuchardt wrote:
>>>
>
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> Update documentation to reflect the new phandle support when OF_PLATDATA
> is used. Now phandles are implemented as pointers to U_BOOT_DEVICE,
> which makes it possible to get a pointer to the actual device.
>
> Signed-off-by: Walter Lozano
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> Add a test for dtoc taking into account the cd-gpios property.
>
> Signed-off-by: Walter Lozano
> ---
> tools/dtoc/dtoc_test_phandle_cd_gpios.dts | 42 ++
> tools/dtoc/test_dtoc.py | 67 +++
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> In order to prepare for a new support of phandle when OF_PLATDATA is used
> drop the const for struct driver_info as this struct will need to be
> updated on runtime.
>
> Signed-off-by: Walter Lozano
> ---
> drivers/core/device.c| 2
Hi Walter,
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> Currently when creating an U_BOOT_DEVICE entry a struct driver_info
> is declared, which contains the data needed to instantiate the device.
> However, the actual device is created at runtime and there is no proper
> way to get
Hi Walter,
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> Currently dtoc scans dtbs to convert them to struct platdata and
> to generate U_BOOT_DEVICE entries. These entries need to be filled
> with the driver name, but at this moment the information used is the
> compatible name present
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> Update the documentation with the support for driver aliases using
> U_BOOT_DRIVER_ALIAS.
>
> Signed-off-by: Walter Lozano
> ---
> doc/driver-model/of-plat.rst | 14 +-
> 1 file changed, 13 insertions(+), 1 deletion(-)
>
Provide missing comments for the functions implementing the
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_console.c | 124 ---
1 file changed, 115 insertions(+), 9 deletions(-)
diff --git
On Thu, Jun 04, 2020 at 02:01:02PM +, eugen.hris...@microchip.com wrote:
> Hello Tom,
>
> Please pull tag u-boot-atmel-fixes-2020.07-a , the first set of changes
> for the 2020.07 cycle.
>
> This set includes just two small commits that fix a build warning and
> add a missing serial node.
From: Xiaowei Bao
Add ESPI slave node for P2020RDB.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p2020rdb-pc.dts | 15 +++
arch/powerpc/dts/p2020rdb-pc_36b.dts | 15 +++
2 files changed, 30 insertions(+)
diff
From: Xiaowei Bao
Enable the DM ESPI driver in P1020RDB defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/P1020RDB-PC_36BIT_NAND_defconfig | 2 ++
configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI slave node for P1020RDB.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p1020rdb-pc.dts | 15 +++
arch/powerpc/dts/p1020rdb-pc_36b.dts | 15 +++
arch/powerpc/dts/p1020rdb-pd.dts | 15
From: Xiaowei Bao
Add ESPI controller DT node for P1020.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p1020-post.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/powerpc/dts/p1020-post.dtsi
From: Chuanhua Han
This patch is to enable espi DM for T2080QDS in uboot
Signed-off-by: Chuanhua Han
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/T2080QDS_NAND_defconfig | 2 ++
configs/T2080QDS_SDCARD_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI controller DT node for P2020.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p2020-post.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/powerpc/dts/p2020-post.dtsi
On Thu, Jun 04, 2020 at 03:26:24PM +, eugen.hris...@microchip.com wrote:
> On 04.06.2020 18:05, Tom Rini wrote:
>
>
> > Applied to u-boot/master, thanks!
>
> > But please note that building for all of "sama5" gives a ton of device
> > tree warnings, can you please look in to them?
assert() only works in debug mode. So checking a successful memory
allocation should not use assert().
Signed-off-by: Heinrich Schuchardt
---
arch/sandbox/cpu/state.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c
Signed-off-by: Vagrant Cascadian
---
cmd/booti.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/booti.c b/cmd/booti.c
index ae37975494..af0603b96e 100644
--- a/cmd/booti.c
+++ b/cmd/booti.c
@@ -141,7 +141,7 @@ static char booti_help_text[] =
"\tspecifying the
Signed-off-by: Vagrant Cascadian
---
doc/board/sifive/fu540.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/board/sifive/fu540.rst b/doc/board/sifive/fu540.rst
index 43402cb2e5..39fb8d8990 100644
--- a/doc/board/sifive/fu540.rst
+++ b/doc/board/sifive/fu540.rst
On 31/05/20 08:08AM, Simon Glass wrote:
> Hi Pratyush,
>
> On Wed, 27 May 2020 at 06:52, Pratyush Yadav wrote:
> >
> > Right now, regmap_read() and regmap_write() read/write a 32-bit value
> > only. To write other lengths, regmap_raw_read() and regmap_raw_write()
> > need to be used.
> >
> >
Hi Simon,
On 31/05/20 08:08AM, Simon Glass wrote:
> Hi Pratyush,
>
> On Wed, 27 May 2020 at 06:52, Pratyush Yadav wrote:
> >
> > Some fields will be introduced in the regmap structure that should be
> > set to 0 by default. So, once we allocate a regmap, make sure it is
> > zeroed out to avoid
From: Hou Zhiqiang
Add eSPI controller DT node for P1010.
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p1010si-post.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/powerpc/dts/p1010si-post.dtsi
b/arch/powerpc/dts/p1010si-post.dtsi
index
From: Hou Zhiqiang
Add DT nodes for eSPI slave device SPI flash.
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p1010rdb-pa.dts | 1 +
arch/powerpc/dts/p1010rdb-pa_36b.dts | 1 +
arch/powerpc/dts/p1010rdb.dtsi | 17 +
3 files changed, 19
From: Hou Zhiqiang
Enable the DM_SPI and DM_SPI_FLASH in P1010RDB defconfigs except
SECBOOT defconfigs.
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/P1010RDB-PA_36BIT_NAND_defconfig | 2 ++
configs/P1010RDB-PA_36BIT_NOR_defconfig | 2 ++
From: Xiaowei Bao
Enable the DM ESPI driver in T4240RDB defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/T4240RDB_SDCARD_defconfig | 2 ++
configs/T4240RDB_defconfig| 2 ++
2 files changed, 4 insertions(+)
diff --git
From: Xiaowei Bao
Add ESPI slave node for T4240RDB.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/t4240rdb.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/powerpc/dts/t4240rdb.dts b/arch/powerpc/dts/t4240rdb.dts
make the sleep time and the margin configurable.
Signed-off-by: Heiko Schocher
---
travis build:
https://travis-ci.org/github/hsdenx/u-boot-test/builds/694545225
This patch is needed as I start test/py now within tbot [1]. On
some configurations U-Boot is compiled on a build machine for
Linker complained about lack of `pci_virt_to_mem` function.
Looks like driver was not ready for device model - I took solution from
e1000.c driver.
Signed-off-by: Marcin Juszkiewicz
---
drivers/ata/sata_sil.c | 4
1 file changed, 4 insertions(+)
diff --git drivers/ata/sata_sil.c
On 04.06.2020 18:05, Tom Rini wrote:
> Applied to u-boot/master, thanks!
> But please note that building for all of "sama5" gives a ton of device
> tree warnings, can you please look in to them? Thanks!
Hi Tom,
Any changes in the DTC version or something? there are no changes in the
From: Xiaowei Bao
Add ESPI controller DT node for T4240.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- Move the eSPI DT node back to path /soc, in v2 the patch command put
the eSPI node to the path /cpus by mistake.
arch/powerpc/dts/t4240.dtsi | 9 +
1 file
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> After using a new approach to link nodes when OF_PLATDATA is enabled
> the test cases need to be update.
>
> This patch updates the tests based on this new implementation.
>
> Signed-off-by: Walter Lozano
> ---
> tools/dtoc/test_dtoc.py |
Hi Walter,
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> As dtoc now performs checks for valid driver names, when running dtoc
> tests several warnings arise as these tests don't use valid driver
> names.
>
> This patch adds an option to disable those warning, which is only
> intended
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> Currently dtoc does not support the property cd-gpios used to declare
> the gpios for card detect in mmc.
>
> This patch adds support to cd-gpios property.
>
> Signed-off-by: Walter Lozano
> ---
> tools/dtoc/dtb_platdata.py | 13
On Fri, 29 May 2020 at 12:15, Walter Lozano wrote:
>
> In the current implementation, when dtoc parses a dtb to generate a struct
> platdata it converts the information related to linked nodes as pointers
> to struct platdata of destination nodes. By doing this, it makes
> difficult to get
On Wed, Jun 3, 2020 at 5:55 AM Ravik Hasija wrote:
>
> Ramon Fried-4 wrote
> > + if (strcmp((char *)pkt + i, "windowsize") == 0) {
> > For servers that doesnt support windowsize option the above check could
> > result in accessing memory outside of valid range. Please check
On Thu, Jun 4, 2020 at 8:25 PM Philipp Tomsich
wrote:
>
>
>
> > On 04.06.2020, at 16:51, Jagan Teki wrote:
> >
> > On rockchip platforms, SPI boot image creation is not
> > straightforward like MMC boot image creation where former
> > requires to specify tpl, spl in multimage format in mkimage,
From: Xiaowei Bao
Add ESPI controller DT node for P3041.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- Move the eSPI DT node back to path /soc, in v2 the patch command put
the eSPI node to the path /cpus by mistake.
arch/powerpc/dts/p3041.dtsi | 9 +
1 file
From: Xiaowei Bao
Enable the DM ESPI driver in P3041DS defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/P3041DS_NAND_defconfig | 2 ++
configs/P3041DS_SDCARD_defconfig | 2 ++
configs/P3041DS_SPIFLASH_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI slave node for P4080DS.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p4080ds.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/powerpc/dts/p4080ds.dts b/arch/powerpc/dts/p4080ds.dts
index
From: Xiaowei Bao
Add ESPI controller DT node for P2041.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- Move the eSPI DT node back to path /soc, in v2 the patch command put
the eSPI node to the path /cpus by mistake.
arch/powerpc/dts/p2041.dtsi | 9 +
1 file
From: Xiaowei Bao
Add ESPI slave node for P2041RDB.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p2041rdb.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/powerpc/dts/p2041rdb.dts b/arch/powerpc/dts/p2041rdb.dts
From: Xiaowei Bao
Enable the DM ESPI driver in P2020RDB defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/P2020RDB-PC_36BIT_NAND_defconfig | 2 ++
configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI slave node for P3041DS.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p3041ds.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/powerpc/dts/p3041ds.dts b/arch/powerpc/dts/p3041ds.dts
index
From: Xiaowei Bao
Add ESPI controller DT node for P4080.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- Move the eSPI DT node back to path /soc, in v2 the patch command put
the eSPI node to the path /cpus by mistake.
arch/powerpc/dts/p4080.dtsi | 9 +
1 file
From: Xiaowei Bao
Enable the DM ESPI driver in P2041RDB defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/P2041RDB_NAND_defconfig | 2 ++
configs/P2041RDB_SDCARD_defconfig | 2 ++
configs/P2041RDB_SPIFLASH_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI slave node for P5040DS.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
arch/powerpc/dts/p5040ds.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/powerpc/dts/p5040ds.dts b/arch/powerpc/dts/p5040ds.dts
index
From: Xiaowei Bao
Enable the DM ESPI driver in P4080DS defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/P4080DS_SDCARD_defconfig | 2 ++
configs/P4080DS_SPIFLASH_defconfig | 2 ++
configs/P4080DS_defconfig | 2 ++
3 files changed, 6
From: Xiaowei Bao
Enable the DM ESPI driver in P5040DS defconfig.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- No change.
configs/P5040DS_NAND_defconfig | 2 ++
configs/P5040DS_SDCARD_defconfig | 2 ++
configs/P5040DS_SPIFLASH_defconfig | 2 ++
From: Xiaowei Bao
Add ESPI controller DT node for P5040.
Signed-off-by: Xiaowei Bao
Signed-off-by: Hou Zhiqiang
---
V3:
- Move the eSPI DT node back to path /soc, in v2 the patch command put
the eSPI node to the path /cpus by mistake.
arch/powerpc/dts/p5040.dtsi | 9 +
1 file
The secure keys (TDKEK, JDKEK, TDSK) can only be generated once after a
POR. Otherwise the RNG4 will throw an error.
Signed-off-by: Michael Walle
---
drivers/crypto/fsl/jobdesc.c | 4 ++--
drivers/crypto/fsl/jobdesc.h | 2 +-
drivers/crypto/fsl/jr.c | 9 +
include/fsl_sec.h
Register the random number generator with the rng subsystem in u-boot.
This way it can be used by EFI as well as for the 'rng' command.
Signed-off-by: Michael Walle
---
drivers/crypto/fsl/Kconfig | 14 ++
drivers/crypto/fsl/Makefile | 1 +
drivers/crypto/fsl/jobdesc.c | 10 +
We need the era in other modules, too. For example, to get the RNG
version.
Signed-off-by: Michael Walle
Reviewed-by: Horia Geantă
---
drivers/crypto/fsl/sec.c | 10 +-
include/fsl_sec.h| 2 ++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git
If it is already instantiated tear it down first and then reinstanciate
it again with prediction resistance.
Signed-off-by: Michael Walle
---
drivers/crypto/fsl/desc.h| 2 ++
drivers/crypto/fsl/jobdesc.c | 12 ++-
drivers/crypto/fsl/jobdesc.h | 2 ++
drivers/crypto/fsl/jr.c | 66
Since Era 10, the version registers changed. Add the version registers
and use them on newer modules.
Signed-off-by: Michael Walle
Reviewed-by: Horia Geantă
---
drivers/crypto/fsl/jr.c | 12 --
include/fsl_sec.h | 51 +++--
2 files changed, 54
Hi Wolfgang,
On Thu, 4 Jun 2020 at 07:27, Wolfgang Wallner
wrote:
>
> Hi Simon,
>
> -"U-Boot" schrieb: -
> > Betreff: Antwort: Re: [PATCH v2 00/35] dm: Add programmatic generation of
> > ACPI tables (part B)
> >
> > Hi Bin,
> >
> > -"Bin Meng" schrieb: -
> > > Betreff: Re:
On Wed, Jun 3, 2020 at 5:55 AM Ravik Hasija rahasij@.microsoft
wrote:
>
> Ramon Fried-4 wrote
> > + if (strcmp((char *)pkt + i, "windowsize") == 0) {
> > For servers that doesnt support windowsize option the above check could
> > result in accessing memory outside of valid
We generate a number of helper inline functions to make accesses easier.
However not all permutations of each function will be used and clang
will warn about unused ones. Decorate all of them with __maybe_unused
because of this.
Cc: Lokesh Vutla
Signed-off-by: Tom Rini
---
In lan78xx_read_otp() we want to know if sig is LAN78XX_OTP_INDICATOR_1
or LAN78XX_OTP_INDICATOR_2. In the case of matching the first one we
set offset to itself, and clang warns about this. Rework the logic so
that if sig is the second indicator we adjust the offset as today and if
it does not
On aarch64 running with dcache off, will result in an unaligned access
exception:
=> dcache off
=> hash sha1 $kernel_addr_r 100
"Synchronous Abort" handler, esr 0x9661
elr: 960317d8 lr : 960316a4 (reloc)
elr: fbd787d8 lr : fbd786a4
[..]
The
When building this with clang we see a few new warnings. There are a
handful of structs that we declare and use only in the case of
!defined(CONFIG_USB_ETH_CDC) && defined(CONFIG_USB_ETH_SUBSET) so update
the guards used to match this as well as cover all members rather than
just a few. Finally,
Add booting from SPI for SiFive Unleashed board.
Signed-off-by: Jagan Teki
---
Changes for v3:
- updated based on master
arch/riscv/cpu/fu540/Kconfig | 2 +
.../dts/hifive-unleashed-a00-u-boot.dtsi | 12 ++
configs/sifive_fu540_defconfig| 4 ++
Enable SPI flash(SF) distro boot command in Sifive FU540.
This distro boot will read the boot script at specific
location at the flash and start sourcing the same.
Included the SF device at the last of the target devices
list since all the rest of the devices on the list have
more possibility to
Mark the default U-Boot environment as SPI flash since
this is an on board flash device.
Reviewed-by: Bin Meng
Signed-off-by: Jagan Teki
---
Changes for v3:
- none
board/sifive/fu540/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/sifive/fu540/Kconfig
HiFive-Unleashed-A00 has SPI flash with 32MiB size.
So, let's use the script offset at the end of 4K.
This way it cannot overlap any offsets being used
by software components in flash layout.
So, SF distrocmd will pick the script at desired
script address and run.
Signed-off-by: Jagan Teki
---
On 6/4/20 10:35 PM, Tom Rini wrote:
> In lan78xx_read_otp() we want to know if sig is LAN78XX_OTP_INDICATOR_1
> or LAN78XX_OTP_INDICATOR_2. In the case of matching the first one we
> set offset to itself, and clang warns about this. Rework the logic so
> that if sig is the second indicator we
On Thu, Jun 04, 2020 at 10:18:07AM +0800, ub...@andestech.com wrote:
> Hi Tom,
>
> Please pull some riscv updates:
>
> - Fixes 7e249bc13aaf: ("riscv: Move all SMP related SBI calls to SBI_v01")
>Move sbi_probe_extension() out of CONFIG_SBI_V01.
> - SiFive FU540 support SPL.
>
> Thanks
>
In the case of non-DM_GPIO the function get_gpio_index() will never be
called, and clang will warn about this. Move this to be with the other
non-DM code for easier removal later.
Cc: Lokesh Vutla
Signed-off-by: Tom Rini
---
drivers/gpio/omap_gpio.c | 9 -
1 file changed, 4
We only call the function omap_hsmmc_get_cfg in the case of OMAP34XX or
when we have to iodelay recalibration. Add guards for these checks as
clang will otherwise warn.
Cc: Peng Fan
Cc: Lokesh Vutla
Signed-off-by: Tom Rini
---
Aside, Lokesh, can you please add drivers/mmc/omap_hsmmc.c to the
The functions dsps_readb and dsps_writeb are only used by code that is
under a !__UBOOT__ guard today. Add that guard around these functions
as well to avoid the warning.
Cc: Marek Vasut
Signed-off-by: Tom Rini
---
drivers/usb/musb-new/musb_dsps.c | 4
1 file changed, 4 insertions(+)
On 5/06/20 12:44 am, Pratyush Yadav wrote:
> The option SPI_FLASH_SMART_HWCAPS will be introduced in a future commit.
> It is enabled by default. It updates the hwcaps selection of SPI NOR to
> use the SPI MEM's supports_op() hook. But this leads to a code size
> increase and so the SPL binary
With clang we get a report that we are setting this member twice.
Fortunately it is to the same value, so drop the hard-coded value line.
Signed-off-by: Tom Rini
---
board/ti/am335x/board.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
When building this code with clang-10 a number of warnings will be
generated along the lines of:
warning: address of array 'ep->version' will always evaluate to 'true'
Convert these checks to checking the strlen of the part of the array we
care about. As this array will be null terminated
On 6/4/20 5:45 AM, Hayes Wang wrote:
> Marek Vasut [mailto:ma...@denx.de]
>> Sent: Tuesday, June 02, 2020 7:59 PM
> [...]
>> Can you be more specific about the problem you are fixing here ?
>> What is the problem ?
>
> There is low probability that the device may be lost when
On 6/4/20 10:09 PM, Tom Rini wrote:
> The functions dsps_readb and dsps_writeb are only used by code that is
> under a !__UBOOT__ guard today. Add that guard around these functions
> as well to avoid the warning.
>
> Cc: Marek Vasut
> Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut
SPI flash device on HiFive Unleashed has 32MiB Size.
This patch add SPI flash environment after U-Boot proper
partition with a size of 128KiB.
SPI flash partition layout(32MiB):
0 - 34 : reserved for GPT header
35 - 39 : unused
40 - 2087: loader1 (SPL, FSBL)
2088 - 10279
Add support to detect boot mode at runtime for
SiFive FU540 boards.
Signed-off-by: Jagan Teki
---
Changes for v3:
- new patch
board/sifive/fu540/fu540.c | 25 +++--
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/board/sifive/fu540/fu540.c
Updated series with boot device detection directly
on spl_boot_device function instead of having separate
board driver.
Previous version changes are at [1].
Changes for v3:
- fixed env definitions build
- added boot device detection in board
Changes for v2:
- fu540 board driver
- runtime
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
From: Heiko Stuebner
The introduction of the puma-specific generator was mainly a way
to split the pmu firmware from the ATF binary and not having to
distribute that 4GB (sparse) image that was created before moving
to the bl31.elf as base.
Looking
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
From: Heiko Stuebner
With recently added changes we get support for usb3 including handling
of the phys (type-c and inno-usb2), so enable the necessary config
options on puma.
Signed-off-by: Heiko Stuebner
Reviewed-by: Kever Yang
Thanks,
-
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
From: Heiko Stuebner
With the current usb stack in u-boot, all host ports on puma work
flawlessly without any additional special handling, so drop that
usb hub hacking from the puma board.
Tested with mass-storage and usb-ethernet on both usb3 and
On Fri, May 22, 2020 at 04:32:37PM -0600, Simon Glass wrote:
> A common problem when submitting a new uclass is to forget to add sandbox
> tests. Add a warning for this.
>
> Of course tests should always be added for new code, but this one seems to
> be missed by nearly every new contributor.
>
On Fri, May 22, 2020 at 04:32:36PM -0600, Simon Glass wrote:
> Add an option to indicate that U-Boot-specific checks should be enabled.
> Add a function to house the code that will be added.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description:
1 - 100 of 240 matches
Mail list logo