On 6/12/22 12:19 AM, Sean Anderson wrote:
The synopsis section is a bit messy. As an example, "uimage file name" is
printed in italics, bold, and roman (depending on the line). This cleans
things up and converts the synopsis section to use standard style. The
.SY/.YS macros set up appropriate fom
This makes a variety of changes for the options to make them
typographically consistent, clarify their meaning, and fix grammatical (or
other) errors. Many of the changes here are stylistic, though there are a
few bug fixes (such as one option being documented twice). The main changes
I made across
In leiu of a non-standard HOMEPAGE section, add a BUGS section with a link
to the issue tracker.
Signed-off-by: Sean Anderson
---
doc/mkimage.1 | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index 4a11c4ce25..80ecb3c3fe 100644
--- a/doc/
This tool seems a bit underloved. Unfortunately, it seems to be missing
support for FIT images. Alas...
Add a man page documenting it. The example is taken from commit a804b5ce2d
("Add dumpimage, a tool to extract data from U-Boot images").
Signed-off-by: Sean Anderson
---
doc/dumpimage.1 | 10
Per man-pages(7), "use of an AUTHORS section is strongly discouraged."
Remove it, and instead add some copyright notices and an SPDX. The default
license for U-Boot is GPL2, so that's what I put. The very first line is a
hint that this man page uses tables. man(1) determines the format of a man
pag
The description in NAME should not be capitalized. Fix a grammatical error
as well.
Signed-off-by: Sean Anderson
---
doc/mkimage.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index ae1ddbc330..b4296fddcc 100644
--- a/doc/mkimage.1
+++ b/doc/
This adds a SEE ALSO section to link to similar man pages, as well as to
the U-Boot documentation.
Signed-off-by: Sean Anderson
---
doc/mkimage.1 | 8
1 file changed, 8 insertions(+)
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index 80ecb3c3fe..6f4b66f046 100644
--- a/doc/mkimage.1
+++
The -l option is documented twice. Remove the second documentation. The
first documentation also suggests an implied second uimage-file-name
parameter. E.g.
mkimage [-l uimage-file-name] uimage-file-name
This is misleading, so remove it. Wrap a few lines to 80 characters as
well.
Signed-
Blank lines do not have well-defined semantics in fill mode (the default).
Instead, use empty requests (.) where vertical space is necessary for
readability. There are a few places where we use a paragraph instead.
Signed-off-by: Sean Anderson
---
doc/mkimage.1 | 110 +--
Square brackets are commonly used to denote optional parts of a command.
However, all option arguments are mandatory. Remove these brackets. This
also removes some unnecessary quotation marks, and uses hyphens to connect
words in option arguments.
Signed-off-by: Sean Anderson
---
doc/mkimage.1
This puts each example in a new paragraph and uses a hanging indent for
continued lines to increase clarity.
Signed-off-by: Sean Anderson
---
doc/mkimage.1 | 35 +++
1 file changed, 35 insertions(+)
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index 5ae3d92508..b9
The options are divided up into several subsections. Use the appropriate
macro. While we're at it, rename the headings to better reflect the
contents of their sections.
Signed-off-by: Sean Anderson
---
doc/mkimage.1 | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/doc
The synopsis section is a bit messy. As an example, "uimage file name" is
printed in italics, bold, and roman (depending on the line). This cleans
things up and converts the synopsis section to use standard style. The
.SY/.YS macros set up appropriate fomatting for command synopsis sections
(such a
This gives a facelift for the mkimage man page, bringing it in line with the
style perscribed by man-pages(7) and groff_man_style(7). I have tried to remove
typographical and grammatical errors and inconsistencies wherever possible. The
man page now both looks and feels closer to other Linux man pa
On Sat, Jun 11, 2022 at 05:22:08AM +, Heinrich Schuchardt wrote:
> Allow creating boot options without file path, e.g.
>
> efidebug boot add -b 0001 'short dev only' host 0:1 ''
> efidebug boot add -B 0002 'long dev only' host 0:1 ''
So the "subject" is a bit misleading.
Your intensio
From: Adrian Fiergolski
Add supporting new compatible string "u-boot,zynqmp-fpga-enc" to
handle loading encrypted bitfiles.
This feature requires encrypted FSBL, as according to UG1085:
"The CSU automatically locks out the AES key, stored in either BBRAM
or eFUSEs, as a key source to the AES en
Add supporting new compatible string "u-boot,zynqmp-fpga-ddrauth" to
handle loading authenticated images (DDR).
Based on solution by Jorge Ramirez-Ortiz
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- Support DDR images only if FPGA_LOAD_SECURE enabled.
boot/Kconfig
Check whether the FPGA ZynqMP driver supports the given bitstream
image type.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- fix grammar;
drivers/fpga/zynqmppl.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynq
Optimize function code preparing to add secure bitstream types
support.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zy
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/spartan2.c | 2 +-
drivers/fpga/spartan3.c | 2 +-
drivers/fpga/versalpl.c | 2 +-
drivers/fpga/virtex2.c | 2 +-
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
boot/image-board.c| 4 ++--
cmd/fpga.c| 8
common/spl/spl_fit.c | 6 --
drivers/fpga/fpga.c | 5
Convert taken FPGA image "compatible" string to a binary compatible
flag and pass it to an FPGA driver.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- made the message about ignoring legacy compatibe option as debug
common/spl/spl_fit.c | 10 +++---
1 file changed, 7 insertions(+),
This flag is used to check whether a Xilinx FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/fpga.c | 2 +-
drivers/fpga/xilinx.c | 2 +-
include/xilinx.h | 2 +-
3 files changed, 3 insertions(+), 3 de
Add a "compatible" string to binary flag converter, which uses
a callback str2flag() of given FPGA driver if available.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- fix mixed types of return value;
drivers/fpga/fpga.c | 24
include/fpga.h | 1 +
2 files
Add a call to convert FPGA "compatible" string to a binary flag.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
drivers/fpga/zynqmppl.c | 9 +
include/xilinx.h| 1 +
2 files changed, 10 insertions(+)
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c
in
Store a set of supported bitstream types in xilinx_desc structure.
It will be used to determine whether an FPGA image is able to be
loaded with a given driver.
Signed-off-by: Oleksandr Suvorov
---
Changes in v10:
- move FPGA flags to macros;
- initialize xilinx_desc structs directly, removing *_
Function definition arguments should also have identifier names.
Add missed ones to struct xilinx_fpga_op callbacks, unifying code.
Signed-off-by: Oleksandr Suvorov
---
(no changes since v1)
include/xilinx.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/include
It allows using this feature without enabling the "fpga loads"
command.
Signed-off-by: Oleksandr Suvorov
Tested-by: Ricardo Salveti
Co-developed-by: Adrian Fiergolski
Signed-off-by: Adrian Fiergolski
---
(no changes since v1)
cmd/Kconfig | 3 ++-
drivers/fpga/Kconfig| 14 ++
This patchset introduces support for the authenticated and encrypted
FPGA images on ZynqMP boards, besides that introducing common way to
pass the compatible property to any fpga driver.
It bases on the initial work by Jorge Ramirez-Ortiz
https://patchwork.ozlabs.org/project/uboot/patch/2021101
From: Rafał Miłecki
MTD subsystem API allows interacting with MTD devices (e.g. reading,
writing, handling bad blocks). So far a random driver could get MTD
device only by its name (get_mtd_device_nm()). This change allows
getting them also by a DT node.
This API is required for drivers handling
From: Rafał Miłecki
U-Boot stores its setup as environment variables. It's a list of
key-value pairs stored on flash device with a custom header.
This commit adds an NVMEM driver that:
1. Provides NVMEM access to environment vars binary data
2. Extracts variables as NVMEM cells
Current Linux's
El Fri, Jun 10, 2022 at 11:32:59PM -0700, RisingEdgeIndustries deia:
> Hello,
>
> I'm trying to update some of the u-boot environment variables when I build
> my linux Image using petalinux for the zynq 7000 (zedboard).
>
Hello, not an expert, but I hope I can help and that people correct me i f
On 6/2/22 9:05 AM, Patrick Delaunay wrote:
Prepare the support of STM32MP13 RCC, the reset and clock controller
- update of the RCC MISC driver to bind the correct clock and reset driver
- reset driver, same than STM32MP15x = drivers/reset/stm32-reset.c
- clock driver, add a stm32 sub directory
On 4/30/22 11:38 PM, Samuel Holland wrote:
Since the D1 CCU binding is defined, we can add support for its
gates/resets, following the pattern of the existing drivers.
Signed-off-by: Samuel Holland
---
drivers/clk/sunxi/Kconfig | 6 +
drivers/clk/sunxi/Makefile
On 5/17/22 3:42 AM, Patrick DELAUNAY wrote:
Hi Sean,
On 5/11/22 18:48, Sean Anderson wrote:
On 5/10/22 5:51 AM, Amelie Delaunay wrote:
Hi Patrick,
Hi Sean,
On 5/9/22 16:37, Patrick DELAUNAY wrote:
Hi Sean,
On 5/8/22 20:21, Sean Anderson wrote:
On 4/26/22 8:37 AM, Patrick Delaunay wrote:
A
Hi Marek,
Am Sa., 11. Juni 2022 um 12:15 Uhr schrieb Marek Vasut :
>
> On 6/11/22 08:09, Heiko Thiery wrote:
> > With the move to use DM_CLK the boards uart stops working. The used
> > properties are not supported by the imx8mq clock driver. Thus
> > the correct baudrate cannot be selected. Remove
On Sat, Jun 11, 2022 at 02:59:39PM +0200, Heiko Thiery wrote:
> Hi Tom,
>
> Am Sa., 11. Juni 2022 um 14:51 Uhr schrieb Tom Rini :
> >
> > On Sat, Jun 11, 2022 at 07:51:59AM +0200, Heiko Thiery wrote:
> > > Hi Tom,
> > >
> > > Am Fr., 3. Juni 2022 um 21:49 Uhr schrieb Tom Rini :
> > > >
> > > > On
On Sat, Jun 11, 2022 at 11:43:48AM +0300, Roger Quadros wrote:
> On 10/06/2022 16:42, Tom Rini wrote:
> > On Mon, May 09, 2022 at 10:29:35AM +0300, Roger Quadros wrote:
> >
> >> This is required for overlays to work at SPL.
> >>
> >> Signed-off-by: Roger Quadros
> >
> > This breaks booting my dr
Hi Tom,
Am Sa., 11. Juni 2022 um 14:51 Uhr schrieb Tom Rini :
>
> On Sat, Jun 11, 2022 at 07:51:59AM +0200, Heiko Thiery wrote:
> > Hi Tom,
> >
> > Am Fr., 3. Juni 2022 um 21:49 Uhr schrieb Tom Rini :
> > >
> > > On Mon, May 23, 2022 at 07:38:27PM +0800, Peng Fan (OSS) wrote:
> > >
> > > > From: P
On Sat, Jun 11, 2022 at 07:51:59AM +0200, Heiko Thiery wrote:
> Hi Tom,
>
> Am Fr., 3. Juni 2022 um 21:49 Uhr schrieb Tom Rini :
> >
> > On Mon, May 23, 2022 at 07:38:27PM +0800, Peng Fan (OSS) wrote:
> >
> > > From: Peng Fan
> > >
> > > Since the power domain driver default select CONFIG_CLK, so
On 11/06/2022 13:32, Peng Fan (OSS) wrote:
> 在 2022/6/11 0:47, Alper Nebi Yasak 写道:
>> I have sent a patch [1] that fixes the build error mentioned here, which
>> should be used instead of this patch. Please:
>>
>> - Rebase on top of that series [1]
>> - Maybe drop config changes in 1/8 and 2/8 (th
From: Peng Fan
Support build i.MX93 container image with mkimage
Signed-off-by: Peng Fan
---
include/imx8image.h | 15 +++--
tools/imx8image.c | 79 +
2 files changed, 78 insertions(+), 16 deletions(-)
diff --git a/include/imx8image.h b/includ
From: Peng Fan
Add ethernet support
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 7 +
board/freescale/imx93_evk/imx93_evk.c | 32 +++
configs/imx93_11x11_evk_defconfig | 9 +++
3 files changed, 48 insertions(+)
diff --git a/
From: Peng Fan
i.MX has specific hook to get MAC address, so introduce a hook and move
i.MX code to its own driver
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 9 ++---
drivers/net/dwc_eth_qos.h | 1 +
drivers/net/dwc_eth_qos_imx.c | 12 +++-
3 files changed, 1
From: Ye Li
Since new atheros PHY driver needs to access its PHY node through
phy device, we have to assign the phy node in ethernet controller
driver. Otherwise the PHY driver will fail to get some nodes
and properties.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos
From: Peng Fan
Move i.MX code to a standalone file to make it easy for adding new
platform support
Signed-off-by: Peng Fan
---
drivers/net/Makefile | 1 +
drivers/net/dwc_eth_qos.c | 92 --
drivers/net/dwc_eth_qos.h | 2 +
drivers/net/dwc_eth_qos_i
From: Peng Fan
Move macros and structures to header file and make some functions
public, so that could used by other files, this is to
prepare split platform specific config to one file.
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 280 +-
drivers
From: Peng Fan
When CONFIG_CLK is not enabled, there will be buil break:
"error: ‘eqos’ undeclared (first use in this function)"
Should not guard the eqos under CONFIG_CLK macro
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
From: Peng Fan
Support i.MX93 in fec_mxc driver
Signed-off-by: Peng Fan
---
drivers/net/Kconfig | 2 +-
drivers/net/fec_mxc.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 84d859c21eb..8cf8621467f 100644
--- a/drivers
From: Peng Fan
Add basic board codes and defconfig for i.MX93 11x11 EVK board.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/dts/Makefile |3 +
arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 157 +++
arch/arm/dts/imx93-11x11-evk.dts | 527 +++
From: Peng Fan
Set ARM clock to OD frequency 1.7Ghz, since we have set PMIC VDD_SOC
to Overdrive voltage 0.9V
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/clock.h | 4 +++-
arch/arm/mach-imx/imx9/clock.c | 9 +
board/freescale/imx93_evk/spl.c
From: Peng Fan
Add the DTSi file and DT header files for i.MX93 SoC
Signed-off-by: Ye Li
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
arch/arm/dts/imx93.dtsi | 688
include/dt-bindings/clock/imx93-clock.h | 203 +++
include/dt-bindings/pow
From: Ye Li
Since i.MX9 uses same DDR PHY with i.MX8M, split the DDRPHY to a common
directory under imx, then use dedicated ddr controller driver for each
iMX9 and iMX8M.
The DDRPHY registers are space compressed, so it needs conversion to
access the DDRPHY address. Introduce a common PHY addres
From: Ye Li
Add Kconfig for enabling reference events counter in DDRC performance
monitor by default
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx9/Kconfig| 6 ++
drivers/ddr/imx/imx9/ddr_init.c | 4
2 files changed, 10 insertions(+)
diff --git a/drivers/d
From: Ye Li
Implement the DDR driver clock interfaces for set DDR rate and
bypass DDR PLL
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/clock.h | 3 ++
arch/arm/mach-imx/imx9/clock.c | 41 ++
2 files changed, 44 insertions(+)
From: Ye Li
Select env storages according to boot device at runtime
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/mach-imx/imx9/soc.c b/arch/arm/mach-imx/imx9/soc.c
From: Peng Fan
Add bootaux command to support on-demand booting M33 from u-boot.
It kicks M33 via ATF by "bootaux 0x201e 0"
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Makefile | 4 +
arch/arm/mach-imx/imx9/imx_bootaux.c | 133 +++
arch/arm/mach-imx/im
From: Peng Fan
Add power init of MEDIAMIX, MLMIX and DDRMIX. And clear isolation
of MIPI DSI/CSI, USBPHY after the power up.
SPL should call the power init in its boot sequence before accessing
above three MIX and USB.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 1
From: Peng Fan
To support on-demand booting M33 image from A core. SPL needs
to follow M33 kick up sequence to release M33 firstly,
then set M33 CPUWAIT signal. ATF will clear CPUWAIT to kick
M33 to run.
The prepare function also works around the M33 TCM ECC issue by
clean the TCM. Also enable s
From: Ye Li
Add GPIO registers structure for iMX93, so that we can enable lpgpio
driver
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/arch-imx9/gpio.h | 20
2 files changed, 21 insertions(+)
diff --git
From: Alice Guo
Sentinel have read access of OTP shadow register 0-511, and fsb have
read access of shadow 0-51/312-511.
Reviewed-by: Ye Li
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
drivers/misc/sentinel/fuse.c | 86 +++-
1 file changed, 74 insertio
From: Alice Guo
i.MX93 fuse can be accessed through FSB and s400-api. Add mapping tables
for i.MX93. The offset address of FSB accessing OTP shadow registers is
different between i.MX8ULP and i.MX93, so use macro to define the offset
address instead of hardcode.
Signed-off-by: Alice Guo
Signed-
From: Alice Guo
The i.MX93 platform wants to reuse drivers/misc/imx8ulp/fuse.c. Moving
fuse.c from the folder imx8ulp to sentinel makes it can be used by other
platforms.
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
drivers/misc/Makefile | 2 --
drivers/misc/imx8ul
From: Ye Li
Use more generic name for S40x msg structure
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 2 +-
arch/arm/mach-imx/imx8ulp/rdc.c | 2 +-
arch/arm/mach-imx/imx9/trdc.c| 2 +-
drivers/misc/sentinel/s400_api.c
From: Peng Fan
Update the get chip revision methond to use S400 API, also record
other information like lifecycle and UID to global data.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/global_data.h | 3 ++
arch/arm/mach-imx/imx9/soc.c | 49 +-
2 files chan
From: Ye Li
Add AHAB driver for iMX9 to do authentication by calling sentinel API
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Kconfig | 5 +
arch/arm/mach-imx/imx9/Makefile | 1 +
arch/arm/mach-imx/imx9/ahab.c | 346
3 files
From: Ye Li
Add TRDC driver to iMX9. The TRDC init splits to two phases:
1. Early init phase will release TRDC from Sentinel and open write
permission to the memory where SPL image runs. Sentinel will set
the memory to RX only after ROM authentication for the OEM
closed part.
2. Init pha
From: Peng Fan
Introduce Sentinel API ahab_release_m33_trout to make sure sentinel
release M33 trout and make sure M33 could boot.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 1 +
drivers/misc/sentinel/s400_api.c | 25
2 files change
From: Peng Fan
Add new API to get sentinel FW status and SoC chip info
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 13 +
drivers/misc/sentinel/s400_api.c | 61
2 files changed, 74 insertions(+)
diff --git a/
From: Ye Li
To support more RDC instances on i.MX93, update API to latest
definition.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 2 +-
drivers/misc/sentinel/s400_api.c | 21 +
2 files changed, 18 insertions(+), 5 de
From: Peng Fan
Move i.MX8ULP MU registers structure to driver to avoid add a copy for
i.MX9
Add compatible string for iMX93
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8ulp/imx-regs.h | 25 ---
drivers/misc/sentinel/s4mu.c | 26
From: Ye Li
Since iMX9 uses S401 which shares the API with iMX8ULP. So move S400
MU driver and API to a common place and selected by CONFIG_IMX_SENTINEL
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 4 +
arch/arm/include/asm/global_data.h
From: Peng Fan
i.MX9 shares same ROM API with i.MX8ULP, so make the i.MX8ULP the function
prototype common and usable by i.MX9.
Also include mmc env functions that use ROM API.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8ulp/sys_proto.h | 4 --
arch/arm/include/asm/mach-imx/sys
From: Ye Li
Disable all 3 wdogs on AIPS2 and unmask SRC reset trigger for WDOG3-5
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 4 ++
arch/arm/mach-imx/imx9/soc.c | 45 ++-
2 files changed, 48 insertions(+), 1 de
From: Jian Li
Add timer_init to update ARM arch timer with correct frequency
from system counter and enable system counter.
Signed-off-by: Jian Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 1 +
arch/arm/mach-imx/imx9/soc.c | 19 +++
From: Peng Fan
Select SPL_FIT_IMAGE_TINY for i.MX9
Signed-off-by: Peng Fan
---
common/spl/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 2ad2351c6eb..9e93d3f12a0 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
From: Peng Fan
Support i.MX9 for fsl_esdhc_imx driver
Signed-off-by: Peng Fan
---
drivers/mmc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index c8f9709d2d4..fe3ea96c128 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/
From: Peng Fan
Add clock API to support CCM root clock and LPCG setting
Set the CCM AUTHEN register to allow non-secure world to set
root clock and lpcg.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/ccm_regs.h | 266
arch/arm/include/asm/arch-imx9/c
From: Peng Fan
Add the pinctrl driver and pinfunc header file to support iMX93
Signed-off-by: Peng Fan
---
arch/arm/dts/imx93-pinfunc.h| 625
drivers/pinctrl/nxp/Kconfig | 13 +
drivers/pinctrl/nxp/Makefile| 1 +
drivers/pinctrl/nxp/pinct
From: Peng Fan
Add i.MX9 Kconfig and basic files for the new SoC
Signed-off-by: Peng Fan
---
arch/arm/Kconfig| 11 +
arch/arm/include/asm/arch-imx/cpu.h | 2 +
arch/arm/include/asm/arch-imx9/clock.h | 0
arch/arm/include/asm/arch-imx9/gpio.h
From: Peng Fan
Support pcal6524 IO expander driver
Signed-off-by: Peng Fan
---
drivers/gpio/pca953x_gpio.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c
index e98e1e56dbc..4654f9e0989 100644
--- a/drivers/gpio/pca953x_gpio.c
+
From: Peng Fan
i.MX9 shares same register layout as i.MX7ULP, so
add the i.MX9 define here.
Signed-off-by: Peng Fan
---
include/fsl_lpuart.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/fsl_lpuart.h b/include/fsl_lpuart.h
index 18e5cc15d61..93c996b764b 100644
---
From: Peng Fan
Add USB2_BOOT type for i.MX8ULP and i.MX9
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/boot_mode.h | 1 +
arch/arm/mach-imx/imx_romapi.c| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/mach-imx/boot_mode.h
b/arc
From: Peng Fan
i.MX8MN/P/ULP supports ROM API, they have almost same get_boot_device
implementation, so move to a common file. And when support i.MX9,
no need to include the other function copy.
Since sys_proto.h is included in imx_romapi.c, there will be build
warning for i.MX8M because wdog_re
From: Peng Fan
Most i.MX implements get_boot_device, move it to common header to
simplify code
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/sys_proto.h| 1 -
arch/arm/include/asm/arch-imx8m/sys_proto.h | 1 -
arch/arm/include/asm/arch-imx8ulp/sys_proto.h | 1 -
arch/arm/inc
From: Peng Fan
For SoCs support ROM API, CONFIG_SPL_BOOTROM_SUPPORT is needed,
so use this macro to guard the code to avoid extend the list.
And drop the guard with structure definition, there is no need.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/sys_proto.h | 2 --
arch/arm/m
From: Ye Li
Move the default mapping of spl_boot_device to weak function of
spl_board_boot_device. So that every board of iMX7/8/8M can overwrite
this function to implement specific mapping.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl.c | 80 +
From: Ye Li
The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from
USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/
From: Peng Fan
All the SoCs use mach-imx has CONFIG_MACH_IMX selected, so
the macro could be the gate to build arch/arm/mach-imx to simplify
the rules.
Signed-off-by: Peng Fan
---
arch/arm/Makefile | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/arch/arm/Makef
From: Peng Fan
V2:
Drop patch 35 in V1
Rebased on Tom's next branch to update board support, since Tom migrated some
Kconfig options
This patchset is to support i.MX93, during the development, there are some
code cleanup and restructure to make i.MX93 code porting cleaner.
i.MX9 is a new i.M
On 08/06/2022 16.18, eugen.hris...@microchip.com wrote:
> On 5/19/22 3:16 PM, Rasmus Villemoes wrote:
>> On 19/05/2022 13.50, Aswath Govindraju wrote:
>>
>>> Understood, thanks for the explanation. I am good with this patch.
>>>
>>> Acked-by: Aswath Govindraju
>>>
>>
>> Thanks.
>>
>> For completen
On 11.06.22 14:20, Peng Fan (OSS) wrote:
From: Peng Fan
Stefano,
Is there a chance to get this into your next branch, then into Tom's next
branch?
Yes, I will do in this way.
Stefano
There are often conflicts when applying after pending some time.
V2:
Rebased on Tom's next branc
Stefano,
From: Peng Fan
This patchset is to support i.MX93, during the development, there are some
code cleanup and restructure to make i.MX93 code porting cleaner.
i.MX9 is a new i.MX family and i.MX93 is the first one that we would support
in upstream. It features two Cortex-A55 core, one N
Hello,
I'm trying to update some of the u-boot environment variables when I build
my linux Image using petalinux for the zynq 7000 (zedboard).
Looking at the configs folder I found the "xilinx_zynq_virt_defconfig". So
my first question is the following. Does this file contain the environment
va
From: Peng Fan
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
Tested-by: Teresa Remmet
---
board/ph
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-kontron-n801x-u-boot.d
From: Peng Fan
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
Tested-by: Ariel D'Alessandro
---
boa
From: Peng Fan
Mark wdog1/pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mp-rsb3720-a1-u-boo
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-venice-u-boot.dtsi |
1 - 100 of 118 matches
Mail list logo