]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
22 months agousb: gadget: Fix typo in obj line
Tom Rini [Sat, 11 Feb 2023 14:25:44 +0000 (09:25 -0500)]
usb: gadget: Fix typo in obj line

When dropping the unused fotg210 gadget driver a leading 0 was
introduced to the next line, drop it.

Fixes: e9b4678bc78e ("usb: Drop unused fotg210 gadget")
Reported-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
22 months agoMerge tag 'efi-2023-04-rc2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Tom Rini [Fri, 10 Feb 2023 18:45:15 +0000 (13:45 -0500)]
Merge tag 'efi-2023-04-rc2' of https://source.denx.de/u-boot/custodians/u-boot-efi

Pull request for efi-2023-04-rc2

Documentation:

* Provide page with links to talks on U-Boot

UEFI:

* Enable CTRL+S to save the boot order in eficonfig command
* Run attribute check for QueryVariableInfo() only for the file store
* Bug fixes

Others:

* Improve output formatting of the coninfo command

# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 10 Feb 2023 12:15:45 PM EST
# gpg:                using RSA key 6DC4F9C71F29A6FA06B76D33C481DBBC2C051AC4
# gpg: Good signature from "Heinrich Schuchardt <xypron.glpk@gmx.de>" [unknown]
# gpg:                 aka "[jpeg image of size 1389]" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6DC4 F9C7 1F29 A6FA 06B7  6D33 C481 DBBC 2C05 1AC4

22 months agoMerge branch '2023-02-10-assorted-updates-and-additions'
Tom Rini [Fri, 10 Feb 2023 18:41:27 +0000 (13:41 -0500)]
Merge branch '2023-02-10-assorted-updates-and-additions'

- DM_SERIAL conversion for bcm7xxx, button input driver, qcom updates,
  environment and network related cleanup, ftmac100 update, add a
  IS_ENABLED conversion that was just missed.

22 months agonet: ftmac100: add mii read and write callbacks
Sergei Antonov [Fri, 3 Feb 2023 19:09:04 +0000 (22:09 +0300)]
net: ftmac100: add mii read and write callbacks

Register mii_bus with read and write callbacks to allow the 'mii'
command to work. Use a timeout of 10 ms to wait for the R/W
operations to complete.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Tested-by: Rick Chen <rick@andestech.com>
22 months agonet: ftmac100: simplify priv->iobase casting
Sergei Antonov [Fri, 3 Feb 2023 19:09:03 +0000 (22:09 +0300)]
net: ftmac100: simplify priv->iobase casting

Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' in
struct ftmac100_data. It allows to remove casting in a number of places.

Since priv->iobase is phys_addr_t, use phys_to_virt() to make
a pointer from it.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
22 months agonet: ftmac100: change driver name from nds32_mac to ftmac100
Sergei Antonov [Fri, 3 Feb 2023 19:09:02 +0000 (22:09 +0300)]
net: ftmac100: change driver name from nds32_mac to ftmac100

So it will be named similarly to the related ftgmac100 driver.
The old name 'nds32_mac' is not referred to anywhere in U-Boot.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
22 months agodm: input: add button_kbd driver
Dzmitry Sankouski [Sun, 22 Jan 2023 15:21:25 +0000 (18:21 +0300)]
dm: input: add button_kbd driver

Bootmenu requires an input device with arrows and enter key.
A common smartphone luckily has power, volume up/down buttons,
which may be used for controlling bootmenu.
To use driver, add 'button-kbd' to stdin.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
22 months agodm: button: add support for linux_code in button-gpio.c driver
Dzmitry Sankouski [Sun, 22 Jan 2023 15:21:24 +0000 (18:21 +0300)]
dm: button: add support for linux_code in button-gpio.c driver

Linux event code must be used in input devices, using buttons.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
22 months agotest: create dedicated fdt node for ofnode_for_each_prop test
Dzmitry Sankouski [Sun, 22 Jan 2023 15:21:23 +0000 (18:21 +0300)]
test: create dedicated fdt node for ofnode_for_each_prop test

Property count may change in /buttons node, if more button tests added,
and this will break ofnode_for_each_prop.
Add separate node for mentioned test.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
22 months agodts: add missing linux,code in gpio-keys
Dzmitry Sankouski [Sun, 22 Jan 2023 15:21:22 +0000 (18:21 +0300)]
dts: add missing linux,code in gpio-keys

gpio-keys linux driver enforces user to specify linux,code.
Add missing linux,code before implementing button input support.

- arch/arm/dts/rk3288-popmetal.dtsi -> KEY_POWER
- arch/arm/dts/rk3288-tinker.dtsi -> KEY_POWER
- arch/arm/dts/am3517-evm-ui.dtsi -> KEY_RECORD
- sandbox/dts/sandbox.dtsi -> BTN_1
- sandbox/dts/sandbox.dts -> BTN_1

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
22 months agogpio: qcom: add direction functions for pwrkey
Dzmitry Sankouski [Sun, 22 Jan 2023 15:21:21 +0000 (18:21 +0300)]
gpio: qcom: add direction functions for pwrkey

GPIO button driver requires direction functions to probe
button gpio. Those functions are blank, since pwrkey is not
really gpio, and don't support direction settings.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
22 months agodts: qcs404-evb: Add I2C controller nodes
Sumit Garg [Wed, 1 Feb 2023 13:59:01 +0000 (19:29 +0530)]
dts: qcs404-evb: Add I2C controller nodes

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agoi2c: Add support for Qualcomm I2C driver
Sumit Garg [Wed, 1 Feb 2023 13:59:00 +0000 (19:29 +0530)]
i2c: Add support for Qualcomm I2C driver

Add support for Qualcomm I2C QUP driver which is inspired from
corresponding driver in Linux: drivers/i2c/busses/i2c-qup.c.

Currently this driver only support FIFO polling mode which is sufficient
to support devices like eeprom, rtc etc.

Co-developed-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agopinctrl: qcs404: Enable I2C pinmux options
Sumit Garg [Wed, 1 Feb 2023 13:58:59 +0000 (19:28 +0530)]
pinctrl: qcs404: Enable I2C pinmux options

Co-developed-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agoclock-snapdragon: Add clk_rcg_set_rate() with mnd_width=0
Sumit Garg [Wed, 1 Feb 2023 13:58:57 +0000 (19:28 +0530)]
clock-snapdragon: Add clk_rcg_set_rate() with mnd_width=0

Add clk_rcg_set_rate() which allows to configure clocks without programming
MND values. This is required for configuring I2C clocks on QCS404.

Co-developed-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agodts: qcs404-evb: Add ethernet controller node
Sumit Garg [Wed, 1 Feb 2023 13:58:56 +0000 (19:28 +0530)]
dts: qcs404-evb: Add ethernet controller node

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agonet: dwc_eth_qos: Add Qcom ethernet driver glue layer
Sumit Garg [Wed, 1 Feb 2023 13:58:55 +0000 (19:28 +0530)]
net: dwc_eth_qos: Add Qcom ethernet driver glue layer

The Qualcom ETHQOS hardware supports an RGMII macro which needs to be
configured according to following link speeds:
- SPEED_1000
- SPEED_100
- SPEED_10

So add a corresponding glue driver to configure RGMII macro.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
22 months agonet: dwc_eth_qos: Allow platform to override tx/rx_fifo_sz
Sumit Garg [Wed, 1 Feb 2023 13:58:54 +0000 (19:28 +0530)]
net: dwc_eth_qos: Allow platform to override tx/rx_fifo_sz

The GMAC controller on QCS404 SoC (support added by upcoming patch) fails
to work with maximum tx/rx_fifo_sz supported by the hardware (16K). So
allow platforms to override FIFO size using corresponding DT node
properties.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
22 months agonet: dwc_eth_qos: Make eqos_get_tick_clk_rate callback optional
Sumit Garg [Wed, 1 Feb 2023 13:58:53 +0000 (19:28 +0530)]
net: dwc_eth_qos: Make eqos_get_tick_clk_rate callback optional

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
22 months agopinctrl-snapdragon: Get rid of custom drive-strength values
Sumit Garg [Wed, 1 Feb 2023 13:58:52 +0000 (19:28 +0530)]
pinctrl-snapdragon: Get rid of custom drive-strength values

Use standard pinconf drive-strength values from Linux DT bindings rather
than ones based on custom u-boot header. These changes are in direction
to make u-boot DTs for Qcom SoCs to be compatible with standard Linux
DT bindings.

Also, add support for pinconf bias-pull-up.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agopinctrl: qcs404: Enable ethernet pinmux options
Sumit Garg [Wed, 1 Feb 2023 13:58:51 +0000 (19:28 +0530)]
pinctrl: qcs404: Enable ethernet pinmux options

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agoclocks: qcs404: Add support for ethernet clocks
Sumit Garg [Wed, 1 Feb 2023 13:58:50 +0000 (19:28 +0530)]
clocks: qcs404: Add support for ethernet clocks

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agoqcs404-evb: Enable msm_gpio driver support
Sumit Garg [Wed, 1 Feb 2023 13:58:49 +0000 (19:28 +0530)]
qcs404-evb: Enable msm_gpio driver support

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agoqcs404: sysmap: Don't map reserved memory ranges
Sumit Garg [Wed, 1 Feb 2023 13:58:48 +0000 (19:28 +0530)]
qcs404: sysmap: Don't map reserved memory ranges

Currently u-boot maps whole of 1G RAM but there reserved memory ranges on
QCS404 which are reserved for TrustZone, various firmware components etc.
Any access to these reserved memory ranges causes a bus hang issue. So
disable mapping for reserved memory ranges in u-boot.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
22 months agoenv: Couple networking-related variable flags to CONFIG_NET
Jan Kiszka [Fri, 3 Feb 2023 12:22:52 +0000 (13:22 +0100)]
env: Couple networking-related variable flags to CONFIG_NET

Boards may set networking variables programmatically, thus may have
CONFIG_NET on but CONFIG_CMD_NET off. The IOT2050 is an example.

CC: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
22 months agoenv: Complete generic support for writable list
Jan Kiszka [Fri, 3 Feb 2023 12:22:51 +0000 (13:22 +0100)]
env: Complete generic support for writable list

This completes what 890feecaab72 started by selecting ENV_APPEND and
loading the default env before any other sources. This ensures that load
operations pick up all non-writable vars from the default env and only
permitted parts from other locations according to the regular
priorities.

With this change, boards only need to define the list of writable
variables but no longer have to provide a custom env_get_location
implementation.

CC: Joe Hershberger <joe.hershberger@ni.com>
CC: Marek Vasut <marex@denx.de>
CC: Stefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Marek Vasut <marex@denx.de>
22 months agoarm: bcm7xxx: Convert to DM_SERIAL
Thomas Fitzsimmons [Sun, 5 Feb 2023 01:36:57 +0000 (20:36 -0500)]
arm: bcm7xxx: Convert to DM_SERIAL

Remove ns16550 configuration from header files.  Document
DM_SERIAL-required prior stage device tree configuration.

22 months agoCorrect SPL use of EFI_SECURE_BOOT
Simon Glass [Sun, 5 Feb 2023 22:39:45 +0000 (15:39 -0700)]
Correct SPL use of EFI_SECURE_BOOT

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_SECURE_BOOT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoMerge branch '2023-02-08-Kconfig-cleanup-CONFIG_IS_ENABLED-to-IS_ENABLED'
Tom Rini [Fri, 10 Feb 2023 14:17:25 +0000 (09:17 -0500)]
Merge branch '2023-02-08-Kconfig-cleanup-CONFIG_IS_ENABLED-to-IS_ENABLED'

- This series brings in a large number of patches in the form of changing
  CONFIG_IS_ENABLED(FOO) to IS_ENABLED(CONFIG_FOO) when there it is the
  case that CONFIG_xPL_FOO is never a valid symbol. The majority of
  the times where we do this, it is unintentional and does not make the
  code more useful, or rarely, introduces bugs.

22 months agoCorrect SPL use of ATMEL_PIO4
Simon Glass [Sun, 5 Feb 2023 22:36:17 +0000 (15:36 -0700)]
Correct SPL use of ATMEL_PIO4

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_ATMEL_PIO4 defined in Kconfig

Reviewed-by: Eugen Hristev <eugen.hristev@collabora.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of ROCKCHIP_OTP
Simon Glass [Mon, 6 Feb 2023 00:54:59 +0000 (17:54 -0700)]
Correct SPL uses of ROCKCHIP_OTP

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_ROCKCHIP_OTP defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of PANEL
Simon Glass [Mon, 6 Feb 2023 00:54:44 +0000 (17:54 -0700)]
Correct SPL use of PANEL

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PANEL defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of OF_BOARD
Simon Glass [Mon, 6 Feb 2023 00:54:42 +0000 (17:54 -0700)]
Correct SPL uses of OF_BOARD

This converts 3 usages of this option to the non-SPL form, since there is
no SPL_OF_BOARD defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
22 months agoCorrect SPL uses of FEC_MXC
Simon Glass [Mon, 6 Feb 2023 00:54:16 +0000 (17:54 -0700)]
Correct SPL uses of FEC_MXC

This converts 4 usages of this option to the non-SPL form, since there is
no SPL_FEC_MXC defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of FASTBOOT_FLASH_NAND
Simon Glass [Mon, 6 Feb 2023 00:54:13 +0000 (17:54 -0700)]
Correct SPL uses of FASTBOOT_FLASH_NAND

This converts 3 usages of this option to the non-SPL form, since there is
no SPL_FASTBOOT_FLASH_NAND defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
22 months agoCorrect SPL uses of FASTBOOT_FLASH_MMC
Simon Glass [Mon, 6 Feb 2023 00:54:12 +0000 (17:54 -0700)]
Correct SPL uses of FASTBOOT_FLASH_MMC

This converts 5 usages of this option to the non-SPL form, since there is
no SPL_FASTBOOT_FLASH_MMC defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
22 months agoCorrect SPL uses of FASTBOOT
Simon Glass [Mon, 6 Feb 2023 00:54:10 +0000 (17:54 -0700)]
Correct SPL uses of FASTBOOT

This converts 3 usages of this option to the non-SPL form, since there is
no SPL_FASTBOOT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of EFI_MM_COMM_TEE
Simon Glass [Mon, 6 Feb 2023 00:54:02 +0000 (17:54 -0700)]
Correct SPL use of EFI_MM_COMM_TEE

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_MM_COMM_TEE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of CMD_BOOTEFI_BOOTMGR
Simon Glass [Mon, 6 Feb 2023 00:53:23 +0000 (17:53 -0700)]
Correct SPL uses of CMD_BOOTEFI_BOOTMGR

This converts 3 usages of this option to the non-SPL form, since there is
no SPL_CMD_BOOTEFI_BOOTMGR defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
22 months agoCorrect SPL use of ARCH_VERSAL
Simon Glass [Mon, 6 Feb 2023 00:53:13 +0000 (17:53 -0700)]
Correct SPL use of ARCH_VERSAL

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_ARCH_VERSAL defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of DISPLAY_AER_BRIEF
Simon Glass [Mon, 6 Feb 2023 00:53:52 +0000 (17:53 -0700)]
Correct SPL uses of DISPLAY_AER_BRIEF

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_DISPLAY_AER_BRIEF defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of ZYNQMP_FIRMWARE
Simon Glass [Sun, 5 Feb 2023 22:44:33 +0000 (15:44 -0700)]
Correct SPL uses of ZYNQMP_FIRMWARE

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_ZYNQMP_FIRMWARE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of XEN_SERIAL
Simon Glass [Sun, 5 Feb 2023 22:44:32 +0000 (15:44 -0700)]
Correct SPL uses of XEN_SERIAL

This converts 4 usages of this option to the non-SPL form, since there is
no SPL_XEN_SERIAL defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of WATCHDOG_AUTOSTART
Simon Glass [Sun, 5 Feb 2023 22:44:31 +0000 (15:44 -0700)]
Correct SPL use of WATCHDOG_AUTOSTART

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_WATCHDOG_AUTOSTART defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of VIDEO_BPP32
Simon Glass [Sun, 5 Feb 2023 22:44:30 +0000 (15:44 -0700)]
Correct SPL use of VIDEO_BPP32

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_VIDEO_BPP32 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of VIDEO_BPP16
Simon Glass [Mon, 6 Feb 2023 00:55:32 +0000 (17:55 -0700)]
Correct SPL use of VIDEO_BPP16

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_VIDEO_BPP16 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of VIDEO_ANSI
Simon Glass [Sun, 5 Feb 2023 22:44:28 +0000 (15:44 -0700)]
Correct SPL use of VIDEO_ANSI

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_VIDEO_ANSI defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of VIDEO
Simon Glass [Sun, 5 Feb 2023 22:44:27 +0000 (15:44 -0700)]
Correct SPL uses of VIDEO

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_VIDEO defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of USB_MUSB_HOST
Simon Glass [Sun, 5 Feb 2023 22:44:26 +0000 (15:44 -0700)]
Correct SPL uses of USB_MUSB_HOST

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_USB_MUSB_HOST defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of USB_KEYBOARD
Simon Glass [Mon, 6 Feb 2023 00:55:28 +0000 (17:55 -0700)]
Correct SPL uses of USB_KEYBOARD

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_USB_KEYBOARD defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of USB_FUNCTION_FASTBOOT
Simon Glass [Sun, 5 Feb 2023 22:44:23 +0000 (15:44 -0700)]
Correct SPL use of USB_FUNCTION_FASTBOOT

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_USB_FUNCTION_FASTBOOT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
22 months agoCorrect SPL use of UDP_FUNCTION_FASTBOOT
Simon Glass [Sun, 5 Feb 2023 22:44:20 +0000 (15:44 -0700)]
Correct SPL use of UDP_FUNCTION_FASTBOOT

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_UDP_FUNCTION_FASTBOOT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
22 months agoCorrect SPL use of TPM_RNG
Simon Glass [Sun, 5 Feb 2023 22:44:19 +0000 (15:44 -0700)]
Correct SPL use of TPM_RNG

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_TPM_RNG defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of TEN64_CONTROLLER
Simon Glass [Mon, 6 Feb 2023 00:55:21 +0000 (17:55 -0700)]
Correct SPL uses of TEN64_CONTROLLER

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_TEN64_CONTROLLER defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of TEE
Simon Glass [Sun, 5 Feb 2023 22:44:17 +0000 (15:44 -0700)]
Correct SPL use of TEE

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_TEE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of TARGET_PG_WCOM_SELI8
Simon Glass [Sun, 5 Feb 2023 22:44:16 +0000 (15:44 -0700)]
Correct SPL use of TARGET_PG_WCOM_SELI8

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_TARGET_PG_WCOM_SELI8 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>

22 months agoCorrect SPL use of TARGET_PG_WCOM_EXPU1
Simon Glass [Sun, 5 Feb 2023 22:41:00 +0000 (15:41 -0700)]
Correct SPL use of TARGET_PG_WCOM_EXPU1

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_TARGET_PG_WCOM_EXPU1 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>

22 months agoCorrect SPL use of TARGET_MX6UL_9X9_EVK
Simon Glass [Sun, 5 Feb 2023 22:40:59 +0000 (15:40 -0700)]
Correct SPL use of TARGET_MX6UL_9X9_EVK

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_TARGET_MX6UL_9X9_EVK defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of TARGET_LX2160ARDB
Simon Glass [Mon, 6 Feb 2023 00:55:16 +0000 (17:55 -0700)]
Correct SPL uses of TARGET_LX2160ARDB

This converts 3 usages of this option to the non-SPL form, since there is
no SPL_TARGET_LX2160ARDB defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of SYS_MEM_RSVD_FOR_MMU
Simon Glass [Sun, 5 Feb 2023 22:40:57 +0000 (15:40 -0700)]
Correct SPL use of SYS_MEM_RSVD_FOR_MMU

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SYS_MEM_RSVD_FOR_MMU defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of SYS_LONGHELP
Simon Glass [Sun, 5 Feb 2023 22:40:56 +0000 (15:40 -0700)]
Correct SPL uses of SYS_LONGHELP

This converts 5 usages of this option to the non-SPL form, since there is
no SPL_SYS_LONGHELP defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of SYS_FSL_ERRATUM_A010539
Simon Glass [Sun, 5 Feb 2023 22:40:55 +0000 (15:40 -0700)]
Correct SPL use of SYS_FSL_ERRATUM_A010539

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SYS_FSL_ERRATUM_A010539 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of SUPPORT_EMMC_RPMB
Simon Glass [Sun, 5 Feb 2023 22:40:54 +0000 (15:40 -0700)]
Correct SPL use of SUPPORT_EMMC_RPMB

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SUPPORT_EMMC_RPMB defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
22 months agoCorrect SPL use of STM32MP15X_STM32IMAGE
Simon Glass [Sun, 5 Feb 2023 22:40:53 +0000 (15:40 -0700)]
Correct SPL use of STM32MP15X_STM32IMAGE

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_STM32MP15X_STM32IMAGE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of SPLASH_SOURCE
Simon Glass [Mon, 6 Feb 2023 00:55:10 +0000 (17:55 -0700)]
Correct SPL use of SPLASH_SOURCE

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SPLASH_SOURCE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of SL28_SPL_LOADS_OPTEE_BL32
Simon Glass [Sun, 5 Feb 2023 22:40:49 +0000 (15:40 -0700)]
Correct SPL use of SL28_SPL_LOADS_OPTEE_BL32

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SL28_SPL_LOADS_OPTEE_BL32 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of SL28CPLD
Simon Glass [Sun, 5 Feb 2023 22:40:48 +0000 (15:40 -0700)]
Correct SPL use of SL28CPLD

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SL28CPLD defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of SIFIVE_OTP
Simon Glass [Sun, 5 Feb 2023 22:40:47 +0000 (15:40 -0700)]
Correct SPL uses of SIFIVE_OTP

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SIFIVE_OTP defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of SAVE_PREV_BL_INITRAMFS_START_ADDR
Simon Glass [Mon, 6 Feb 2023 00:55:03 +0000 (17:55 -0700)]
Correct SPL uses of SAVE_PREV_BL_INITRAMFS_START_ADDR

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SAVE_PREV_BL_INITRAMFS_START_ADDR defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of SAVE_PREV_BL_FDT_ADDR
Simon Glass [Sun, 5 Feb 2023 22:40:44 +0000 (15:40 -0700)]
Correct SPL uses of SAVE_PREV_BL_FDT_ADDR

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SAVE_PREV_BL_FDT_ADDR defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of SANDBOX_CLK_CCF
Simon Glass [Sun, 5 Feb 2023 22:40:43 +0000 (15:40 -0700)]
Correct SPL uses of SANDBOX_CLK_CCF

This converts 12 usages of this option to the non-SPL form, since there is
no SPL_SANDBOX_CLK_CCF defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of SANDBOX
Simon Glass [Sun, 5 Feb 2023 22:40:42 +0000 (15:40 -0700)]
Correct SPL use of SANDBOX

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SANDBOX defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of ROCKCHIP_EFUSE
Simon Glass [Sun, 5 Feb 2023 22:40:40 +0000 (15:40 -0700)]
Correct SPL uses of ROCKCHIP_EFUSE

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_ROCKCHIP_EFUSE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of RESV_RAM
Simon Glass [Sun, 5 Feb 2023 22:40:39 +0000 (15:40 -0700)]
Correct SPL use of RESV_RAM

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_RESV_RAM defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of RENESAS_SDHI
Simon Glass [Sun, 5 Feb 2023 22:40:38 +0000 (15:40 -0700)]
Correct SPL use of RENESAS_SDHI

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_RENESAS_SDHI defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of REGEX
Simon Glass [Sun, 5 Feb 2023 22:40:37 +0000 (15:40 -0700)]
Correct SPL use of REGEX

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_REGEX defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of PMIC_STPMIC1
Simon Glass [Sun, 5 Feb 2023 22:40:35 +0000 (15:40 -0700)]
Correct SPL uses of PMIC_STPMIC1

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_PMIC_STPMIC1 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of PG_WCOM_UBOOT_UPDATE
Simon Glass [Sun, 5 Feb 2023 22:40:30 +0000 (15:40 -0700)]
Correct SPL uses of PG_WCOM_UBOOT_UPDATE

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_PG_WCOM_UBOOT_UPDATE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>

22 months agoCorrect SPL uses of PG_WCOM_UBOOT_BOOTPACKAGE
Simon Glass [Sun, 5 Feb 2023 22:40:29 +0000 (15:40 -0700)]
Correct SPL uses of PG_WCOM_UBOOT_BOOTPACKAGE

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_PG_WCOM_UBOOT_BOOTPACKAGE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>

22 months agoCorrect SPL use of PARTITION_TYPE_GUID
Simon Glass [Sun, 5 Feb 2023 22:40:27 +0000 (15:40 -0700)]
Correct SPL use of PARTITION_TYPE_GUID

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PARTITION_TYPE_GUID defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of OF_EMBED
Simon Glass [Sun, 5 Feb 2023 22:40:25 +0000 (15:40 -0700)]
Correct SPL use of OF_EMBED

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_OF_EMBED defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of OCTEON_SERIAL_PCIE_CONSOLE
Simon Glass [Sun, 5 Feb 2023 22:40:23 +0000 (15:40 -0700)]
Correct SPL use of OCTEON_SERIAL_PCIE_CONSOLE

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_OCTEON_SERIAL_PCIE_CONSOLE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of OCTEON_SERIAL_BOOTCMD
Simon Glass [Sun, 5 Feb 2023 22:40:22 +0000 (15:40 -0700)]
Correct SPL use of OCTEON_SERIAL_BOOTCMD

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_OCTEON_SERIAL_BOOTCMD defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of NETDEVICES
Simon Glass [Sun, 5 Feb 2023 22:40:20 +0000 (15:40 -0700)]
Correct SPL use of NETDEVICES

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_NETDEVICES defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of NEEDS_MANUAL_RELOC
Simon Glass [Sun, 5 Feb 2023 22:40:19 +0000 (15:40 -0700)]
Correct SPL uses of NEEDS_MANUAL_RELOC

This converts 3 usages of this option to the non-SPL form, since there is
no SPL_NEEDS_MANUAL_RELOC defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of MTD
Simon Glass [Sun, 5 Feb 2023 22:40:17 +0000 (15:40 -0700)]
Correct SPL uses of MTD

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_MTD defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of MIPS_CM
Simon Glass [Sun, 5 Feb 2023 22:40:15 +0000 (15:40 -0700)]
Correct SPL use of MIPS_CM

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_MIPS_CM defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of MICROBLAZE
Simon Glass [Sun, 5 Feb 2023 22:40:14 +0000 (15:40 -0700)]
Correct SPL uses of MICROBLAZE

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_MICROBLAZE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of LMB
Simon Glass [Sun, 5 Feb 2023 22:40:13 +0000 (15:40 -0700)]
Correct SPL uses of LMB

This converts 9 usages of this option to the non-SPL form, since there is
no SPL_LMB defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL uses of IMX_MODULE_FUSE
Simon Glass [Sun, 5 Feb 2023 22:40:11 +0000 (15:40 -0700)]
Correct SPL uses of IMX_MODULE_FUSE

This converts 6 usages of this option to the non-SPL form, since there is
no SPL_IMX_MODULE_FUSE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of IMX8MN_BEACON_2GB_LPDDR
Simon Glass [Sun, 5 Feb 2023 22:40:10 +0000 (15:40 -0700)]
Correct SPL use of IMX8MN_BEACON_2GB_LPDDR

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_IMX8MN_BEACON_2GB_LPDDR defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Adam Ford <aford173@gmail.com>
22 months agoCorrect SPL uses of HW_WATCHDOG
Simon Glass [Sun, 5 Feb 2023 22:40:07 +0000 (15:40 -0700)]
Correct SPL uses of HW_WATCHDOG

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_HW_WATCHDOG defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
22 months agoCorrect SPL use of HUSH_PARSER
Simon Glass [Sun, 5 Feb 2023 22:40:06 +0000 (15:40 -0700)]
Correct SPL use of HUSH_PARSER

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_HUSH_PARSER defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
22 months agoCorrect SPL use of FS_EROFS
Simon Glass [Sun, 5 Feb 2023 22:40:03 +0000 (15:40 -0700)]
Correct SPL use of FS_EROFS

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_FS_EROFS defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Huang Jianan <jnhuang95@gmail.com>
22 months agoefi_loader: static efi_query_variable_info_runtime()
Heinrich Schuchardt [Fri, 10 Feb 2023 08:06:17 +0000 (09:06 +0100)]
efi_loader: static efi_query_variable_info_runtime()

This function is not used externally and hence should be static.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
22 months agoefi_loader: make gop_blt() static
Heinrich Schuchardt [Fri, 10 Feb 2023 08:05:03 +0000 (09:05 +0100)]
efi_loader: make gop_blt() static

This function is not used externally.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
22 months agoefi_loader: include definition of allow_unaligned()
Heinrich Schuchardt [Fri, 10 Feb 2023 08:02:56 +0000 (09:02 +0100)]
efi_loader: include definition of allow_unaligned()

Add missing include.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
22 months agoefi_loader: provide definition for efi_add_known_memory()
Heinrich Schuchardt [Fri, 10 Feb 2023 08:01:13 +0000 (09:01 +0100)]
efi_loader: provide definition for efi_add_known_memory()

We should provide a definition in an include for efi_add_known_memory().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
22 months agoefi_loader: static functions in efi_runtime.c
Heinrich Schuchardt [Fri, 10 Feb 2023 07:56:06 +0000 (08:56 +0100)]
efi_loader: static functions in efi_runtime.c

Functions that are not used externally should be static.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
22 months agoefi_loader: static functions in efi_console.c
Heinrich Schuchardt [Fri, 10 Feb 2023 07:51:41 +0000 (08:51 +0100)]
efi_loader: static functions in efi_console.c

Define function set_shift_mask() as static as it is not used externally.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>