This commit adds support for the B brsmarc1 SoM.
The SoM is based on TI's AM335x SoC.
Mainly vxWorks 6.9.4.x is running on the board,
doing some PLC stuff on various carrier boards.
Signed-off-by: Hannes Schmelzer
---
Changes in v4:
- rebase to current master
Changes in v3:
- rebase to
On 30/07/19 9:48 PM, Tom Rini wrote:
> On Tue, Jul 30, 2019 at 11:16:19AM -0500, Suman Anna wrote:
>> Hi Lokesh,
>>
>> On 7/29/19 11:08 PM, Lokesh Vutla wrote:
>>>
>>>
>>> On 29/07/19 10:18 PM, Suman Anna wrote:
The K3 System Controller driver is used for loading and starting
the
Hi Anup
> Hi Rick,
>
> On Fri, Jul 26, 2019 at 12:32 PM Rick Chen wrote:
> >
> > Hi Sagar
> >
> > > From: Sagar Kadam [mailto:sagar.ka...@sifive.com]
> > > Sent: Friday, July 19, 2019 7:37 PM
> > > To: Rick Jian-Zhi Chen(陳建志)
> > > Subject: Re: [U-Boot] [PATCH] riscv : serial: use rx watermark
Hi Simon,
On Wed, Jul 31, 2019 at 10:55 AM Simon Glass wrote:
>
> Hi Bin,
>
> On Thu, 23 May 2019 at 08:04, Bin Meng wrote:
> >
> > Hi Simon,
> >
> > On Thu, May 23, 2019 at 8:20 PM Simon Glass wrote:
> > >
> > > Hi Bin,
> > >
> > > I'm looking at Apollo Lake and it seems to use a newer FSP
Hi Bin,
On Thu, 23 May 2019 at 08:04, Bin Meng wrote:
>
> Hi Simon,
>
> On Thu, May 23, 2019 at 8:20 PM Simon Glass wrote:
> >
> > Hi Bin,
> >
> > I'm looking at Apollo Lake and it seems to use a newer FSP version
> > (2.0). The API differences seem to be fairly minor but the packaging
> >
On Tue, Jul 30, 2019 at 4:49 PM Heinrich Schuchardt wrote:
>
> SANDBOX_PHY_REG_CNT is not an allowable index for the array
> u16 reg[SANDBOX_PHY_REG_CNT].
>
> Identified by cppcheck.
>
> Fixes: b47edf8069cc ("test: dm_mdio: add a 2nd register to the emulated PHY")
> Signed-off-by: Heinrich
On Tue, Jul 30, 2019 at 5:01 PM Heinrich Schuchardt wrote:
>
> Do not use random value from stack as return value of pfe_phy_write().
>
> Indicated by cppcheck.
>
> Signed-off-by: Heinrich Schuchardt
Acked-by: Joe Hershberger
___
U-Boot mailing list
On Tue, Jul 30, 2019 at 8:41 AM Matt Pelland wrote:
>
> mvpp2 already has support for setting MAC addresses but this
> functionality was not exposed to the ethernet core. This commit exposes
> this functionality so that MAC address assignments stored in U-Boot's
> environment are correctly
Do not use random value from stack as return value of pfe_phy_write().
Indicated by cppcheck.
Signed-off-by: Heinrich Schuchardt
---
drivers/net/pfe_eth/pfe_mdio.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/pfe_eth/pfe_mdio.c
Don't allow unterminated strings
Signed-off-by: Joe Hershberger
---
net/mdio-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c
index 36a404ff44..1c0d25272a 100644
--- a/net/mdio-uclass.c
+++ b/net/mdio-uclass.c
@@ -75,7 +75,7 @@
Document that the lack of breaks is intentional.
Signed-off-by: Joe Hershberger
---
cmd/mdio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/mdio.c b/cmd/mdio.c
index add6440813..22c8fbe856 100644
--- a/cmd/mdio.c
+++ b/cmd/mdio.c
@@ -253,12 +253,13 @@ static int
On Sun, Jul 28, 2019 at 9:27 AM Simon Glass wrote:
>
> Add an ENV prefix to these two flags so that it is clear what they relate
> to. Also move them to env.h since they are part of the public API. Use an
> enum rather than a #define to tie them together.
>
> Signed-off-by: Simon Glass
> ---
>
>
SANDBOX_PHY_REG_CNT is not an allowable index for the array
u16 reg[SANDBOX_PHY_REG_CNT].
Identified by cppcheck.
Fixes: b47edf8069cc ("test: dm_mdio: add a 2nd register to the emulated PHY")
Signed-off-by: Heinrich Schuchardt
---
v2
the same error occurs twice
---
SANDBOX_PHY_REG_CNT is not an allowable index for the array
u16 reg[SANDBOX_PHY_REG_CNT].
Identified by cppcheck.
Fixes: b47edf8069cc ("test: dm_mdio: add a 2nd register to the emulated PHY")
Signed-off-by: Heinrich Schuchardt
---
drivers/net/mdio_sandbox.c | 2 +-
1 file changed, 1
On Sun, Jul 28, 2019 at 9:28 AM Simon Glass wrote:
>
> This typedef does not need to be defined in the search.h header since it
> is only used in one file (hashtable.c). Remove it from the header and
> change it to a struct.
>
> Signed-off-by: Simon Glass
> ---
>
> include/search.h | 2 +-
>
On Sun, Jul 28, 2019 at 9:29 AM Simon Glass wrote:
>
> There doesn't seem to be any good reason for using __ in the arguments in
> this header file. A double underscore is usually reserved for compiler
> features.
>
> Drop these and remove the unnecessary 'extern' as well.
>
> Signed-off-by:
The array bounds have to be checked before accessing the array element.
Identified by cppcheck.
Fixes: 67ac6ffaeefb ("mtd: nand: davinci: add opportunity to write keystone
U-boot image")
Signed-off-by: Heinrich Schuchardt
---
drivers/mtd/nand/raw/davinci_nand.c | 4 ++--
1 file changed, 2
On Sun, Jul 28, 2019 at 9:28 AM Simon Glass wrote:
>
> These definitions are effectively part of the 'public' API of the
> environment implementation since they do not require access to any
> internal variables. Move them to the env.h header.
>
> Signed-off-by: Simon Glass
Acked-by: Joe
On Sun, Jul 28, 2019 at 9:29 AM Simon Glass wrote:
>
> The name 'environment' is widely used in U-Boot so is not a very useful
> name of a variable. Rename it to better indicate its purpose.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
On Sun, Jul 28, 2019 at 9:29 AM Simon Glass wrote:
>
> Move env_reloc() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:27 AM Simon Glass wrote:
>
> This function is not defined or used in U-Boot. Drop it.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
On Sun, Jul 28, 2019 at 9:26 AM Simon Glass wrote:
>
> Move env_get_char() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:24 AM Simon Glass wrote:
>
> This header file is now only used by files that access internal
> environment features. Drop it from various places where it is not needed.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
On Sun, Jul 28, 2019 at 9:24 AM Simon Glass wrote:
>
> Move env_set() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:24 AM Simon Glass wrote:
>
> U-Boot is not supposed to use typedef for structs anymore. Also this name
> is the same as the ENTRY() macro used in assembler files, and 'entry'
> itself is widely used in U-Boot (>8k matches).
>
> Drop the typedef and rename the struct to
On Sun, Jul 28, 2019 at 9:24 AM Simon Glass wrote:
>
> This declaration is only used in three files. Although it relates to
> malloc() it is actually only used during malloc() init. It uses CONFIG
> options including CONFIG_ENV_ADDR which are defined only in environment.h
> so this header must be
On Sun, Jul 28, 2019 at 9:22 AM Simon Glass wrote:
>
> Avoid using a typedef here which is unnecessary. Add an 'env_' prefix to
> both the enum and its members to make it clear that these are related to
> the environment.
>
> Add an ENV prefix to these two flags so that it is clear what they
On Sun, Jul 28, 2019 at 9:22 AM Simon Glass wrote:
>
> Move env_set_ulong() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:22 AM Simon Glass wrote:
>
> Move env_get() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
First thing we check in meson_clk_set_rate_by_id() is current_rate == rate.
There is not need to check it again.
Signed-off-by: Heinrich Schuchardt
---
drivers/clk/meson/gxbb.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/clk/meson/gxbb.c
On Sun, Jul 28, 2019 at 9:22 AM Simon Glass wrote:
>
> This file contains lots of internal details about the environment. Most
> code can include env.h instead, calling the functions there as needed.
>
> Rename this file and add a comment at the top to indicate its internal
> nature.
>
>
On Sun, Jul 28, 2019 at 9:15 AM Simon Glass wrote:
>
> Move envmatch() over to the new header file. Also rename it to env_match()
> to better line up with other functions.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing
On Sun, Jul 28, 2019 at 9:21 AM Simon Glass wrote:
>
> Move eth_parse_enetaddr() and env_fix_drivers() over to the new header
> file.
>
> Signed-off-by: Simon Glass
> ---
>
> cmd/ethsw.c | 1 +
> include/env.h | 16
> include/environment.h | 7 ---
> 3
On Sun, Jul 28, 2019 at 9:21 AM Simon Glass wrote:
>
> Move this function to the new header file and rename it so it has an env_
> prefix.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
On Sun, Jul 28, 2019 at 9:20 AM Simon Glass wrote:
>
> Move these functions to the new header file.
>
> Signed-off-by: Simon Glass
Nit below.
Acked-by: Joe Hershberger
>
> include/env.h | 38 ++
> include/environment.h | 12
> 2 files
On Sun, Jul 28, 2019 at 9:19 AM Simon Glass wrote:
>
> Move these function to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:19 AM Simon Glass wrote:
>
> This enum is somewhat widely used to determine if the environment is valid
> or not. Move it to the common environment header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
On Sun, Jul 28, 2019 at 9:16 AM Simon Glass wrote:
>
> Move these two functions over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:12 AM Simon Glass wrote:
>
> Move these functions to the new header file and rename set_default_env()
> to env_set_default() so that it has a consistent env_ prefix.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
On Sun, Jul 28, 2019 at 9:09 AM Simon Glass wrote:
>
> Move env_get_ulong() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:16 AM Simon Glass wrote:
>
> Move env_init() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 12/30/14 3:32 AM, Simon Glass wrote:
Allow the supported modes to be listed when in debug mode.
Signed-off-by: Simon Glass
---
drivers/bios_emulator/atibios.c | 161 +++-
include/vbe.h | 9 ++-
2 files changed, 148 insertions(+),
On Sun, Jul 28, 2019 at 9:12 AM Simon Glass wrote:
>
> At present we have environment.h but this file includes all the
> environment-related header files as well as internals such as
> default_environment.
>
> It seems desirable to have a new header to hold the commonly used
> environment
On Sun, Jul 28, 2019 at 9:11 AM Simon Glass wrote:
>
> Move this function over to the new header file. Also rename it to have an
> env_ prefix like the other functions.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
On Sun, Jul 28, 2019 at 9:11 AM Simon Glass wrote:
>
> Move this function over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:10 AM Simon Glass wrote:
>
> Move env_set_hex() over to the new header file along with env_set_addr()
> which uses it.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
On Sun, Jul 28, 2019 at 9:10 AM Simon Glass wrote:
>
> Move env_get_yesno() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:09 AM Simon Glass wrote:
>
> Move env_get_hex() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Sun, Jul 28, 2019 at 9:09 AM Simon Glass wrote:
>
> Move env_relocate() over to the new header file.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> From: Laurentiu Tudor
>
> Add ICID setup for the platform devices contained on this chip: usb,
> sata, sdhc, edma, qdma, gpu, display and sec.
>
> Signed-off-by: Laurentiu Tudor
Reviewed-by: Horia Geantă
Thanks,
Horia
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> From: Laurentiu Tudor
>
> Add ICID setup for the platform devices contained on this chip: usb,
> sata, sdhc, sec. The ICID macros for SEC needed to be adapted because
> the format of the registers is different.
>
> Signed-off-by: Laurentiu
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> From: Laurentiu Tudor
>
> The current implementation assumes that the registers holding the ICIDs
> are universally big endian. That's no longer the case on newer
> platforms so update the code to take into account the endianness of
> each
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> From: Laurentiu Tudor
>
> Add defines for all the SEC job rings base addresses.
>
> Signed-off-by: Laurentiu Tudor
Reviewed-by: Horia Geantă
Thanks,
Horia
___
U-Boot mailing list
Use efi_uintn_t where the UEFI spec uses UINTN. Use efi_uintn_t also for
the result of the division of two efi_uintn_t.
Signed-off-by: Heinrich Schuchardt
---
v2
no change
---
include/efi_api.h| 4 ++--
lib/efi_loader/efi_runtime.c | 14 +++---
2 files changed, 9
Now that ConvertPointer() is implemented throw an error if the result is
incorrect.
Signed-off-by: Heinrich Schuchardt
---
v2
no change
---
.../efi_selftest_set_virtual_address_map.c| 30 ++-
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git
Implement the ConvertPointer() runtime service.
Suggested-by: AKASHI Takahiro
Signed-off-by: Heinrich Schuchardt
---
v2
replace || by | when setting RuntimeServicesSupported variable
---
lib/efi_loader/efi_runtime.c | 75 ++--
1 file changed, 71
Correct the signature of efi_virtual_address_map().
Implement the ConvertPointer() runtime service.
Adjust the unit test for ConvertPointer().
v2
replace || by | when setting RuntimeServicesSupported variable
Heinrich Schuchardt (4):
efi_selftest: fix SetVirtualAddressMap unit test
We read the address map before assigning the memory for the pages that will
be mapped to virtual addresses. So these pages will overlap with the entry
for EFI_CONVENTIONAL_MEMORY. We have to ensure that every page is described
at most once in the map.
Remove EFI_CONVENTIONAL_MEMORY from the map
Hi Tom,
here some more video patches I missed to include in the recent pull request.
Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/565440648
Thanks,
Anatolij
The following changes since commit 970baf16d1322d3930a57fc78ddfb15d594d690c:
video: arm: rpi: Bail out early if querying
Signed-off-by: Patrick Delaunay
---
drivers/ram/stm32mp1/stm32mp1_ddr.h | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/ram/stm32mp1/stm32mp1_ddr.h
b/drivers/ram/stm32mp1/stm32mp1_ddr.h
index a8eed89..52b748f 100644
--- a/drivers/ram/stm32mp1/stm32mp1_ddr.h
+++
Hello Anup,
On Tue, Jul 30, 2019 at 9:12 AM Anup Patel wrote:
>
> On Mon, Jul 29, 2019 at 6:13 PM Sagar Shrikant Kadam
> wrote:
> >
> > This patch aligns the current implementation of HiFive Unleashed
> > board configuration framework with the one described in doc/README.kconfig.
> >
> >
Avoid compilation issue when CONFIG_LED is not activated
Signed-off-by: Patrick Delaunay
---
board/st/stm32mp1/stm32mp1.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index 61a4253..181409c 100644
---
Activate command BMP for splash screen support
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_optee_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
3 files changed, 3 insertions(+)
diff --git a/configs/stm32mp15_basic_defconfig
Backlight of panel raydium RM68200 is controlled by a simple gpio,
thus we activate the support for the needed driver.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_optee_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
3 files
Add management of Bit 1 of USART_ISR = FE: Framing error
This bit is set by hardware when a de-synchronization, excessive noise
or a break character is detected. It is cleared by software, writing 1
to the FECF bit in the USART_ICR register (for stm32 after f4).
Signed-off-by: Patrick Delaunay
Add the missing driver and files for mach-stm32mp / stm32mp1 product.
Signed-off-by: Patrick Delaunay
---
MAINTAINERS | 19 +--
board/st/stm32mp1/MAINTAINERS | 5 +++--
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
Create a function led_error_blink and add node in device
tree.
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 21 --
board/st/stm32mp1/stm32mp1.c | 48 ++--
2 files changed, 39 insertions(+), 30 deletions(-)
The "serial_stm32.h" is only used by drivers/serial/serial_stm32.c
and it is the file ./drivers/serial/serial_stm32.h
Signed-off-by: Patrick Delaunay
---
include/dm/platform_data/serial_stm32.h | 15 ---
1 file changed, 15 deletions(-)
delete mode 100644
Select the serial driver mandatory for the console.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Kconfig | 1 +
configs/stm32mp15_basic_defconfig | 1 -
configs/stm32mp15_optee_defconfig | 1 -
configs/stm32mp15_trusted_defconfig | 1 -
4 files changed, 1 insertion(+), 3
From: Christophe Kerello
This patch solves a watchdog reset issue during mmc erase command.
Signed-off-by: Christophe Kerello
Signed-off-by: Patrick Delaunay
---
drivers/mmc/stm32_sdmmc2.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/stm32_sdmmc2.c
Remove many debug trace.
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32mp1.c | 21 -
1 file changed, 4 insertions(+), 17 deletions(-)
diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c
index 5806d48..359c2b9 100644
---
Allow to disable console with environment variable 'silent':
> env set silent 1; env save
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index 9dc3c4d..e5f05af
Activate DISABLE_CONSOLE needed for stm32prog support on uart.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index 0de9b3e..cee3ce1 100644
---
Activate command DM_VIDEO for LCD support
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_optee_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
3 files changed, 3 insertions(+)
diff --git a/configs/stm32mp15_basic_defconfig
Add imply for FDT overlay that can be usefuill for kernel device tree
management but it is not mandatory (can be removed to gain space)
Signed-off-by: Patrick Delaunay
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index
Avoid U-Boot auto-boot interruption for line break detection
on console when the RX line connected to STLINK is floating
(-IO error in getc cause by framing error and testc return 1)
Same workaround is applied on all the STMicroelectonics board.
Signed-off-by: Patrick Delaunay
---
Don't compile psci for SPL build.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-stm32mp/Makefile b/arch/arm/mach-stm32mp/Makefile
index 7745060..299f9a7 100644
---
Only activate WATCHDOG in SPL when CONFIG_WATCHDOG is activated in U-Boot.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index cee3ce1..187be17
MTD is only use if NAND or NOR driver is activated.
Signed-off-by: Patrick Delaunay
---
include/configs/stm32mp1.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index 033291e..b2b8660 100644
--- a/include/configs/stm32mp1.h
+++
Second serie of patches for stm32mp1 support in U-Boot
- sync device tree with kernel v5.3-rc2
- update configs
- update board stm32mp1
- few ram and clk driver update
Christophe Kerello (1):
mmc: stm32_sdmmc2: reload watchdog
Patrice Chotard (2):
pinctrl: pinctrl_stm32: cosmetic: Reorder
Avoid watchdog during infinite DDR test.
Signed-off-by: Patrick Delaunay
---
drivers/ram/stm32mp1/stm32mp1_tests.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ram/stm32mp1/stm32mp1_tests.c
b/drivers/ram/stm32mp1/stm32mp1_tests.c
index 7356802..f947b5d 100644
---
Depending on backup register value, we maintain the debug unit
powered-on for debugging purpose.
Only BUCK1 is required for powering the debug unit, so revert
the setting for all the other power lanes, except BUCK3 that
has to be always on.
Signed-off-by: Patrick Delaunay
---
Reduce verbosity of the infinite tests to avoid CubeMX issue.
test and display loop by 1024*1024 accesses: read or write.
Signed-off-by: Patrick Delaunay
---
drivers/ram/stm32mp1/stm32mp1_tests.c | 38 +++
1 file changed, 25 insertions(+), 13 deletions(-)
diff
Use existing gd structure to store frequency information
which can be used in drivers or arch without new request.
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32mp1.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/clk_stm32mp1.c
for the moment basic and trusted configuration must
start CPU in Supervisor mode and not in Hypervisor
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/stm32mp15_basic_defconfig
Add pattern for infinite test_read and test_write, that
allow to change the pattern to test without recompilation;
default pattern is 0xA5A5AA55.
Signed-off-by: Patrick Delaunay
---
drivers/ram/stm32mp1/stm32mp1_tests.c | 31 ---
1 file changed, 20 insertions(+), 11
Use the default value from lib/Kconfig.
Signed-off-by: Patrick Delaunay
---
include/configs/stm32mp1.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index 1bed570..033291e 100644
--- a/include/configs/stm32mp1.h
+++
- reorder include files
- remove one comment
Signed-off-by: Patrick Delaunay
---
board/st/stm32mp1/stm32mp1.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index a67e33e..7085bd5 100644
---
Allows to avoid to wait 2 second in U-Boot before to
start STM32CubeProgrammer command.
Signed-off-by: Patrick Delaunay
---
board/st/stm32mp1/stm32mp1.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index 181409c..c61a562
This patch adds independent watchdog support for stm32mp157c
in SPL.
Signed-off-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp157-u-boot.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/stm32mp157-u-boot.dtsi
Remove CONFIG_SPI_FLASH_BAR as the SPI NOR layer uses stateless
4 byte opcodes by default.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 1 -
configs/stm32mp15_optee_defconfig | 1 -
configs/stm32mp15_trusted_defconfig | 1 -
3 files changed, 3 deletions(-)
diff
Avoid compilation issue when CONFIG_ADC is not activated
Signed-off-by: Patrick Delaunay
---
board/st/stm32mp1/stm32mp1.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index a96e675..a67e33e 100644
---
Update DDR configuration with the latest update:
- Change DQSGE to 1 for DDR3, to cure missing DQS preamble.
Signed-off-by: Nicolas Le Bayon
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi | 4 ++--
arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi | 5
As for Audio codec IC, HDMI IC is not "IO safe".
HDMI regulators (v3v3 and v1v2) must be enabled to allow
I2C1 bus usage. HDMI IC must be under reset during power up
and keep HDMI and AUDIO devices in reset while they are not
used in U-Boot to keep them in low power mode
(each device can be kept
Allow to use PA13 and PA14 to force fastboot mode or STM32CubeProgrammer
mode.
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
Due to kernel DT alignment, pwr-supply is renamed to vdd-supply
and is a subnode of pwr-regulators.
Signed-off-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp157a-avenger96.dts | 5 -
arch/arm/dts/stm32mp157a-dk1.dts | 5 -
Correctly handle silent=1 in the default environment.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index e5f05af..7efe464 100644
---
Synchronize device tree with v5.3-rc2 label and
update the associated u-boot dtsi.
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp157-pinctrl.dtsi | 234 ++-
arch/arm/dts/stm32mp157a-avenger96.dts | 39 +++---
arch/arm/dts/stm32mp157a-dk1.dts
Add the boot for NOR, SPL load U-Boot.img at offset
CONFIG_SYS_SPI_U_BOOT_OFFS = 0x8.
It is the start address of mtd partition ssbl in nor.
Signed-off-by: Christophe Kerello
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Kconfig | 1 +
include/configs/stm32mp1.h| 5 +
2
If user choose to test memory size is 1GByte (0x4000),
memory address would overflow in test "Random" and
test "FrequencySelectivePattern".
Thus the system would hangs up when running DDR test.
Signed-off-by: Patrick Delaunay
Signed-off-by: Bossen WU
---
1 - 100 of 181 matches
Mail list logo