On Tue, Sep 07, 2021 at 05:16:54PM -0500, Dave Gerlach wrote:
> From: Suman Anna
>
> The TI K3 Fractional PLLs use two programmable POSTDIV1 and POSTDIV2
> divisors to generate the final FOUTPOSTDIV clock. These are in sequence
> with POSTDIV2 following the POSTDIV1 clock. The current J721E
On Tue, Sep 07, 2021 at 05:16:55PM -0500, Dave Gerlach wrote:
> From: Suman Anna
>
> The TI K3 Fractional PLLs use two programmable POSTDIV1 and POSTDIV2
> divisors to generate the final FOUTPOSTDIV clock. These are in sequence
> with POSTDIV2 following the POSTDIV1 clock. The current J7200
On Tue, Sep 07, 2021 at 05:16:58PM -0500, Dave Gerlach wrote:
> From: Suman Anna
>
> The K3 SoCs have some PLL output clocks (POSTDIV clocks) which in
> turn serve as inputs to other HSDIV output clocks. These clocks use
> the actual value to compute the divider clock rate, and need to be
>
On Wed, Sep 08, 2021 at 03:28:59PM -0500, Nishanth Menon wrote:
> From: Roger Quadros
>
> NB0 is bridge to SRAM and NB1 is bridge to DDR.
>
> To ensure that SRAM transfers are not stalled due to delays during DDR
> refreshes, SRAM traffic should be higher priority (threadmap=2) than
> DDR
On Tue, Sep 07, 2021 at 05:16:57PM -0500, Dave Gerlach wrote:
> There are three different divider values in the DIV_CTRL register
> controlled by the k3-pll driver. Currently the ti_pll_clk_set_rate
> function writes the entire register when programming plld, even though
> plld only resides in
On Tue, Sep 07, 2021 at 05:16:56PM -0500, Dave Gerlach wrote:
> Add a note to the automatically generated clk-data and dev-data files
> for j721e and j7200 to indicate that they are in fact auto-generated and
> should not be hand edited.
>
> Also adjust TI URL to use https instead of http and
On Tue, Jul 27, 2021 at 06:24:40PM -0500, Suman Anna wrote:
> Add a weak release_resources_for_core_shutdown() stub implementation
> that can be overridden by actual implementation if a SoC supports that
> function.
>
> Signed-off-by: Suman Anna
> Reviewed-by: Nishanth Menon
Applied to
Hi all,
I have some questions about how to implement extension board usage.
My case is on imx8mm-cl-iot-gate. It can add three different types of
extension boards.
One of the extension boards is SPI extension which have 3 empty slots.
And you can add
some small boards onto it. One of them is a
On Tue, Aug 31, 2021 at 01:20:48PM -0500, Nishanth Menon wrote:
> With Device Manager firmware in an elf file form, we cannot load the FIT
> image to the exact same address as any of the executable sections of the
> elf file itself is located.
>
> However, the device tree descriptions for the
On Tue, Jul 27, 2021 at 06:24:39PM -0500, Suman Anna wrote:
> The common TI SCI header file uses some macros from err.h and these
> get exercised when CONFIG_TI_SCI_PROTOCOL is not defined. Include
> the linux/err.h header file in this header file directly rather
> than relying on source files to
On Fri, 2021-09-17 at 10:19 +0200, Marek Szyprowski wrote:
> XHCI firmware upload must be performed only once after initializing the
> PCI bridge. This fixes USB stack initialization after calling "usb stop;
> usb start" on Raspberry Pi 4B.
>
> Signed-off-by: Marek Szyprowski
> ---
Reviewed-by:
NXP Legal insists that the following are not fine:
- Saying "NXP Semiconductors" instead of "NXP", since the company's
registered name is "NXP"
- Putting a "(c)" sign in the copyright string
- Putting a comma in the copyright string
The only accepted copyright string format is "Copyright
On 2021/9/17 19:45, Lennart Poettering wrote:
On Fr, 17.09.21 19:25, Qu Wenruo (w...@suse.com) wrote:
Hi,
I'm recently testing booting my RK3399 boards with the following boot
sequence:
U-boot -> systemd-boot (EFI payload) -> kernel
Which provides much more flex than plain extlinux conf
Hi Tom,
> -Original Message-
> From: Tom Rini
> Sent: Thursday, August 5, 2021 6:53 PM
> To: T Karthik Reddy
> Cc: Ashok Reddy Soma ; u-boot@lists.denx.de;
> miquel.ray...@bootlin.com; git
> Subject: Re: [PATCH] test/py: tpm2: Skip tpm pytest based on env variable
>
> On Thu, Aug 05,
On 17/09/2021 10:42, Matthias Brugger wrote:
On 17/09/2021 10:19, Marek Szyprowski wrote:
XHCI firmware upload must be performed only once after initializing the
PCI bridge. This fixes USB stack initialization after calling "usb stop;
usb start" on Raspberry Pi 4B.
Signed-off-by: Marek
On 13/09/21 01:42PM, JaimeLiao wrote:
> Power-on-Reset is a method to restore flash back to 1S-1S-1S mode from
> 8D-8D-8D
> in the begging of probe.
Typo: begging -> beginning
>
> Command extension type is not standardized across flash vendors in DTR mode.
>
> For suiting different vendor
When booting using U-boot -> systemd-boot (EFI payload) -> kernel on
RK3399, systemd-boot by some bug can't execute its "devicetree" key
correctly to load its proper dtb from files.
In that case, it will use fallback dtb from U-boot, which can be
out-of-date, and on RK3399, even the latest U-boot
Hi,
I'm recently testing booting my RK3399 boards with the following boot
sequence:
U-boot -> systemd-boot (EFI payload) -> kernel
Which provides much more flex than plain extlinux conf from U-boot.
(More choice, easier to write config, runtime kernel change).
So far "kernel" and "initramfs"
On 9/17/21 11:23 AM, Mark Kettenis wrote:
From: Heinrich Schuchardt
Date: Fri, 17 Sep 2021 04:56:31 +0200
Hi Heinrich,
On 9/16/21 3:01 PM, Mark Kettenis wrote:
Provide correct framebuffer information for 30bpp modes.
This is not enough to get a correct GOP implementation for the 30bpp
> From: Qu Wenruo
> Date: Fri, 17 Sep 2021 19:02:35 +0800
>
> When booting using U-boot -> systemd-boot (EFI payload) -> kernel on
> RK3399, systemd-boot by some bug can't execute its "devicetree" key
> correctly to load its proper dtb from files.
>
> In that case, it will use fallback dtb from
On 2021/9/17 19:34, Mark Kettenis wrote:
From: Qu Wenruo
Date: Fri, 17 Sep 2021 19:02:35 +0800
When booting using U-boot -> systemd-boot (EFI payload) -> kernel on
RK3399, systemd-boot by some bug can't execute its "devicetree" key
correctly to load its proper dtb from files.
In that case,
> From: Heinrich Schuchardt
> Date: Fri, 17 Sep 2021 04:56:31 +0200
Hi Heinrich,
> On 9/16/21 3:01 PM, Mark Kettenis wrote:
> > Provide correct framebuffer information for 30bpp modes.
>
> This is not enough to get a correct GOP implementation for the 30bpp mode.
>
> Have a look at
Hi Fabio,
On Thu, Sep 16, 2021 at 10:27 PM Fabio Estevam wrote:
>
> Hi Oleksandr,
>
> On Thu, Sep 16, 2021 at 3:50 PM Oleksandr Suvorov wrote:
>
> > The SPL for this board is built with prepended DCD which includes DDR
> > training data (defined in imximage.cfg). So that the bootrom initializes
Hi Marek,
> Marek VasutSept. 16, 2021, 5:24 p.m. UTC | #1
> On 9/16/21 4:01 PM, Patrick Delaunay wrote:
>> When CONFIG_SYS_MAX_FLASH_BANKS_DETECT is activated,
>> CONFIG_SYS_MAX_FLASH_BANKS is replaced by cfi_flash_num_flash_banks,
>> but this variable is defined in drivers/mtd/cfi_flash.c,
XHCI firmware upload must be performed only once after initializing the
PCI bridge. This fixes USB stack initialization after calling "usb stop;
usb start" on Raspberry Pi 4B.
Signed-off-by: Marek Szyprowski
---
arch/arm/mach-bcm283x/msg.c | 6 ++
1 file changed, 6 insertions(+)
diff --git
A search of the tree showed there is only one user
of this driver (soon to be two) - board/socrates
The second user will be the Traverse Ten64 board.
Both these boards have DM_RTC.
Signed-off-by: Mathew McBride
---
drivers/rtc/Kconfig | 1 +
drivers/rtc/rx8025.c | 80
The Odroid-HC4 is a variant of the Odroid-C4 board but with a PCIe-SATA bridge
instead of the USB3 ports.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/meson-sm1-odroid-hc4-u-boot.dtsi | 23 +
board/amlogic/odroid-n2/MAINTAINERS | 1 +
configs/odroid-hc4_defconfig
Drop the local USB nodes after Linux 5.14 sync.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/meson-axg-s400-u-boot.dtsi | 8
arch/arm/dts/meson-axg-u-boot.dtsi | 62 -
2 files changed, 70 deletions(-)
delete mode 100644 arch/arm/dts/meson-axg-u-boot.dtsi
Since Linux commmit [1], the order is fixed with aliases, in order to keep the
MMC device order, set it back to HW order in U-Boot dtsi files.
[1] ab547c4fb39f ("arm64: dts: amlogic: Assign a fixed index to mmc devices")
Signed-off-by: Neil Armstrong
---
Add SCSI target to be able to boot from the SATA disks on the Odroid HC4 using
an on-board AHCI PCIe controller.
Signed-off-by: Neil Armstrong
Signed-off-by: Mark Kettenis
---
include/configs/meson64.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/configs/meson64.h
Upstream Linux uses the "amlogic,meson-axg-usb-ctrl" for AXG SoCs.
This adds it to the compatible list for this driver.
Reported-by: Vyacheslav Bocharov
Signed-off-by: Neil Armstrong
---
drivers/usb/dwc3/dwc3-meson-gxl.c | 1 +
1 file changed, 1 insertion(+)
diff --git
The SCSI device can be a PCIe adapter, so run pcie enum if enabled.
Signed-off-by: Mark Kettenis
Signed-off-by: Neil Armstrong
---
include/config_distro_bootcmd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index
> From: Samuel Holland
> Sent: Monday, September 13, 2021 12:06 AM
> To: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊)
>
> Cc: u-boot@lists.denx.de; Samuel Holland ; Atish Patra
> ; Bin Meng ; Etienne Carriere
> ; Sean Anderson ; Simon Glass
>
> Subject: [PATCH] riscv: Fix setting no-map
On 17/09/2021 10:19, Marek Szyprowski wrote:
XHCI firmware upload must be performed only once after initializing the
PCI bridge. This fixes USB stack initialization after calling "usb stop;
usb start" on Raspberry Pi 4B.
Signed-off-by: Marek Szyprowski
Looks good to me. I'll wait a bit
Hi Tom,
Le 15/09/2021 à 01:01, Tom Rini a écrit :
Hey all,
Alright, I'm a day late, but, here's v2021.10-rc4. We've had a few
regressions pop up of late, unfortunately. I've pushed the fix for
(what I believe are) existing FIT images showing a problem where we
calculated the crc32 wrong.
This patchset adds support for the EPSON RX8035 real time
clock to the rx8025 driver. The two devices are very similar
and with only minor differences for basic real time clock functions.
Some issues have been identified with the handling of date
setting and clock reset with the U-Boot driver
The RX8025/RX8035 does not like having it's time registers
set byte-by-byte in separate I2C transactions.
>From the note at the top of the file, it appears
target-dependent workarounds have been used in the
past for this.
Resolve this by setting the time registers in a single
I2C transaction.
The RX8035 is a newer model from EPSON which is
very similar in operation to the RX8025.
The changes mirror similar ones that will be
in Linux 5.15:
https://lore.kernel.org/all/20210709044518.28769-2-m...@traverse.com.au/
The UBOOT_DRIVER ID has also been corrected, previously
it declared itself
Writing of individual registers was not functioning
correctly as a 0 'offset' byte under DM-managed
I2C was being appended in front of register we
wanted to access.
Signed-off-by: Mathew McBride
---
drivers/rtc/rx8025.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff
> From: Bin Meng
> Sent: Saturday, September 11, 2021 10:31 PM
> To: Zong Li ; Leo Yu-Chi Liang(梁育齊)
> ; Rick Jian-Zhi Chen(陳建志) ;
> u-boot@lists.denx.de
> Subject: [PATCH v2] board: sifive: Fix a potential build warning in
> board_fdt_blob_setup()
>
> Commit 47d73ba4f4a4 ("board: sifive:
Import Amlogic DT changes from Linux commit 7d2a07b76933 ("Linux 5.14"),
dt-bindings clock changes and new meson-g12b-gsking-x.dts,
meson-sm1-bananapi-m5 & odroid-hc4 boards.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 3 +
arch/arm/dts/meson-axg-s400.dts
Banana Pi BPI-M5 is a credit card format SBC with the following features:
- Amlogic S905X3 quad core Cortex-A55
- Mali-G31 GPU
- 4GB LPDDR4
- 16GB eMMC flash
- 4 USB 3.0
- 1 GbE ethernet
- HDMI output
- 2x LEDS
- SDCard
- 2.5mm Jack with Stereo Audio + CVBS
- Infrared Received
- ADC Button
- GPIO
The Beelink GS-King X is a variant of the GS King boards but with an internal
USB to SATA bridge and advanced audio features.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/meson-g12b-gsking-x-u-boot.dtsi | 7 ++
board/amlogic/beelink-s922x/MAINTAINERS | 1 +
Add documentation bits for the Odroid-HC4.
Signed-off-by: Neil Armstrong
---
doc/board/amlogic/index.rst | 2 +-
doc/board/amlogic/odroid-c4.rst | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst
index
On Thu, Sep 16, 2021 at 10:14:03PM -0700, Max Filippov wrote:
> On Thu, Sep 16, 2021 at 10:30 AM Tom Rini wrote:
> >
> > Update the linker script macros to know that we need to include the
> > .text_version_string section now as well.
> >
> > Signed-off-by: Tom Rini
> > ---
> >
On Fr, 17.09.21 19:25, Qu Wenruo (w...@suse.com) wrote:
> Hi,
>
> I'm recently testing booting my RK3399 boards with the following boot
> sequence:
>
> U-boot -> systemd-boot (EFI payload) -> kernel
>
> Which provides much more flex than plain extlinux conf from U-boot.
> (More choice, easier to
On Fri, Sep 17, 2021 at 11:49:51AM +, T Karthik Reddy wrote:
> Hi Tom,
>
> > -Original Message-
> > From: Tom Rini
> > Sent: Thursday, August 5, 2021 6:53 PM
> > To: T Karthik Reddy
> > Cc: Ashok Reddy Soma ; u-boot@lists.denx.de;
> > miquel.ray...@bootlin.com; git
> > Subject: Re:
From: Wasim Khan
Increase fdt blob size for lx2160 and lx2162 series
to fix below errors/warnings during device tree fixup.
Unable to update property /soc/spi@210:status, err=FDT_ERR_NOSPACE
Unable to update property /soc/spi@211:status, err=FDT_ERR_NOSPACE
Unable to update property
On Fri, Sep 17, 2021 at 5:04 AM Tom Rini wrote:
> So this is in context with:
> https://patchwork.ozlabs.org/project/uboot/list/?series=256258
> and specifically:
> https://patchwork.ozlabs.org/project/uboot/patch/20210802131838.21097-7-p...@kernel.org/
Yes, I've found that series and the
Hi Marek,
> Marek VasutSept. 16, 2021, 5:27 p.m. UTC | #3
> On 9/16/21 4:01 PM, Patrick Delaunay wrote:
> [...]
> > @@ -3664,6 +3666,11 @@ int spi_nor_scan(struct spi_nor *nor)
> > struct mtd_info *mtd = >mtd;
> > struct spi_slave *spi = nor->spi;
> > int ret;
> > + int
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
drivers/pci/pci-uclass.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/pci-uclass.c
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
drivers/pci/pcie_layerscape_rc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pcie_layerscape_rc.c
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
cmd/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/pci.c b/cmd/pci.c
index ebe7c0fc5377..7febff497c54 100644
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
drivers/pci/pcie_layerscape_fixup_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
drivers/pci/pci-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pci-uclass.c
Using read_poll logic.
Tested-by: Chris Morgan
Signed-off-by: Jon Lin
---
(no changes since v2)
Changes in v2:
- Fix assigned but never used return error codes
drivers/spi/rockchip_sfc.c | 67 --
1 file changed, 35 insertions(+), 32 deletions(-)
diff
Set clock related processing into set_speed logic. And Optimize
printing format.
Tested-by: Chris Morgan
Signed-off-by: Jon Lin
---
Changes in v3:
- Remove useless headfile
- Fix misspelling
drivers/spi/rockchip_sfc.c | 82 ++
1 file changed, 39
On Fri, Sep 17, 2021 at 08:29:07AM +0200, Christophe Leroy wrote:
> Hi Tom,
>
> Le 15/09/2021 à 01:01, Tom Rini a écrit :
> > Hey all,
> >
> > Alright, I'm a day late, but, here's v2021.10-rc4. We've had a few
> > regressions pop up of late, unfortunately. I've pushed the fix for
> > (what I
On 9/17/21 3:06 PM, Patrick DELAUNAY wrote:
Hi Marek,
> Marek VasutSept. 16, 2021, 5:27 p.m. UTC | #3
> On 9/16/21 4:01 PM, Patrick Delaunay wrote:
> [...]
> > @@ -3664,6 +3666,11 @@ int spi_nor_scan(struct spi_nor *nor)
> > struct mtd_info *mtd = >mtd;
> > struct spi_slave
On 9/17/21 12:55 PM, Patrick DELAUNAY wrote:
Hi Marek,
> Marek VasutSept. 16, 2021, 5:24 p.m. UTC | #1
> On 9/16/21 4:01 PM, Patrick Delaunay wrote:
>> When CONFIG_SYS_MAX_FLASH_BANKS_DETECT is activated,
>> CONFIG_SYS_MAX_FLASH_BANKS is replaced by cfi_flash_num_flash_banks,
>> but this
> Date: Fri, 17 Sep 2021 19:42:29 +0800
> Content-Language: en-US
>
> On 2021/9/17 19:34, Mark Kettenis wrote:
> >> From: Qu Wenruo
> >> Date: Fri, 17 Sep 2021 19:02:35 +0800
> >>
> >> When booting using U-boot -> systemd-boot (EFI payload) -> kernel on
> >> RK3399, systemd-boot by some bug
On 2021/9/17 22:25, Mark Kettenis wrote:
Date: Fri, 17 Sep 2021 19:42:29 +0800
Content-Language: en-US
On 2021/9/17 19:34, Mark Kettenis wrote:
From: Qu Wenruo
Date: Fri, 17 Sep 2021 19:02:35 +0800
When booting using U-boot -> systemd-boot (EFI payload) -> kernel on
RK3399, systemd-boot
The function prototype for ft_pci_setup is inside fdt_support.h, we need
to include that header.
Signed-off-by: Vladimir Oltean
---
drivers/pci/pcie_layerscape_fixup_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/pcie_layerscape_fixup_common.c
> -Original Message-
> From: U-Boot On Behalf Of Kuldeep Singh
> Sent: Wednesday, September 15, 2021 3:34 PM
> To: u-boot@lists.denx.de
> Cc: Priyanka Jain ; Kuldeep Singh
>
> Subject: [PATCH] configs: lx2162a: Enable CONFIG_SPI_FLASH_MT35XU for
> lx2162a-qds
>
> LX2162A-QDS has
On 2021/9/17 19:45, Lennart Poettering wrote:
On Fr, 17.09.21 19:25, Qu Wenruo (w...@suse.com) wrote:
Hi,
I'm recently testing booting my RK3399 boards with the following boot
sequence:
U-boot -> systemd-boot (EFI payload) -> kernel
Which provides much more flex than plain extlinux conf
On Thu, Sep 16, 2021 at 10:21:29PM -0700, Max Filippov wrote:
> On Thu, Sep 16, 2021 at 12:42 PM Tom Rini wrote:
> > We also don't have qemu support for it
>
> I'm curious what happened to it and what I should do to update it?
>
> xtensa is still supported in the QEMU and AFAIK nothing has
The weak definition of pci_skip_dev from drivers/pci/pci_common.c is not
under CONFIG_DM_PCI_COMPAT, and that definition needs a previous
function prototype declaration to avoid W=1 build warnings.
That prototype is not available due to it being under CONFIG_DM_PCI_COMPAT,
so move it outside of
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
drivers/pci/pci-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pci-uclass.c
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
cmd/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/pci.c b/cmd/pci.c
index 7febff497c54..cfabdc0f3012 100644
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean
---
cmd/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/pci.c b/cmd/pci.c
index af75a6cfff4a..ebe7c0fc5377 100644
These are some trivial cleanup patches I made after compiling U-Boot for
ls1028ardb_tfa_defconfig with W=1.
Vladimir Oltean (11):
pci: provide prototype for pci_skip_dev outside of #if
defined(CONFIG_DM_PCI_COMPAT)
pci: include pci_internal.h inside pci_auto.c
pci: pci_bar_show can be
To avoid a build warning with W=1, provide a function prototype for
dm_pciauto_prescan_setup_bridge, which is a non-static function whose
definition is inside pci_auto.c.
Signed-off-by: Vladimir Oltean
---
drivers/pci/pci_auto.c | 1 +
1 file changed, 1 insertion(+)
diff --git
> From: Heinrich Schuchardt
> Date: Fri, 17 Sep 2021 13:29:06 +0200
>
> On 9/17/21 11:23 AM, Mark Kettenis wrote:
> >> From: Heinrich Schuchardt
> >> Date: Fri, 17 Sep 2021 04:56:31 +0200
> >
> > Hi Heinrich,
> >
> >> On 9/16/21 3:01 PM, Mark Kettenis wrote:
> >>> Provide correct framebuffer
This is written incorrectly, since SPL_ should not be used with the
CONFIG_IS_ENABLED macro. Fix it by dropping the prefix and inverting the
logic, which produces the same result as now.
Signed-off-by: Simon Glass
---
arch/x86/cpu/qemu/qemu.c | 2 +-
1 file changed, 1 insertion(+), 1
At present a single .config file is used to configure the build for all
phases, with SPL phases having a SPL_ or TPL_ prefix on each CONFIG to
indicate which build it controls.
So, for example, we have CONFIG_MISC and CONFIG_SPL_MISC to control the
inclusion of MISC drivers in each phase.
>From
At present we rely on this not existing to avoid building ACPI for SPL.
But with the new split configs this does not work. Add a separate Kconfig
instead.
Signed-off-by: Simon Glass
---
drivers/core/Kconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/core/Kconfig
At present we rely on this not existing to avoid building various
command-line features.
But with the new split configs this does not work. Add separates Kconfigs
instead.
Signed-off-by: Simon Glass
---
cmd/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/cmd/Kconfig
This check is not needed when the environment is not enabled, e.g. in
SPL. Add a condition to handle this.
Signed-off-by: Simon Glass
---
cmd/nvedit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index ddc715b4f91..1c8d49646e5 100644
--- a/cmd/nvedit.c
+++
Hi François,
On Wed, 15 Sept 2021 at 04:26, François Ozog wrote:
>
>
>
> Le mer. 15 sept. 2021 à 12:13, Simon Glass a écrit :
>>
>> Hi Mark,
>>
>> On Sat, 11 Sept 2021 at 13:18, Mark Kettenis wrote:
>> >
>> > > From: Moiz Imtiaz
>> > > Date: Sat, 11 Sep 2021 23:19:05 +0500
>> > >
>> > > Hi
Currently, there is no ENTRY() entry in the m68k linker script.
However, since they currently contain a version_string symbol, which
then overrides the default weak version_string symbol, the linker
decides we must keep start.o in the resulting link. Add an ENTRY() line
so that the linker will
Now that we include an auto.conf file specific to the phase being built
we can make these variables empty.
With this done, we can also remove them from U-Boot entirely, dropping
them from all Makefiles. That is left for a future clean-up since we
cannot apply this series until CONFIG migration is
Separate out the code that writes the Makefile and headers so we can
reuse these functions when writing out SPL files.
This makes no functional change.
Signed-off-by: Simon Glass
---
scripts/kconfig/confdata.c | 65 ++
scripts/kconfig/expr.h | 9 ++
At present we rely on this not existing to avoid building virtio for SPL.
But with the new split configs this does not work. Add a separate Kconfig
instead.
Signed-off-by: Simon Glass
---
drivers/virtio/Kconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/virtio/Kconfig
At present there is only a single auto.conf file used within the
makefiles. Update them to use the correct one for each phase.
Signed-off-by: Simon Glass
---
Makefile | 11 ++-
scripts/Makefile.build | 10 +-
scripts/Makefile.spl | 8 +++-
3 files changed,
Update this file to include the correct autoconf.h or autoconf_spl.h file
for each phase. This allows the macros to be simplified.
With this, CONFIG_IS_ENABLED() is the same as IS_ENABLED() apart from a
migration detail.
Signed-off-by: Simon Glass
---
include/linux/kconfig.h | 87
There is no need to check for SPL/TPL build again as the 'ifdef' above
does this already. Drop it, so that the build rule works with split
configs.
Signed-off-by: Simon Glass
---
drivers/serial/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/Makefile
At present we rely on this not existing to avoid building various
EC features.
But with the new split configs this does not work. Add separates Kconfigs
instead.
Signed-off-by: Simon Glass
---
drivers/i2c/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git
At present we rely on this not existing to avoid building the emulator for
SPL.
But with the new split configs this does not work. Add a separate Kconfig
instead.
Signed-off-by: Simon Glass
---
drivers/power/acpi_pmc/Kconfig | 5 +
1 file changed, 5 insertions(+)
diff --git
At present we rely on this not existing to avoid building these tests for
SPL.
But with the new split configs this does not work. Add a separate Kconfig
instead.
Signed-off-by: Simon Glass
---
test/Kconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/test/Kconfig b/test/Kconfig
At present this is always enabled in SPL by virtue of the Makefile
condition, which ignores SPL. Add the required config to tidy this up,
so it will works with split configs.
Signed-off-by: Simon Glass
---
configs/sandbox_noinst_defconfig | 1 +
configs/sandbox_spl_defconfig| 1 +
2 files
Hi Tom,
On Wed, 15 Sept 2021 at 07:35, Tom Rini wrote:
>
> On Wed, Sep 15, 2021 at 01:51:51PM +0200, Mark Kettenis wrote:
> > > From: Simon Glass
> > > Date: Wed, 15 Sep 2021 04:13:24 -0600
> >
> > Hi Simon,
> >
> > > Hi Mark,
> > >
> > > On Sat, 11 Sept 2021 at 13:18, Mark Kettenis
> > >
Hi Mark,
On Wed, 15 Sept 2021 at 05:52, Mark Kettenis wrote:
>
> > From: Simon Glass
> > Date: Wed, 15 Sep 2021 04:13:24 -0600
>
> Hi Simon,
>
> > Hi Mark,
> >
> > On Sat, 11 Sept 2021 at 13:18, Mark Kettenis
> > wrote:
> > >
> > > > From: Moiz Imtiaz
> > > > Date: Sat, 11 Sep 2021 23:19:05
At present kconfig writes out several files, including:
auto.conf - CONFIG settings used by make
autoconf.h - header file used by C code
This works well but is a bit ugly in places, for example requiring the use
of a SPL_TPL_ macro in Makefiles to distinguish between options intended
for
It is annoying to have to use IS_ENABLED() and CONFIG_IS_ENABLED(),
depending on whether the option being checked has an SPL version. Also
we use #ifdef CONFIG_xxx and #if defined(CONFIG_xxx) in some contexts.
It would be nice to use a single style consistenty.
Add a CONFIG() macro to this end,
Ad-hoc CONFIGs are not supported by the new split-config mechanism. Use
the provided work-around for these symbols, just to show the mechanism.
Signed-off-by: Simon Glass
---
scripts/Makefile.spl | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/Makefile.spl
On Sun, Sep 12, 2021 at 9:05 AM Samuel Holland wrote:
>
> The no-map property is wrongly skipped if a no-map reserved memory
> node follows one without that property. Fix this by not remembering
> the absence of a no-map property across loop iterations.
>
> Fixes: d4ea649f179a ("riscv: Provide a
On 08/09/21 05:47PM, tkuw584...@gmail.com wrote:
> From: Takahiro Kuwano
>
> The S25FL256L is a part of the S25FL-L family and has the same feature set
> as S25FL128L except the density.
>
> The datasheet can be found in the following link.
> https://www.cypress.com/file/316171/download
>
>
On 15/09/21 12:49PM, tkuw584...@gmail.com wrote:
> From: Takahiro Kuwano
>
> The current S25FS512S support has following issues that need to be fixed.
>
> - Non-uniform sectors by factory default. The setting needs to be
> checked and assign erase hook as needed.
> - Page size is
From: Chris Morgan
Add pairing info for the Toshiba TC58TEG5DCLTA00 NAND so that we may
utilize slc-mode emulation for enhanced reliability and compatibility
with upstream Linux.
Signed-off-by: Chris Morgan
---
drivers/mtd/nand/raw/nand_base.c | 9 +
1 file changed, 9 insertions(+)
From: Chris Morgan
Add support for setting the slc-mode parameter for a given MLC NAND
device. This allows a given device to write only to the first set
of paried pages to help reduce data corruption and increase reliability
of the NAND.
I haven't tested these patches extensively yet, but thus
1 - 100 of 107 matches
Mail list logo