Add commands for dual and quad SPI transfers on Micon SPI.
Signed-off-by: Rayagonda Kokatanur
---
include/spi.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/spi.h b/include/spi.h
index 2b4929fc79..491f1f805c 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -150,6 +150,8 @@ stru
This patchset,
-adds Broadcom SPI driver for iproc-based platforms and
-extends Micron SPI commands for dual and quad SPI transfers on Micon SPI.
Changes from v1:
-Address review comments from Jagan Teki,
Remove flash opcode from driver and use include/linux/mtd/spi-nor.h,
Remove CONFIG_BCM_I
Add brcm iproc qspi support.
Signed-off-by: Rayagonda Kokatanur
---
Changes from v1:
-Address review comments from Jagan Teki,
Remove flash opcode from driver and use include/linux/mtd/spi-nor.h,
Remove CONFIG_BCM_IPROC_USE_BSPI, handle via driver data
-Address self review comments,
Remo
On 4/28/20 2:16 AM, AKASHI Takahiro wrote:
> Heinrich,
>
> On Mon, Apr 27, 2020 at 10:09:11PM +0200, Heinrich Schuchardt wrote:
>> On 4/27/20 11:48 AM, AKASHI Takahiro wrote:
>>> If this option is enabled, the initialisation of UEFI subsystem will be
>>> done as part of U-Boot initialisation.
>>>
>
On 4/27/20 11:48 AM, AKASHI Takahiro wrote:
> In this commit, skeleton functions for capsule-related API's are
> added under CONFIG_EFI_UPDATE_CAPSULE configuration.
> Detailed implementation for a specific capsule type will be added
> in the succeeding patches.
>
> Signed-off-by: AKASHI Takahiro
This is the second patch set series prepared on top of the
first patch set ("add initial support for broadcom NS3 soc").
This patch set will add following,
-dt nodes and defconfig options for basic device like pinctrl,
gpio, mmc, qspi, wdt, i2c and pcie.
-start wdt service
-Enable GPT commands
-E
Add pinctrl dt node for ns3.
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3-pinctrl.dtsi | 321 ++
arch/arm/dts/ns3.dtsi | 2 +
2 files changed, 323 insertions(+)
create mode 100644 arch/arm/dts/ns3-pinctrl.dtsi
diff --git a/arch/arm/dts/ns3-p
Add NS3 pads definitions.
Signed-off-by: Rayagonda Kokatanur
---
.../dt-bindings/pinctrl/brcm,pinctrl-ns3.h| 41 +++
1 file changed, 41 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/brcm,pinctrl-ns3.h
diff --git a/include/dt-bindings/pinctrl/brcm,pinctrl-ns3.
Enable pinctrl driver for ns3.
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index 9adb44cb51..328b0e2b4e 100644
--- a/configs/bcm_ns3_defconfig
+++ b/configs/bcm_ns3_d
Add IPROC GPIO node for NS3.
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3-board.dts | 1 +
arch/arm/dts/ns3.dtsi | 23 +++
2 files changed, 24 insertions(+)
diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts
index c660e74dc8..5926123379 100
Enable BCM IPROC mmc driver ns3.
Enable DMA for MMC Host to have better reads and writes.
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index 328b0e2b4e..432237b56d 10
Enable mmc commands for NS3.
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index 432237b56d..a1ee866e54 100644
--- a/configs/bcm_ns3_defconfig
+++ b/configs/bcm_ns3_defc
Add QSPI node and qspi NOR flash node for NS3.
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3-board.dts | 16
arch/arm/dts/ns3.dtsi | 9 +
2 files changed, 25 insertions(+)
diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts
index 45565c9
From: Pramod Kumar
Add emmc dt nodes for ns3.
Signed-off-by: Pramod Kumar
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3-board.dts | 4
arch/arm/dts/ns3.dtsi | 18 ++
2 files changed, 22 insertions(+)
diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/
Add IPROC I2C node for NS3.
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3-board.dts | 1 +
arch/arm/dts/ns3.dtsi | 6 ++
2 files changed, 7 insertions(+)
diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts
index 78a69ac3f9..f8e501c225 100644
--- a/arch/arm/dt
From: Srinath Mannam
Add PAXB PCIe host controller and phy node for NS3.
Signed-off-by: Srinath Mannam
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3-board.dts | 36 +
arch/arm/dts/ns3.dtsi | 158 +
2 files changed, 194 insertions(+)
Enable EXT4 and FAT fs support for ns3.
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index 0f23f30db2..66fbdb20d6 100644
--- a/configs/bcm_ns3_defconfig
+++ b/config
From: Pramod Kumar
Add sp805 watchdog dts node for ns3.
Signed-off-by: Pramod Kumar
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi
index 9fd59a855e..6962e658d3 100644
--- a/
Enable sp805 watchdog driver for ns3.
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index 66fbdb20d6..3cb69eff9d 100644
--- a/configs/bcm_ns3_defconfig
+++ b/configs/bc
Start sp805 watchdog service.
Parse wdt timeout from env and dts, give precedence to env
timeout if defined. Set default timeout to 60s if both env
and dts doesn't specifiy timeout.
Stop the WDT in board late init and start the
WDT service before giving control to Linux.
Signed-off-by: Rayagonda
Enable gpt commands for ns3.
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index a1ee866e54..0f23f30db2 100644
--- a/configs/bcm_ns3_defconfig
+++ b/configs/bcm_ns3_defc
From: Pramod Kumar
Add FIT image its file.
Signed-off-by: Pramod Kumar
Signed-off-by: Rayagonda Kokatanur
---
board/broadcom/bcmns3/fit/multi.its | 59 +
1 file changed, 59 insertions(+)
create mode 100644 board/broadcom/bcmns3/fit/multi.its
diff --git a/board/br
This is third patch set series prepared on top of second
patch set ("add basic driver support for broadcom NS3 soc").
This patch set enables FIT config and add FIT image its
files and keys.
Pramod Kumar (2):
board: ns3: add FIT image its file
board: ns3: add development keys used in FIT
Raya
Enable FIT config for NS3.
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index 3cb69eff9d..b52c6d7d93 100644
--- a/configs/bcm_ns3_defconfig
+++ b/configs/bcm_ns3_def
From: Pramod Kumar
Add development keys used in FIT.
Signed-off-by: Pramod Kumar
Signed-off-by: Rayagonda Kokatanur
---
board/broadcom/bcmns3/fit/keys/dev.crt | 21 +++
board/broadcom/bcmns3/fit/keys/dev.key | 28 ++
2 files changed, 49 insertions(+)
c
This is fourth patch set series prepared on top of third
patch set ("add FIT image support for broadcom NS3 soc").
This patch adds optee support.
Vikas Gupta (3):
board: ns3: add optee based bnxt fw load driver
configs: ns3: enable tee and optee driver
arm: dts: ns3: add optee node
arch/a
From: Vikas Gupta
Add support for optee
Signed-off-by: Vikas Gupta
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/dts/ns3.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi
index 6962e658d3..509818e23e 100644
--- a/arch/arm/dts/ns3.d
From: Vikas Gupta
Enable tee and optee drivers.
Signed-off-by: Vikas Gupta
Signed-off-by: Rayagonda Kokatanur
---
configs/bcm_ns3_defconfig | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index b52c6d7d93..13fe9d439
From: Vikas Gupta
Add optee based bnxt fw load driver.
Signed-off-by: Vikas Gupta
Signed-off-by: Rayagonda Kokatanur
---
board/broadcom/bcmns3/Kconfig | 5 +
board/broadcom/bcmns3/Makefile | 1 +
board/broadcom/bcmns3/chimp_optee.c | 154
include/br
This is fifth patch set series prepared on top of fourth
patch set ("add optee support for broadcom NS3 soc").
This patch adds support for error logging and corresponding command.
Sheetal Tigadoli (1):
common: ns3: add error logging support
Vladimir Olovyannikov (2):
board: ns3: kconfig: ext
From: Sheetal Tigadoli
Add error logging support in uboot for ns3 platform.
We log the bootup msgs from all bootstages(BL2, BL31, BL33, and Linux)
on to DDR. When a watchdog is triggered from any of the bootstages,
CRMU copies these logs to QSPI error logging space.
Later when doing the post-mo
From: Vladimir Olovyannikov
Add broadcom error log setup command.
Some Broadcom platforms have ability to record event logs by SCP.
- Add a logsetup command which is used to perform initial configuration
of this log.
Move this command to bcm/ directory to be used for Broadcom-specific
U-bo
From: Vladimir Olovyannikov
Extend Kconfig for the board with board-specific commands selection.
Signed-off-by: Vladimir Olovyannikov
Signed-off-by: Rayagonda Kokatanur
---
board/broadcom/bcmns3/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/board/broadcom/bcmns3/Kconfig b/bo
This is sixth patch set series prepared on top of fifth
patch set ("add elog support for broadcom NS3 soc").
This patch set adds commands specific to broadcom NS3 soc.
Bharat Kumar Reddy Gooty (1):
cmd: bcm: add command for chimp hand shake
Trac Hoang (1):
cmd: bcm: add nitro boot command
V
From: Vikas Gupta
Add nitro image load commands.
Signed-off-by: Vikas Gupta
Signed-off-by: Rayagonda Kokatanur
---
cmd/bcm/Makefile | 1 +
cmd/bcm/nitro_image_load.c | 99 ++
2 files changed, 100 insertions(+)
create mode 100644 cmd/bcm/nitro_im
From: Bharat Kumar Reddy Gooty
Add command for chimp handshake.
Signed-off-by: Bharat Kumar Reddy Gooty
Signed-off-by: Rayagonda Kokatanur
---
cmd/bcm/Makefile | 1 +
cmd/bcm/chimp_handshake.c | 32
include/brcm/chimp.h | 6 ++
3 files chan
From: Trac Hoang
Add command to boot nitro.
Signed-off-by: Trac Hoang
Signed-off-by: Rayagonda Kokatanur
---
cmd/bcm/Makefile | 1 +
cmd/bcm/chimp_boot.c | 36
include/brcm/chimp.h | 2 ++
3 files changed, 39 insertions(+)
create mode 100644 cmd/bcm
> Subject: [PATCH 1/2] cpu: imx8: fix type and rate detection
>
> CPU type and rate detection is broken, for A35 cpu we get A53:
> ...
> sc_pm_get_clock_rate: resource:0 clk:2: res:3 Could not read CPU frequency:
> -22
> CPU: NXP i.MX8QXP RevB A53 at 0 MHz at 47C
>
> Fixes: 55bc96f3b675 ("cpu:
Hi Anatolij,
> Subject: [PATCH 2/2] thermal: imx_scu_thermal: fix getting DT alert property
> value
>
> Fix boot hang with endless loop outputting:
> CPU Temperature (47200C) has beyond alert (0C), close to critical (0C)
> waiting...
Could you share more info which part was broken?
Thanks,
Peng
Virtually all callers of this function do the rounding on their own.
Some do it right, some don't. Instead of doing this in each caller,
do the rounding in efi_add_memory_map(). Change the size parameter
to bytes instead of pages and remove aligning and size calculation in
all callers.
There is no
On 5/17/20 12:29 PM, Michael Walle wrote:
> Virtually all callers of this function do the rounding on their own.
> Some do it right, some don't. Instead of doing this in each caller,
> do the rounding in efi_add_memory_map(). Change the size parameter
> to bytes instead of pages and remove aligning
Hi Peng,
On Sun, 17 May 2020 10:04:58 +
Peng Fan peng@nxp.com wrote:
> Hi Anatolij,
>
> > Subject: [PATCH 2/2] thermal: imx_scu_thermal: fix getting DT alert property
> > value
> >
> > Fix boot hang with endless loop outputting:
> > CPU Temperature (47200C) has beyond alert (0C), close
Sorry for a bit recalcitrant with the issue of calling 'ubi part"
error -74 -EBADMSG, is it MTD issue or u-boot issue?
I used Linux kernel 4.19 to flash UBIFS volume images ubi.img to
imx6ull NAND using following command in Linux:
flash_erase /dev/mtd2 0 0
ubiformat /dev/mtd2 -f ubi.img
The flas
On Wed, May 13, 2020 at 2:27 PM Pragnesh Patel
wrote:
>
> When build U-Boot SPL, meet an issue of undefined reference to
> 'crc7' for drivers/mmc/mmc_spi.c, so let's compile crc7.c when
> CONFIG_MMC_SPI selected.
>
> Signed-off-by: Pragnesh Patel
> ---
> lib/Makefile | 2 +-
> 1 file changed, 1
On Thu, May 14, 2020 at 7:53 PM Pragnesh Patel
wrote:
>
> Add driver for fu540 to support ddr initialization in SPL.
> This driver is based on FSBL
> (https://github.com/sifive/freedom-u540-c000-bootloader.git)
>
> Signed-off-by: Pragnesh Patel
> ---
> board/sifive/fu540/Kconfig | 2 +
> d
On Friday 15 May 2020 14:34:55 Tom Rini wrote:
> On Fri, May 15, 2020 at 07:40:25PM +0200, Pali Rohár wrote:
> > On Friday 15 May 2020 10:16:16 Tom Rini wrote:
> > > On Fri, May 15, 2020 at 03:58:20PM +0200, Pali Rohár wrote:
> > > > On Friday 15 May 2020 09:53:23 Tom Rini wrote:
> > > > > On Fri,
This patch contains test/nokia_rx51_test.sh script which automatically
download and compile all needed tools in local temporary directory to
generate a simple MTD images for booting Maemo kernel image by U-Boot from
RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine
provided by
Hi Pragnesh,
On Thu, May 14, 2020 at 7:54 PM Pragnesh Patel
wrote:
>
> With sifive_fu540_defconfig:
>
> User can use FSBL or u-boot-spl.bin anyone at a time.
>
> For FSBL,
> fsbl->fw_payload.bin (opensbi + U-Boot)
>
> For u-boot-spl.bin,
> u-boot-spl.bin->FIT image (opensbi + U-Boot proper + dtb)
On Thu, May 14, 2020 at 7:54 PM Pragnesh Patel
wrote:
>
> Release ethernet clock reset once clock is initialized.
> This is necessary to do as U-Boot proper needs ethernet
> clock.
>
> Signed-off-by: Pragnesh Patel
> ---
> drivers/clk/sifive/fu540-prci.c | 20
> 1 file chang
On Thu, May 14, 2020 at 7:55 PM Pragnesh Patel
wrote:
>
> OpenSBI generic platform support provides platform specific
> functionality based on the FDT passed by previous booting stage.
>
> Depends on OpenSBI commit:
> platform: Add generic FDT based platform support
> (sha1: f1aa9e54e6ae70aeac
On Thu, May 14, 2020 at 7:54 PM Pragnesh Patel
wrote:
>
> Release ddr clock reset once clock is initialized
>
> Signed-off-by: Pragnesh Patel
> ---
> drivers/clk/sifive/fu540-prci.c | 51 +
> 1 file changed, 45 insertions(+), 6 deletions(-)
>
Reviewed-by: Bin Men
On Thu, May 14, 2020 at 7:54 PM Pragnesh Patel
wrote:
>
> Add DDR controller and phy register settings, taken from fsbl
> (https://github.com/sifive/freedom-u540-c000-bootloader.git)
>
> Signed-off-by: Pragnesh Patel
> ---
> .../dts/fu540-hifive-unleashed-a00-ddr.dtsi | 1489 +
On Thu, May 14, 2020 at 7:54 PM Pragnesh Patel
wrote:
>
> Add SiFive fu540 cpu to support RISC-V arch
>
> Signed-off-by: Pragnesh Patel
> ---
> arch/riscv/Kconfig | 1 +
> arch/riscv/cpu/fu540/Kconfig | 15 ++
> arch/riscv/cpu/fu540/Makefile
On Thu, May 7, 2020 at 10:32 PM Bin Meng wrote:
>
> On Thu, May 7, 2020 at 10:13 PM Simon Glass wrote:
> >
> > We don't need to print this information since it is shown when the MTRRs
> > are displayed. Drop it.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > cmd/x86/mtrr.c | 1 -
> > 1 file
Hi Simon,
Am 17.05.20 um 01:03 schrieb Simon Glass:
Hi Stefan,
On Sat, 16 May 2020 at 05:27, Stefan Bosch wrote:
Hello,
recently, I updated my local repository (U-Boot master). Last commit is
c693f212c5b0433b3a49a89d87cbff28bf78eb87 now. Previously it has been
4df3578119b043d76b86b50077b068
On Mon, May 11, 2020 at 4:17 AM Simon Glass wrote:
>
> This board is very close to its limit. Drop this command before the bd
> refactoring, which increases the size slightly on one toolchain.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Add a new patch to drop the 'bd' command for
On Mon, May 11, 2020 at 4:17 AM Simon Glass wrote:
>
> Unfortunately PowerPC has a lot of special stuff. Move it into the generic
> function for now, so we can have it all in one place.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Fix up inadvertent merge of PowerPC/ARM/m68k/arc pa
On Mon, May 11, 2020 at 4:17 AM Simon Glass wrote:
>
> Unfortunately m68k has a lot of special stuff. Move it into the generic
> function for now, so we can have it all in one place.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Fix up inadvertent merge of PowerPC/ARM/m68k/arc patch
On Mon, May 11, 2020 at 4:17 AM Simon Glass wrote:
>
> Unfortunately ARM has a lot of special stuff. Move it into the generic
> function for now, so we can have it all in one place.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Fix up inadvertent merge of PowerPC/ARM/m68k/arc patche
On Mon, May 11, 2020 at 4:17 AM Simon Glass wrote:
>
> There is nothing new in the arc 'bd' command beyond what is already there.
> Switch it over to use the generic code.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Fix up inadvertent merge of PowerPC/ARM/m68k/arc patches
>
> cmd
On Mon, May 11, 2020 at 4:17 AM Simon Glass wrote:
>
> This function only has three lines of code in it so inline it. This helps
> to put all the code in one place for future partitioning.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Update commit message with an extra motivation
>
On Mon, May 11, 2020 at 4:17 AM Simon Glass wrote:
>
> This code pre-dates driver model and the migration date is nearly upon us.
> Pare the print_eths() function down and enable it for driver model, since
> it works correctly.
>
> The IP address is already printed in print_eth_ip_addr() so we can
Hi Bernhard,
On Tue, May 12, 2020 at 3:35 PM Bernhard Messerklinger
wrote:
>
> Only load VBT if it's present in the u-boot.rom.
>
> Signed-off-by: Bernhard Messerklinger
>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> arch/x86/cpu/apollolake/fsp_s.c | 46 ++---
Hi Simon,
On Tue, May 12, 2020 at 3:35 PM Bernhard Messerklinger
wrote:
>
> A the moment the FSP-M configuration is a mix of hard coded values and
> devicetree properties.
> This patch makes FSP-M full configurable from devicetree by adding
> binding properties for all FSP-M parameters.
> Co-deve
Hi Simon,
On Tue, May 12, 2020 at 3:35 PM Bernhard Messerklinger
wrote:
>
> A the moment the FSP-S configuration is a mix of hard coded values and
> devicetree properties.
> This patch makes FSP-S full configurable from devicetree by
> adding binding properties for all FSP-S parameters.
> Co-deve
Am May 17, 2020 12:02:30 PM UTC schrieb Bin Meng :
>On Wed, May 13, 2020 at 2:27 PM Pragnesh Patel
> wrote:
>>
>> When build U-Boot SPL, meet an issue of undefined reference to
>> 'crc7' for drivers/mmc/mmc_spi.c, so let's compile crc7.c when
>> CONFIG_MMC_SPI selected.
>>
>> Signed-off-by: Pragnes
On Thu, May 14, 2020 at 9:16 PM Christian Gmeiner
wrote:
>
> Signed-off-by: Christian Gmeiner
> ---
> arch/x86/cpu/coreboot/tables.c | 14 ++
> arch/x86/include/asm/arch-coreboot/sysinfo.h | 2 ++
> arch/x86/include/asm/coreboot_tables.h | 11 +++
> 3 fil
On Sun, May 17, 2020 at 10:28 PM Heinrich Schuchardt wrote:
>
> Am May 17, 2020 12:02:30 PM UTC schrieb Bin Meng :
> >On Wed, May 13, 2020 at 2:27 PM Pragnesh Patel
> > wrote:
> >>
> >> When build U-Boot SPL, meet an issue of undefined reference to
> >> 'crc7' for drivers/mmc/mmc_spi.c, so let's c
Hi Bin,
>-Original Message-
>From: Bin Meng
>Sent: 17 May 2020 18:30
>To: Pragnesh Patel
>Cc: U-Boot Mailing List ; Atish Patra
>; Palmer Dabbelt ; Paul
>Walmsley ; Jagan Teki
>; Anup Patel ; Sagar
>Kadam ; Rick Chen ; Palmer
>Dabbelt ; Lukas Auer
>; Simon Glass
>Subject: Re: [PATCH v10
Hi Bin,
>-Original Message-
>From: Bin Meng
>Sent: 17 May 2020 18:28
>To: Pragnesh Patel
>Cc: U-Boot Mailing List ; Atish Patra
>; Palmer Dabbelt ; Paul
>Walmsley ; Jagan Teki
>; Anup Patel ; Sagar
>Kadam ; Rick Chen ; Palmer
>Dabbelt
>Subject: Re: [PATCH v10 17/18] configs: fu540: Add
Hi Bin,
>-Original Message-
>From: Bin Meng
>Sent: 17 May 2020 17:38
>To: Pragnesh Patel
>Cc: U-Boot Mailing List ; Atish Patra
>; Palmer Dabbelt ; Paul
>Walmsley ; Jagan Teki
>; Anup Patel ; Sagar
>Kadam ; Rick Chen ; Palmer
>Dabbelt ; Kever Yang ;
>YouMin Chen ; Giulio Benetti
>; Kevin
On Mon, May 11, 2020 at 4:34 AM Simon Glass wrote:
>
> This always has a fixed ACPI name so add it as a driver function.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Wolfgang Wallner
> ---
>
> Changes in v2: None
> Changes in v1:
> - Capitalise ACPI_OPS_PTR
>
> drivers/core/root.c | 13 +++
Hi Pragnesh,
On Sun, May 17, 2020 at 10:37 PM Pragnesh Patel
wrote:
>
> Hi Bin,
>
> >-Original Message-
> >From: Bin Meng
> >Sent: 17 May 2020 18:28
> >To: Pragnesh Patel
> >Cc: U-Boot Mailing List ; Atish Patra
> >; Palmer Dabbelt ; Paul
> >Walmsley ; Jagan Teki
> >; Anup Patel ; Sagar
> Subject: Re: [PATCH 2/2] thermal: imx_scu_thermal: fix getting DT alert
> property value
>
> Hi Peng,
>
> On Sun, 17 May 2020 10:04:58 +
> Peng Fan peng@nxp.com wrote:
>
> > Hi Anatolij,
> >
> > > Subject: [PATCH 2/2] thermal: imx_scu_thermal: fix getting DT alert
> > > property valu
> On Sat, May 16, 2020 at 08:10:04AM +, Peng Fan wrote:
> > Hi Tom,
> >
> > > -Original Message-
> > > From: U-Boot On Behalf Of Tom Rini
> > > Sent: 2020年5月12日 6:29
> > > To: u-boot@lists.denx.de
> > > Cc: u-boot-custodi...@lists.denx.de;
> > > u-boot-board-maintain...@lists.denx.de
>
On Sun, 17 May 2020 14:43:39 +
Peng Fan peng@nxp.com wrote:
...
> > CPU Temperature (35000C) has beyond alert (0C), close to critical (0C)
> > waiting...
>
> Sorry for not be clear, I mean which code change breaks the boot?
I didn't bisect this, so I do not know exactly.
Last working re
On Mon, May 11, 2020 at 4:34 AM Simon Glass wrote:
>
> Add a function to build up the ACPI path for a device and another for its
> scope.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Wolfgang Wallner
> ---
>
> Changes in v2: None
> Changes in v1:
> - Split into more patches for review
> - Add t
Use this macro to fully fill the PCI device ID table. This is mandatory
for the DM PCI support, which checks all the fields.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
Use struct pcnet_priv all over the place instead.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index f97e7f8c6a..f34fc4abbf
All of one PCNET users has this option set, make this default
and drop this config option.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 5 -
include/configs/malta.h | 1 -
2 files changed, 6 deletions(-)
diff --git a/drivers/net/pcnet
The private data allocation does not have to be done every time the
NIC is initialized at run time, move the allocation to initialize
function, which means it will be done only once when the driver
starts.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pc
Move the function at the end of the driver, so we could drop
various forward declarations later. No functional change.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 180 ++--
1 file changed, 89 insertions
Remove those as they are not needed anymore.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index ec8d080794..3e04781aa4 100644
--- a/drivers/net/pc
This combination of functions can be replaced with calloc(),
make it so.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index 5bbd290ee
The current code is horribly complex. Both the RX and TX buffer
descriptors are 16 bytes in size, the init block is 32 bytes in
size, so simplify the code such that the entire private data of
the driver are allocated cache aligned and the RX and TX buffer
descriptors are part of the private data.
Get rid of the global point to private data, and rather pass it
thought dev->priv. Also remove the unnecessary check for lp being
non-NULL, since it is always NULL at this point.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 20 ++--
Instead of using eth_device priv for this PCI devbusfn, free it
so it could be used for driver private data, and wrap devbusfn
into those driver private data.
Note that using the name dev for the variable is a trick left for
later, when DM support is in place, so dm_pci_virt_to_mem() can be
used w
Instead of using the non-DM-only iobase in struct eth_device, add
one into the private data to make DM and non-DM operation possible.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 103
1 file changed
Instead of using the non-DM-only name and enetaddr in struct eth_device,
add pointers into the private data which can either point to that non-DM
name or a DM one later on.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 34 +++---
Pull the common parts of functions out so they can be reused by both
DM and non-DM code paths. The recv() function had to be reworked to
fit into this scheme and this means it now only receives one packet
at a time instead of spinning in an endless loop.
Signed-off-by: Marek Vasut
Cc: Daniel Schw
Add Kconfig entries for the pcnet driver and convert MIPS malta
to use those.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
configs/malta_defconfig | 1 +
drivers/net/Kconfig | 6 ++
include/configs/malta.h | 1 -
3 files changed, 7 insertions(+), 1 deletion
With all the changes in place, add support for DM into the
pcnet driver.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
---
drivers/net/pcnet.c | 127 +++-
1 file changed, 126 insertions(+), 1 deletion(-)
diff --git a/drivers/net/
On 5/17/20 12:29 PM, Michael Walle wrote:
> Virtually all callers of this function do the rounding on their own.
> Some do it right, some don't. Instead of doing this in each caller,
> do the rounding in efi_add_memory_map(). Change the size parameter
> to bytes instead of pages and remove aligning
Hi!
This is the v4 of the patchset adding EFI variable support via OP-TEE
originally posted here [1] [2] [3]
changes since v3:
* patch 3:
- remove the default attributes if the user doesn't specify any
- print the EFI error message coming from StMM in case of failure
* patch 6:
- Align t
Add myself as maintainer for the OP-TEE related UEFI variable storage.
Signed-off-by: Ilias Apalodimas
Reviewed-by: Heinrich Schuchardt
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d67112479700..8add9d4c2ae9 100644
--- a/MAINTAINERS
+
In OP-TEE we can run EDK2's StandAloneMM on a secure partition.
StandAloneMM is responsible for the UEFI variable support. In
combination with OP-TEE and it's U-Boot supplicant, variables are
authenticated/validated in secure world and stored on an RPMB partition.
So let's add a new config option
From: Sughosh Ganu
In Arm devices OP-TEE has the ability to run StandAloneMM (from EDK2)
in a separate partition and handle UEFI variables.
A following patch introduces this functionality.
Add the headers needed for OP-TEE <--> StandAloneMM communication
Signed-off-by: Sughosh Ganu
Signed-off-
Previous patches allow UEFI secure variables to be stored in an RPMB
device using OPTEE. Add a config for the lx2160a hardware so the feature
gets at least compiled.
Signed-off-by: Ilias Apalodimas
---
board/freescale/lx2160a/MAINTAINERS | 1 +
configs/lx2160ardb_tfa_stmm_defconfig | 85 +
With the previous patches that use OP-TEE and StandAloneMM for UEFI
variable storage we've added functionality for efi_query_variable_info.
So let's add the relevant command to efidebug and retrieve information
about the container used to store UEFI variables
Signed-off-by: Ilias Apalodimas
---
A defconfig is added on lx2160ardb which allows UEFI variable management
via OP-TEE. Enable the the node in the relevant DTS file.
Signed-off-by: Ilias Apalodimas
---
arch/arm/dts/fsl-lx2160a.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/
1 - 100 of 120 matches
Mail list logo