On 05/06/20 1:33 am, Tom Rini wrote:
> 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
Reviewed-by:
On 05/06/20 1:31 am, Tom Rini wrote:
> 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
Reviewed-by: Lokesh
On 05/06/20 1:15 am, Tom Rini wrote:
> 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
Hi Jagan,
On 27/05/20 6:26 pm, Jagan Teki wrote:
> DM, DM_SPI and other driver model migration deadlines
> are expired for this board.
>
> Drop it.
>
> Cc: Lokesh Vutla
> Signed-off-by: Jagan Teki
Please hold this patch. I see patches in ML for converting to DM
Hi Jagan,
On 27/05/20 6:26 pm, Jagan Teki wrote:
> DM, DM_SPI and other driver model migration deadlines
> are expired for this board.
>
> Drop it.
>
> Cc: Lokesh Vutla
> Signed-off-by: Jagan Teki
Please hold this patch. I see patches in ML for converting to DM
On Mon, 1 Jun 2020 at 17:47, Michael Walle wrote:
>
> If CONFIG_DM_DEV_READ_INLINE is set, dev_read_alias_highest_id() calls
> libfdt_get_highest_id(). But this function is only available if we have
> libfdt compiled in. If its not available return -1, which matches the
> return code for no alias
On Mon, 1 Jun 2020 at 07:44, Heinrich Schuchardt wrote:
>
> smbios_add_string() cannot deal with empty strings. This leads to incorrect
> property values and invalid tables. E.g. for the pine64-lts_defconfig
> CONFIG_SMBIOS_MANUFACTURER="". Linux command dmidecode shows:
>
> Table 1:
>
Hi,
On Thu, 4 Jun 2020 at 21:11, Simon Glass wrote:
>
> Hi Walter,
>
> On Mon, 1 Jun 2020 at 14:55, Walter Lozano
> wrote:
> >
> > Hi Simon,
> >
> > On 26/5/20 15:39, Walter Lozano wrote:
> > > Hi Simon,
> > >
> > > On 25/5/20 18:40, Simon Glass wrote:
> > >> Hi Tom,
> > >>
> > >> On Mon, 25
Move doc/README.coccinelle to doc/develop/coccinelle.rst using the current
linux-next version of the text.
Signed-off-by: Heinrich Schuchardt
---
doc/README.coccinelle | 491
doc/develop/coccinelle.rst | 505 +
Hi Tom,
On Tue, 2 Jun 2020 at 07:53, Tom Rini wrote:
>
> On Mon, Jun 01, 2020 at 05:55:31PM -0300, Walter Lozano wrote:
> > Hi Simon,
> >
> > On 26/5/20 15:39, Walter Lozano wrote:
> > > Hi Simon,
> > >
> > > On 25/5/20 18:40, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Mon, 25 May
Hi Walter,
On Mon, 1 Jun 2020 at 14:55, Walter Lozano wrote:
>
> Hi Simon,
>
> On 26/5/20 15:39, Walter Lozano wrote:
> > Hi Simon,
> >
> > On 25/5/20 18:40, Simon Glass wrote:
> >> Hi Tom,
> >>
> >> On Mon, 25 May 2020 at 14:57, Tom Rini wrote:
> >>> On Mon, May 25, 2020 at 02:34:20PM -0600,
* Move README.clang to doc/build/clang.rst and reformat as
reStructeredText.
* Indicate that -ffixed-r9 and -ffixed-x18 are used to reserve registers
for gd.
* Minor editing.
Signed-off-by: Heinrich Schuchardt
---
doc/README.clang| 55
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 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
Hi Heiko,
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
index 00..f23ec02783
--- /dev/null
+++ b/arch/arm/dts/rk3399-puma-haikou.dts
@@ -0,0 +1,272 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
+ */
+
+/dts-v1/;
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
From: Heiko Stuebner
The commit moving puma to the generic cpuid/macaddr helpers used 7 spaces
as indentation, so correct that by moving to the required tabs.
Fixes: fa177ff0208b ("board: puma: Use rockchip_* helpers to setup cpuid and
macaddr")
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
From: Heiko Stuebner
Tabs not spaces, so transform it to the common styling.
Signed-off-by: Heiko Stuebner
Reviewed-by: Philipp Tomsich
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/dts/rk3399-puma-u-boot.dtsi | 30
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
From: Heiko Stuebner
The regulator enable-gpio uses opposite values for the declaration
vs. the enable_active_low property, breaking the regulator enablement.
Make the usbhost-supply work again by bringing them in sync again.
This mimics the
On 2020/6/4 下午6:09, Heiko Stuebner wrote:
From: Heiko Stuebner
The gmac reset has opposite values for the gpio declaration
and the separate reset-active, bring this in line to make
u-boot also find the ethernet-phy.
This mimics the upstream Linux commit found on
> Subject: [PATCH] mmc: omap_hsmmc: Add guards around
> omap_hsmmc_get_cfg()
>
> 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
>
Add support for TPM2 GetRandom command
Signed-off-by: Dhananjay Phadke
---
include/tpm-v2.h | 13 +
lib/tpm-v2.c | 44
2 files changed, 57 insertions(+)
diff --git a/include/tpm-v2.h b/include/tpm-v2.h
index ae00803f6d..513697e9a1
On Tue, Jun 02, 2020 at 05:26:33PM -0400, Tom Rini wrote:
> The symbol "CONFIG_ARM_DCC" is used to control building
> drivers/serial/arm_dcc.c. Provide a simple Kconfig entry for this.
>
> Cc: Luca Ceresoli
> Cc: Michal Simek
> Cc: Tom McLeod
> Cc: Mike Looijmans
> Signed-off-by: Tom Rini
On Thu, May 28, 2020 at 12:05:12PM +0200, Michal Simek wrote:
> Debug console is the part of serial driver in the same file. It means to be
> able to enable debug console you also need to enable driver itself.
> That's why add all dependecies and list only debug consoles which are
> enabled based
On Tue, May 26, 2020 at 03:06:17PM -0400, Tom Rini wrote:
> This converts the following to Kconfig:
>CONFIG_BZIP2
>CONFIG_GZIP
>CONFIG_LZO
>CONFIG_ZLIB
>CONFIG_LZMA
>CONFIG_LZO
>
> Signed-off-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Tue, May 26, 2020 at 03:06:16PM -0400, Tom Rini wrote:
> Per the boards config header file, there is no useful GPIO on these
> boards. Remove CONFIG_CMD_GPIO from the defconfigs.
>
> Cc: Mike Looijmans
> Signed-off-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Tue, May 26, 2020 at 03:06:19PM -0400, Tom Rini wrote:
> This converts the following to Kconfig:
>CONFIG_BOARD_LATE_INIT
>
> Signed-off-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, May 26, 2020 at 03:06:18PM -0400, Tom Rini wrote:
> This converts the following to Kconfig:
>CONFIG_CMD_ASKENV
>CONFIG_CMD_BMP
>CONFIG_CMD_BOOTD
>CONFIG_CMD_CACHE
>CONFIG_CMD_CRC32
>CONFIG_CMD_DHCP
>CONFIG_CMD_ENV
>CONFIG_CMD_EXPORTENV
>CONFIG_CMD_EXT2
On Tue, May 26, 2020 at 03:06:14PM -0400, Tom Rini wrote:
> The common config header for bcm7260 and bcm7445 enable
> CONFIG_CMD_EXT2/EXT4 but the defconfigs do not. This results in the
> commands being disabled. Enable them via the defconfig.
>
> Cc: Thomas Fitzsimmons
> Signed-off-by: Tom
On Fri, May 22, 2020 at 04:32:40PM -0600, Simon Glass wrote:
> There is a lot of use of #ifdefs in U-Boot. In an effort reduce this,
> suggest using the compile-time construct.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, May 26, 2020 at 03:06:15PM -0400, Tom Rini wrote:
> The config header for this platform disables both CMD_SF and CMD_SPI and
> the defconfig leaves them enabled. Disable them from the defconfig and
> enable them in the header.
>
> Cc: Marek Vasut
> Cc: Masakazu Mochizuki
>
On Tue, May 26, 2020 at 03:06:13PM -0400, Tom Rini wrote:
> The config header for this platform uses '#undef' in a number of cases.
> All of the MMC related ones were already handled correctly in the
> defconfig file. In the case of CONFIG_CMD_FUSE, the command was being
> built and enabled via
On Tue, May 26, 2020 at 03:06:12PM -0400, Tom Rini wrote:
> Rather than only enable CONFIG_CMD_NAND for non-SPL builds, move the CMD
> options to defconfig and rework the guards to not try and call the
> function in SPL builds.
>
> Cc: Stefano Babic
> Signed-off-by: Tom Rini
> Acked-by:
On Tue, May 26, 2020 at 02:29:02PM -0400, Tom Rini wrote:
> All of our cmds have a Kconfig entry. Making enabling a CMD via the
> config file an error to checkpatch.pl.
>
> Signed-off-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, May 22, 2020 at 04:32:35PM -0600, Simon Glass wrote:
> Bring in the newest script. This is close enough to v5.8 that it will
> likely be final. Keep the U-Boot changes to $logFunctions
>
> Signed-off-by: Simon Glass
I've moved this to v5.7 itself and reworded to match.
Applied to
On Fri, May 22, 2020 at 04:32:39PM -0600, Simon Glass wrote:
> This request is made with nearly every new command. Point to some docs
> on how to do it.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
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:
On Fri, May 22, 2020 at 04:32:38PM -0600, Simon Glass wrote:
> We want people to use the livetree API, so request it.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
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 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
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
---
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
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 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
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(+)
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,
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
---
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
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
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 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
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
>
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
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
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
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?
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 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
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
Am 2020-06-04 17:46, schrieb Michael Walle:
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 ++-
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
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:
>
> 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 |
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
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:
>
> 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
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(-)
>
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:
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
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
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 +
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
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 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:
>>>
>
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
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
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: 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: 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: 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
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
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 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
1 - 100 of 240 matches
Mail list logo