platform/kernel/u-boot.git
16 months agoMerge tag 'u-boot-at91-2023.04-a' of https://source.denx.de/u-boot/custodians/u-boot...
Tom Rini [Fri, 6 Jan 2023 16:53:26 +0000 (11:53 -0500)]
Merge tag 'u-boot-at91-2023.04-a' of https://source.denx.de/u-boot/custodians/u-boot-at91 into next

First set of u-boot-at91 features for the 2023.04 cycle:

This feature set includes the new DM-based NAND flash driver (old non-DM
driver is still kept for backwards compatibility), and the move to DM
NAND flash driver for sam9x60ek board. Feature set also includes
devicetree alignment for sama7g5 with Linux, devicetree alignment on USB
with Linux for all boards (sama5, sam9x60), chip id for sama7g5, minor
configs and tweaks.

16 months agoMerge tag 'dm-next-5jan23' of https://source.denx.de/u-boot/custodians/u-boot-dm...
Tom Rini [Fri, 6 Jan 2023 03:54:26 +0000 (22:54 -0500)]
Merge tag 'dm-next-5jan23' of https://source.denx.de/u-boot/custodians/u-boot-dm into next

patman enhancements and fixes

16 months agopatman: add '--get-maintainer-script' argument
Maxim Cournoyer [Tue, 20 Dec 2022 05:28:46 +0000 (00:28 -0500)]
patman: add '--get-maintainer-script' argument

This makes it possible to configure a project to use some other
location or script than the default scripts/get_maintainer.pl one used
in the U-Boot and Linux projects. It can be configured via a .patman
configuration file and accepts arguments, as documented.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: additionally honor a local .patman config file
Maxim Cournoyer [Tue, 20 Dec 2022 05:38:41 +0000 (00:38 -0500)]
patman: additionally honor a local .patman config file

This enables versioning a project specific patman configuration file.
It also makes it possible to declare the project name, which is not a
useful thing to do in $HOME/.patman.  A new test is added, along
updated documentation.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: fail early in Setup when provided config file does not exist
Maxim Cournoyer [Tue, 20 Dec 2022 05:38:40 +0000 (00:38 -0500)]
patman: fail early in Setup when provided config file does not exist

Rationale: if the user explicitly provide this argument, they probably
intend for it to be used.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: set the default config_fname argument value to None
Maxim Cournoyer [Tue, 20 Dec 2022 05:38:39 +0000 (00:38 -0500)]
patman: set the default config_fname argument value to None

This better matches Python conventions, allowing to easily test
whether the optional argument is provided.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: import gitutil module where it is needed
Maxim Cournoyer [Tue, 20 Dec 2022 05:38:38 +0000 (00:38 -0500)]
patman: import gitutil module where it is needed

Instead of propagating it from the module entry point (main script).

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: replace deprecated SafeConfigParser with ConfigParser
Maxim Cournoyer [Tue, 20 Dec 2022 05:38:37 +0000 (00:38 -0500)]
patman: replace deprecated SafeConfigParser with ConfigParser

The SafeConfigParser class has been renamed in Python 3.2 to
ConfigParser, and the old alias has been deprecated since.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: fix pep8 warnings in settings module
Maxim Cournoyer [Tue, 20 Dec 2022 05:38:36 +0000 (00:38 -0500)]
patman: fix pep8 warnings in settings module

Remove extraneous imports, variables and comply to PEP 8 maximum line
width, among other PEP 8 changes suggested by Pyflake.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: document default 'send' command
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:45 +0000 (17:32 -0500)]
patman: document default 'send' command

Document that this command is the default and what it's intended for.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: document how to run test suite via pytest
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:44 +0000 (17:32 -0500)]
patman: document how to run test suite via pytest

Pytest offers useful features such as selecting tests by means of a
regular expression, or running the pdb debugger upon encountering a
test failure.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: hide the 'test' command unless test data is available
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:43 +0000 (17:32 -0500)]
patman: hide the 'test' command unless test data is available

Some tests would fail when the test data is not available, so it
doesn't make much sense to expose the action when patman is running
outside of the u-boot git checkout.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: add pytest configuration file
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:42 +0000 (17:32 -0500)]
patman: add pytest configuration file

With this change, a user can run the patman test suite using Pytest
the same as when using 'patman test':

    $ cd tools/patman && pytest
    [...]
    44 passed, 8 warnings in 8.87s

    $ ./patman test
    Ran 44 tests in 8.460s

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: rename main script to __main__.py
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:41 +0000 (17:32 -0500)]
patman: rename main script to __main__.py

This allows running the package as a Python module, like e.g.:

    $ python -m patman

It also prevents Pytest from attempting to parse main.py, which
would cause errors.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Fix up main.py in __init__.py:
Signed-off-by: Simon Glass <sjg@chromium.org>
16 months agopatman: invoke the checkpatch.pl script with '--u-boot' and '--strict'
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:40 +0000 (17:32 -0500)]
patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'

This resolves 10 out of 11 test failures seen when running './patman
test' from the 'tools/patman' subdirectory. This was caused by the
.checkpatch.conf configuration file at the root of the project not
being picked up. Make the test suite of patman independent from it by
always invoking the checkpatch.pl script with the minimally required
arguments for the test suite to pass.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: locate test data files via __file__ and pathlib
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:39 +0000 (17:32 -0500)]
patman: locate test data files via __file__ and pathlib

Previously it would rely on the executing script location, which could
break for example when running the tests via 'pytest'.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: cosmetic: Fix PEP 8 warnings for the gitutil module.
Maxim Cournoyer [Mon, 19 Dec 2022 22:32:38 +0000 (17:32 -0500)]
patman: cosmetic: Fix PEP 8 warnings for the gitutil module.

This patch fixes all the PEP 8 warnings reported by Pyflake for the
gitutil module.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
16 months agopatman: locate README.rst via importlib
Maxim Cournoyer [Sat, 17 Dec 2022 01:45:29 +0000 (20:45 -0500)]
patman: locate README.rst via importlib

Rationale: this is more robust than assumptions about the file
hierarchy layout of the installation of patman, for example on non
file-hierarchy standard (FHS) systems such as Guix System or Nix OS.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: fix installation of README.rst data file
Maxim Cournoyer [Sat, 17 Dec 2022 01:45:28 +0000 (20:45 -0500)]
patman: fix installation of README.rst data file

This fixes a regression introduced in commit 74df491051d6 ("buildman:
Convert documentation to rST").

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: remove extraneous imports
Maxim Cournoyer [Sat, 17 Dec 2022 01:45:27 +0000 (20:45 -0500)]
patman: remove extraneous imports

* tools/patman/main.py: Remove extraneous imports and fix indentation.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agotest:dm:fix typo
Yuepeng Xing [Fri, 2 Dec 2022 06:23:07 +0000 (14:23 +0800)]
test:dm:fix typo

Fix typos in the 'test/dm' directory.

Signed-off-by: Yuepeng Xing <xingyuepeng@eswincomputing.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agopatman: Switch to setuptools
Sean Anderson [Sun, 27 Nov 2022 21:55:02 +0000 (16:55 -0500)]
patman: Switch to setuptools

distutils is about to meet its demise [1]. Switch to setuptools.

[1] https://peps.python.org/pep-0632/

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agoreset: at91: Add reset driver for basic assert/deassert operations
Sergiu Moga [Wed, 4 Jan 2023 14:03:18 +0000 (16:03 +0200)]
reset: at91: Add reset driver for basic assert/deassert operations

Add support for at91 reset controller's basic assert/deassert
operations. Since this driver conflicts with the
SYSRESET driver because they both bind to the same RSTC node,
implement a custom bind hook that would manually bind the
sysreset driver, if enabled, to the same RSTC DT node.
Furthermore, delete the no longer needed compatibles from the
SYSRESET driver and rename it to make sure than any possible
conflicts are avoided.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Tested-by: Mihai Sain <mihai.sain@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
16 months agoARM: at91: add sama7 SFR definitions
Cristian Birsan [Wed, 4 Jan 2023 14:03:17 +0000 (16:03 +0200)]
ARM: at91: add sama7 SFR definitions

Special Function Registers(SFR) definitions for SAMA7 product family.

Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agoARM: dts: sama5d27_wlsom1_ek: Add pinctrl nodes for USB DT nodes
Sergiu Moga [Wed, 4 Jan 2023 14:04:18 +0000 (16:04 +0200)]
ARM: dts: sama5d27_wlsom1_ek: Add pinctrl nodes for USB DT nodes

Add the pinctrl nodes required by the USB related DT nodes.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agoARM: dts: sama5d2_icp: Add pinctrl nodes for USB related DT nodes
Sergiu Moga [Wed, 4 Jan 2023 14:04:17 +0000 (16:04 +0200)]
ARM: dts: sama5d2_icp: Add pinctrl nodes for USB related DT nodes

Add the pinctrl subnodes required by the USB related DT nodes.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agoARM: dts: sama7g5ek: Add pinctrl, gpio and phy properties for USB
Sergiu Moga [Wed, 4 Jan 2023 14:04:16 +0000 (16:04 +0200)]
ARM: dts: sama7g5ek: Add pinctrl, gpio and phy properties for USB

Add the required pinctrl, gpio and phy properties required by the
USB DT nodes of the sama7g5ek boards. Since these have not yet been
defined in upstream Linux, place them in the U-Boot specific DT file.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agoARM: dts: sama7g5: Add USB and UTMI DT nodes
Sergiu Moga [Wed, 4 Jan 2023 14:04:15 +0000 (16:04 +0200)]
ARM: dts: sama7g5: Add USB and UTMI DT nodes

Define the USB and UTMI DT nodes for the sama7g5 SoC's. Since these have
not yet been defined in upstream Linux, place them in the U-Boot specific
DT file.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Marek Vasut <marex@denx.de>
16 months agodt-bindings: clk: at91: Define additional UTMI related clocks
Sergiu Moga [Wed, 4 Jan 2023 14:04:14 +0000 (16:04 +0200)]
dt-bindings: clk: at91: Define additional UTMI related clocks

Add definitions for an additional main UTMI clock as well as its
respective subclocks.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agodt-bindings: reset: add sama7g5 definitions
Sergiu Moga [Wed, 4 Jan 2023 14:04:13 +0000 (16:04 +0200)]
dt-bindings: reset: add sama7g5 definitions

Upstream linux commit 5994f58977e0.

Add reset bindings for SAMA7G5. At the moment only USB PHYs are
included.

The three reset USB phy's have their ID's mapped from 4 to 6. There are
no USB phy's with ID's numbered from 0 to 3.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agoARM: dts: sam9x60ek: Add pinctrl and gpio properties for USB
Sergiu Moga [Wed, 4 Jan 2023 14:04:12 +0000 (16:04 +0200)]
ARM: dts: sam9x60ek: Add pinctrl and gpio properties for USB

Add the required pinctrl and gpio properties required by the USB DT
nodes of the sam9x60ek boards.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agoARM: dts: sam9x60_curiosity: Add pinctrl and gpio properties for USB
Sergiu Moga [Wed, 4 Jan 2023 14:04:11 +0000 (16:04 +0200)]
ARM: dts: sam9x60_curiosity: Add pinctrl and gpio properties for USB

Add the required pinctrl and gpio properties needed by the USB DT nodes
of the sam9x60_curiosity boards.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
16 months agoARM: dts: sam9x60: Add OHCI and EHCI DT nodes
Sergiu Moga [Wed, 4 Jan 2023 14:04:10 +0000 (16:04 +0200)]
ARM: dts: sam9x60: Add OHCI and EHCI DT nodes

Add the OHCI and EHCI DT nodes for the sam9x60 SoC's.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Marek Vasut <marex@denx.de>
16 months agoconfigs: sam9x60: add mmc config for sdmmc1
Mihai Sain [Fri, 23 Dec 2022 06:43:53 +0000 (08:43 +0200)]
configs: sam9x60: add mmc config for sdmmc1

Add new config for storing environment from SDMMC1.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
16 months agoboard: at91: sam9x60: set blue led on at boot time
Mihai Sain [Fri, 23 Dec 2022 06:39:36 +0000 (08:39 +0200)]
board: at91: sam9x60: set blue led on at boot time

Set blue led on at boot time in order to highlight that u-boot is loaded.
This is done for all sam9x60 based boards which contain an RGB led.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
16 months agoARM: dts: at91: sam9x60: add sdhci1 node and pinctrl
Mihai Sain [Fri, 23 Dec 2022 06:47:17 +0000 (08:47 +0200)]
ARM: dts: at91: sam9x60: add sdhci1 node and pinctrl

Add node for sdhci1 controller and its pinctrl.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
16 months agoMerge branch '2023-01-02-platform-updates' into next
Tom Rini [Mon, 2 Jan 2023 23:07:41 +0000 (18:07 -0500)]
Merge branch '2023-01-02-platform-updates' into next

- Synquacer updates / fixes, PowerPC keymile platform dts fix, assorted
  TI platform updates, ht1380 RTC driver, serial driver cleanups,
  pg_wcom defconfig updates, s5p4418 DM_SERIAL (and legacy code removal).

16 months agoarm: s5p4418: dm_serial: remove old code / add DEBUG_UART
Stefan Bosch [Sun, 18 Dec 2022 12:26:47 +0000 (12:26 +0000)]
arm: s5p4418: dm_serial: remove old code / add DEBUG_UART

Remove init of UART-clock and UART-reset in arch_cpu_init(). Add DEBUG_UART
to s5p4418_nanopi2_defconfig.

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
16 months agoarm: s5p4418: dm_serial: switch to DM_SERIAL
Stefan Bosch [Sun, 18 Dec 2022 12:25:33 +0000 (12:25 +0000)]
arm: s5p4418: dm_serial: switch to DM_SERIAL

Switch the S5P4418-SOC and therefore the s5p4418_nanopi2 board to
DM_SERIAL.

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
16 months agoarm: s5p4418: dm_serial: add uarts to dts
Stefan Bosch [Sun, 18 Dec 2022 12:24:33 +0000 (12:24 +0000)]
arm: s5p4418: dm_serial: add uarts to dts

Add S5P4418 UARTs and appropriate pinctrl to dts. Add UART to
s5p4418-nanopi2.dts.

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
16 months agoarm: s5p4418: dm_serial: add driver source code
Stefan Bosch [Sun, 18 Dec 2022 12:20:49 +0000 (12:20 +0000)]
arm: s5p4418: dm_serial: add driver source code

Add dm_serial driver source code for S5P4418 SOC. Extend the "arm,pl011"
driver by init of UART-clock and UART-reset.

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
16 months agoboard/pg_wcom: rework defconfig
Holger Brunck [Wed, 14 Dec 2022 10:30:07 +0000 (11:30 +0100)]
board/pg_wcom: rework defconfig

Switch off SCSI related config options to get rid of the board
removal warning. We don't use this interface. Also disable UBIFS
to decrease the image size, as this is also not used.

Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
16 months agoboard: ti: common: board_detect: Fix EEPROM read quirk for 2-byte
Neha Malcom Francis [Tue, 13 Dec 2022 06:27:34 +0000 (11:57 +0530)]
board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte

EEPROM detection logic in ti_i2c_eeprom_get() involves figuring out
whether addressing is 1-byte or 2-byte. There are currently different
behaviours seen across boards as documented in commit bf6376642fe8
("board: ti: common: board_detect: Fix EEPROM read quirk"). Adding to
the list, we see that there are 2-byte EEPROMs that read properly
with 1-byte addressing with no offset.

For ti_i2c_eeprom_am6_get where eeprom parse operation is dynamic, the
earlier commit d2ab2a2bafd5 ("board: ti: common: board_detect: Fix
EEPROM read quirk for AM6 style data") tried to resolve this by running
ti_i2c_eeprom_get() twice. However this commit along with its former
commit fails on J7 platforms where EEPROM successfully return back the
header on 1-byte addressing and continues to do so until an offset is
introduced. So the second read incorrectly determines the EEPROM as
1-byte addressing.

A more generic solution is introduced here to solve
this issue: 1-byte read without offset and 1-byte read with offset. If
both passes, it follows 1-byte addressing else we proceed with 2-byte
addressing check.

Tested on J721E, J7200, DRA7xx, AM64x

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Fixes: d2ab2a2bafd5 (board: ti: common: board_detect: Fix EEPROM read quirk for AM6 style data)
Fixes: bf6376642fe8 (board: ti: common: board_detect: Fix EEPROM read quirk)
Tested-By: Matwey V. Kornilov <matwey.kornilov@gmail.com>
16 months agoAdd CONFIG_SYS_NAND_SELF_INIT to Kconfig for NAND DENALI driver
Lokanathan, Raaj [Sun, 11 Dec 2022 15:37:42 +0000 (23:37 +0800)]
Add CONFIG_SYS_NAND_SELF_INIT to Kconfig for NAND DENALI driver

Add the CONFIG_SYS_NAND_SELF_INIT to the Kconfig to follow the changes from
mainline.

Signed-off-by: Lokanathan, Raaj <raaj.lokanathan@intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
16 months agoserial: Use -EAGAIN in getc and putc
Pali Rohár [Sat, 10 Dec 2022 23:31:21 +0000 (00:31 +0100)]
serial: Use -EAGAIN in getc and putc

U-Boot serial code already handles -EAGAIN value from getc and putc
callbacks. So change drivers code to return -EAGAIN when HW is busy instead
of doing its own busy loop and waiting until HW is ready.

Signed-off-by: Pali Rohár <pali@kernel.org>
16 months agoserial: Do not write additional \r before \n for dm_serial drivers
Pali Rohár [Sat, 10 Dec 2022 23:27:44 +0000 (00:27 +0100)]
serial: Do not write additional \r before \n for dm_serial drivers

serial-uclass.c code already puts \r before \n for all dm_serial drivers.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agortc: add ht1380 driver
Sergei Antonov [Fri, 9 Dec 2022 16:15:30 +0000 (19:15 +0300)]
rtc: add ht1380 driver

Support Holtek HT1380/HT1381 Serial Timekeeper Chip. It provides seconds
, minutes, hours, day of the week, date, month and year information.

Datasheet:
https://www.holtek.com.tw/documents/10179/11842/ht1380_1v130.pdf

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agoarm: uniphier: use DM_TIMER of arm a9 global timer
Dai Okamura [Fri, 9 Dec 2022 11:33:48 +0000 (20:33 +0900)]
arm: uniphier: use DM_TIMER of arm a9 global timer

All uniphier v7 SoCs have cortex-a9 and use cortex-a9 global timer
in a simple implementation. Now DM_TIMER of it is available
on 35751c7f3f ("timer: sti: convert sti-timer to arm a9 global timer"),
so let's switch to it.

The old driver reads the lower 32bits of counter field
and sets the prescaler as 50 with PERIPHCLK(=50MHz),
so the global timer works as a 32-bit 1MHz timer.

The DM_TIMER uses the whole 64bits with no prescaler,
so the global timer works as a 64-bit PERIPHCLK timer.

CONFIG_SYS_HZ_CLOCK is set as the default PERIPHCLK frequency,
if there is no 'clocks' property in devicetree.

Signed-off-by: Dai Okamura <okamura.dai@socionext.com>
16 months agopinctrl: uniphier: add ethernet TX pin data for PXs3
Dai Okamura [Fri, 9 Dec 2022 11:33:47 +0000 (20:33 +0900)]
pinctrl: uniphier: add ethernet TX pin data for PXs3

PXs3 Ref boards need to change the strength of ethernet ports
for stability, like LD20's one.

This adds the table data and fixes the boot issue on PXs3 Ref board.

Fixes: 0852033309 ("ARM: uniphier: sync with Linux 5.8-rc4")
Signed-off-by: Dai Okamura <okamura.dai@socionext.com>
16 months agopinctrl: uniphier: add check if pins are valid
Dai Okamura [Fri, 9 Dec 2022 11:33:46 +0000 (20:33 +0900)]
pinctrl: uniphier: add check if pins are valid

The pinctrl datas of uniphier SoCs are the minimal subsets of kernel's one,
and some tables has no data to save the footprint size.
If the board dts tries to match a pin name on no pins defined SoC,
the footprint magic code causes "Synchronous Abort".

This checks if the 'pins' data is valid,
and if empty, avoids the abort with the warning as follows:

  WARNING at drivers/pinctrl/uniphier/pinctrl-uniphier-core.c:36/uniphier_pinctrl_get_pins_count()!
  pinctrl_select_state_full: pinctrl_config_one: err=-38

Signed-off-by: Dai Okamura <okamura.dai@socionext.com>
16 months agodts: synquacer: Drop unused and undocumented GPIO 'base' property
Rob Herring [Fri, 9 Dec 2022 02:45:09 +0000 (20:45 -0600)]
dts: synquacer: Drop unused and undocumented GPIO 'base' property

The 'base' GPIO controller property is unused in u-boot and Linux. It is
also not documented in the binding. So drop it.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
16 months agodts: synquacer: Drop unused and undocumented SPI properties
Rob Herring [Fri, 9 Dec 2022 02:45:08 +0000 (20:45 -0600)]
dts: synquacer: Drop unused and undocumented SPI properties

'active_clk_edges' and 'chipselect_num' SPI controller properties are
unused in u-boot and Linux. They are also not documented in the binding.
So drop them.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
16 months agopowerpc: dts: keymile: Deduplicate binman code
Pali Rohár [Wed, 3 Aug 2022 11:20:49 +0000 (13:20 +0200)]
powerpc: dts: keymile: Deduplicate binman code

kmcent2-u-boot.dtsi file contains copy of powerpc u-boot.dtsi binman file.
So remove code duplication and replace it by including u-boot.dtsi file.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
16 months agodts: synquacer: Fix idle-states 'entry-method' value
Rob Herring [Tue, 6 Dec 2022 16:16:32 +0000 (10:16 -0600)]
dts: synquacer: Fix idle-states 'entry-method' value

The correct value for 'entry-method' in the idle-states binding is 'psci',
not 'arm,psci'. It hasn't mattered because it isn't used by the OS.

Signed-off-by: Rob Herring <robh@kernel.org>
16 months agodts: synquacer: Fix "arm, armv7-timer-mem" node address sizes
Rob Herring [Tue, 6 Dec 2022 16:16:31 +0000 (10:16 -0600)]
dts: synquacer: Fix "arm, armv7-timer-mem" node address sizes

The "arm,armv7-timer-mem" schema defines the address sizes for child
nodes to be 32-bit as there's no need for 64-bit offsets and sizes of
the child 'frame' nodes.

Signed-off-by: Rob Herring <robh@kernel.org>
16 months agodts: synquacer: Use generic node names
Rob Herring [Tue, 6 Dec 2022 16:16:30 +0000 (10:16 -0600)]
dts: synquacer: Use generic node names

DT node names should follow generic names defined in the DT spec. These
are also now checked by dtschema tools.

Signed-off-by: Rob Herring <robh@kernel.org>
16 months agodts: synquacer: Drop CPU 'arm,armv8' compatibles
Rob Herring [Tue, 6 Dec 2022 16:16:29 +0000 (10:16 -0600)]
dts: synquacer: Drop CPU 'arm,armv8' compatibles

'arm,armv8' compatible is for software models only. so drop it from cpu
nodes.

Signed-off-by: Rob Herring <robh@kernel.org>
16 months agoarm: dts: ti: k3-am64-mcu: Add pinctrl
Christian Gmeiner [Mon, 5 Dec 2022 11:10:40 +0000 (12:10 +0100)]
arm: dts: ti: k3-am64-mcu: Add pinctrl

Add the definition of the pinctrl for the MCU domain.

Same as kernel commit 500e6dfbb465531150ac6e2ff0856dd357ddc8a4

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
16 months agoMerge branch '2022-12-31-cmd-source-support-specifying-config-name' into next
Tom Rini [Sat, 31 Dec 2022 21:30:31 +0000 (16:30 -0500)]
Merge branch '2022-12-31-cmd-source-support-specifying-config-name' into next

To quote the author:
This series adds support for using configs with the source command.

And to paraphrase the rest, see the patch commit messages for more
details.

16 months agocmd: source: Support specifying config name
Sean Anderson [Mon, 12 Dec 2022 19:12:11 +0000 (14:12 -0500)]
cmd: source: Support specifying config name

As discussed previously [1,2], the source command is not safe to use with
verified boot unless there is a key with required = "images" (which has its
own problems). This is because if such a key is absent, signatures are
verified but not required. It is assumed that configuration nodes will
provide the signature. Because the source command does not use
configurations to determine the image to source, effectively no
verification takes place.

To address this, allow specifying configuration nodes. We use the same
syntax as the bootm command (helpfully provided for us by fit_parse_conf).
By default, we first try the default config and then the default image. To
force using a config, # must be present in the command (e.g. `source
$loadaddr#my-conf`). For convenience, the config may be omitted, just like
the address may be (e.g. `source \#`). This also works for images
(`source :` behaves exactly like `source` currently does).

[1] https://lore.kernel.org/u-boot/7d711133-d513-5bcb-52f2-a9dbaa9eeded@prevas.dk/
[2] https://lore.kernel.org/u-boot/042dcb34-f85f-351e-1b0e-513f89005fdd@gmail.com/

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agocmd: source: Clean up a few lines
Sean Anderson [Mon, 12 Dec 2022 19:12:10 +0000 (14:12 -0500)]
cmd: source: Clean up a few lines

This simplifies a few lines and corrects an error message.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agotreewide: Use NULL for script image name
Sean Anderson [Mon, 12 Dec 2022 19:12:09 +0000 (14:12 -0500)]
treewide: Use NULL for script image name

Two callers of image_source_script specify an image name. However, both
use the deprecated @ syntax, indicating that they have not been updated
in a while. If CONFIG_FIT_SIGNATURE is enabled, we will reject such
names outright. Back in commit 152576a598c ("stm32mp: stm32prog: handle
U-Boot script in flashlayout alternate"), we even renamed one of the
nodes. Instead of hard-coding a script image name, just use the default
image.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
16 months agotest: Add test for source command
Sean Anderson [Mon, 12 Dec 2022 19:12:08 +0000 (14:12 -0500)]
test: Add test for source command

This adds a basic test for FIT image handling by the source command.
It's a python test becase we need to run mkimage.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agoimage: Add fallback for fit_config_verify
Sean Anderson [Mon, 12 Dec 2022 19:12:07 +0000 (14:12 -0500)]
image: Add fallback for fit_config_verify

Add a fallback for this function so it can be used without regard to
whether FIT_SIGNATURE is enabled or not.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 months agoMerge branch '2022-12-23-complete-phase1-CONFIG-migration' into next
Tom Rini [Sat, 24 Dec 2022 03:19:39 +0000 (22:19 -0500)]
Merge branch '2022-12-23-complete-phase1-CONFIG-migration' into next

- Bring in the final series to complete the main portion of migrating
  CONFIG symbols to either Kconfig or CFG namespace (or removing /
  renaming entirely). With this, we have stricter CI tests as well now.

16 months agocommon/spl/spl_ram: Remove unused default
Tom Rini [Sun, 4 Dec 2022 15:14:20 +0000 (10:14 -0500)]
common/spl/spl_ram: Remove unused default

We ask for CONFIG_SPL_LOAD_FIT_ADDRESS in Kconfig, so we cannot define
it in C as a fall-back. However, this option previously was buried under
"if ... endif" Kconfig logic. Rework a number of config options to now
have more robust dependency lines so that we can ask this address when
needed. With that done, we can remove the fallback in spl_ram.c.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agocf_spi.c: Rename CONFIG_SPI_IDLE_VAL to SPI_IDLE_VAL
Tom Rini [Sun, 4 Dec 2022 15:14:19 +0000 (10:14 -0500)]
cf_spi.c: Rename CONFIG_SPI_IDLE_VAL to SPI_IDLE_VAL

This value is never changed by boards, so just rename it to
SPI_IDLE_VAL to fit with the rest of the code.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agopci-rcar-gen3: Rename CONFIG_SEND_ENABLE
Tom Rini [Sun, 4 Dec 2022 15:14:18 +0000 (10:14 -0500)]
pci-rcar-gen3: Rename CONFIG_SEND_ENABLE

We rename the symbol CONFIG_SEND_ENABLE to just SEND_ENABLE, and remove
the second whitespace following the define.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agopost: Move CONFIG_SYS_POST to CFG_SYS_POST
Tom Rini [Sun, 4 Dec 2022 15:14:17 +0000 (10:14 -0500)]
post: Move CONFIG_SYS_POST to CFG_SYS_POST

Migrate the rest of the CONFIG_SYS_POST macros over to CFG_SYS_POST
namespace.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agokbuild: Remove checking for adhoc CONFIG symbols
Tom Rini [Sun, 4 Dec 2022 15:14:16 +0000 (10:14 -0500)]
kbuild: Remove checking for adhoc CONFIG symbols

At this point all listed adhoc CONFIG symbols have been migrated to
Kconfig or removed from the tree or renamed to CFG (or similar). We also
now have CI tests that will error on any new introductions, and
checkpatch.pl also looks. We can now remove these hooks and related
scripts.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoCI: Replace unmigrated symbol test with non-Kconfig introduction test
Tom Rini [Sun, 4 Dec 2022 15:14:15 +0000 (10:14 -0500)]
CI: Replace unmigrated symbol test with non-Kconfig introduction test

Now that all symbols have been migrated to Kconfig, or are part of the
CFG namespace we do not need a complex check for unmigrated CONFIG
symbols. Any instance of #define (or #undef) or a CONFIG value is wrong,
so cause CI to fail.

This test is not as strict as possible yet as we have more symbols that
were not previously caught to deal with.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agocheckpatch.pl: Update CONFIG logic in U-Boot section
Tom Rini [Sun, 4 Dec 2022 15:14:14 +0000 (10:14 -0500)]
checkpatch.pl: Update CONFIG logic in U-Boot section

Now that all CONFIG symbols are in Kconfig, checkpatch.pl should check
for and error on any case of define/undef CONFIG_*.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agokbuild: Remove uncmd_spl logic
Tom Rini [Sun, 4 Dec 2022 15:14:13 +0000 (10:14 -0500)]
kbuild: Remove uncmd_spl logic

At this point in the conversion there should be no need to have logic to
disable some symbol during the SPL build as all symbols should have an
SPL counterpart.

The main real changes done here are that we now must make proper use of
CONFIG_IS_ENABLED(DM_SERIAL) rather than many of the odd tricks we
developed prior to CONFIG_IS_ENABLED() being available.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agobcmcygnus: Convert CONFIG_IPROC to Kconfig
Tom Rini [Sun, 4 Dec 2022 15:14:12 +0000 (10:14 -0500)]
bcmcygnus: Convert CONFIG_IPROC to Kconfig

Select this symbol as needed.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoconfigs: Remove unused or redundant CONFIG symbols
Tom Rini [Sun, 4 Dec 2022 15:14:11 +0000 (10:14 -0500)]
configs: Remove unused or redundant CONFIG symbols

A number of CONFIG symbols have crept in that are never referenced in
code, so drop them here. Further, we have two symbols being enabled
in headers while already enabled correctly in Kconfig, so these lines
can also be removed.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agolibrem5: Rename CONFIG_POWER_BD71837 symbols
Tom Rini [Sun, 4 Dec 2022 15:14:10 +0000 (10:14 -0500)]
librem5: Rename CONFIG_POWER_BD71837 symbols

Rename the CONFIG_POWER_BD71837_I2C_* symbols to not have the CONFIG
prefix and be local to the file they are used in.

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_X86_REFCODE_RUN_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:09 +0000 (10:14 -0500)]
global: Migrate CONFIG_X86_REFCODE_RUN_ADDR to CFG

Perform a simple rename of CONFIG_X86_REFCODE_RUN_ADDR to CFG_X86_REFCODE_RUN_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_X86_REFCODE_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:08 +0000 (10:14 -0500)]
global: Migrate CONFIG_X86_REFCODE_ADDR to CFG

Perform a simple rename of CONFIG_X86_REFCODE_ADDR to CFG_X86_REFCODE_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_X86_MRC_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:07 +0000 (10:14 -0500)]
global: Migrate CONFIG_X86_MRC_ADDR to CFG

Perform a simple rename of CONFIG_X86_MRC_ADDR to CFG_X86_MRC_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_WATCHDOG_PRESC et al to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:06 +0000 (10:14 -0500)]
global: Migrate CONFIG_WATCHDOG_PRESC et al to CFG

Perform simple renames of:
   CONFIG_WATCHDOG_PRESC to CFG_WATCHDOG_PRESC
   CONFIG_WATCHDOG_RC to CFG_WATCHDOG_RC

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_VSC7385_IMAGE et al to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:05 +0000 (10:14 -0500)]
global: Migrate CONFIG_VSC7385_IMAGE et al to CFG

Perform simple renames of:
   CONFIG_VSC7385_IMAGE to CFG_VSC7385_IMAGE
   CONFIG_VSC7385_IMAGE_SIZE to CFG_VSC7385_IMAGE_SIZE

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_USB_ISP1301_I2C_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:04 +0000 (10:14 -0500)]
global: Migrate CONFIG_USB_ISP1301_I2C_ADDR to CFG

Perform a simple rename of CONFIG_USB_ISP1301_I2C_ADDR to CFG_USB_ISP1301_I2C_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_USART_ID to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:03 +0000 (10:14 -0500)]
global: Migrate CONFIG_USART_ID to CFG

Perform a simple rename of CONFIG_USART_ID to CFG_USART_ID

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_USART_BASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:02 +0000 (10:14 -0500)]
global: Migrate CONFIG_USART_BASE to CFG

Perform a simple rename of CONFIG_USART_BASE to CFG_USART_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_TSEC_TBICR_SETTINGS to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:01 +0000 (10:14 -0500)]
global: Migrate CONFIG_TSEC_TBICR_SETTINGS to CFG

Perform a simple rename of CONFIG_TSEC_TBICR_SETTINGS to CFG_TSEC_TBICR_SETTINGS

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_TESTPIN_REG to CFG
Tom Rini [Sun, 4 Dec 2022 15:14:00 +0000 (10:14 -0500)]
global: Migrate CONFIG_TESTPIN_REG to CFG

Perform a simple rename of CONFIG_TESTPIN_REG to CFG_TESTPIN_REG

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_TESTPIN_MASK to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:59 +0000 (10:13 -0500)]
global: Migrate CONFIG_TESTPIN_MASK to CFG

Perform a simple rename of CONFIG_TESTPIN_MASK to CFG_TESTPIN_MASK

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_TEGRA_BOARD_STRING to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:58 +0000 (10:13 -0500)]
global: Migrate CONFIG_TEGRA_BOARD_STRING to CFG

Perform a simple rename of CONFIG_TEGRA_BOARD_STRING to CFG_TEGRA_BOARD_STRING

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SYS_I2C_DIRECT_BUS to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:57 +0000 (10:13 -0500)]
global: Migrate CONFIG_SYS_I2C_DIRECT_BUS to CFG

Perform a simple rename of CONFIG_SYS_I2C_DIRECT_BUS to CFG_SYS_I2C_DIRECT_BUS

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_STD_DEVICES_SETTINGS to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:56 +0000 (10:13 -0500)]
global: Migrate CONFIG_STD_DEVICES_SETTINGS to CFG

Perform a simple rename of CONFIG_STD_DEVICES_SETTINGS to CFG_STD_DEVICES_SETTINGS

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_STACKBASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:55 +0000 (10:13 -0500)]
global: Migrate CONFIG_STACKBASE to CFG

Perform a simple rename of CONFIG_STACKBASE to CFG_STACKBASE

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SMP_PEN_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:54 +0000 (10:13 -0500)]
global: Migrate CONFIG_SMP_PEN_ADDR to CFG

Perform a simple rename of CONFIG_SMP_PEN_ADDR to CFG_SMP_PEN_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SLIC to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:53 +0000 (10:13 -0500)]
global: Migrate CONFIG_SLIC to CFG

Perform a simple rename of CONFIG_SLIC to CFG_SLIC

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SH_ETHER_USE_PORT to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:52 +0000 (10:13 -0500)]
global: Migrate CONFIG_SH_ETHER_USE_PORT to CFG

Perform a simple rename of CONFIG_SH_ETHER_USE_PORT to CFG_SH_ETHER_USE_PORT

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SH_ETHER_PHY_MODE to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:51 +0000 (10:13 -0500)]
global: Migrate CONFIG_SH_ETHER_PHY_MODE to CFG

Perform a simple rename of CONFIG_SH_ETHER_PHY_MODE to CFG_SH_ETHER_PHY_MODE

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SH_ETHER_PHY_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:50 +0000 (10:13 -0500)]
global: Migrate CONFIG_SH_ETHER_PHY_ADDR to CFG

Perform a simple rename of CONFIG_SH_ETHER_PHY_ADDR to CFG_SH_ETHER_PHY_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SH_ETHER_CACHE_WRITEBACK to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:49 +0000 (10:13 -0500)]
global: Migrate CONFIG_SH_ETHER_CACHE_WRITEBACK to CFG

Perform a simple rename of CONFIG_SH_ETHER_CACHE_WRITEBACK to CFG_SH_ETHER_CACHE_WRITEBACK

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SH_ETHER_CACHE_INVALIDATE to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:48 +0000 (10:13 -0500)]
global: Migrate CONFIG_SH_ETHER_CACHE_INVALIDATE to CFG

Perform a simple rename of CONFIG_SH_ETHER_CACHE_INVALIDATE to CFG_SH_ETHER_CACHE_INVALIDATE

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SH_ETHER_ALIGNE_SIZE to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:47 +0000 (10:13 -0500)]
global: Migrate CONFIG_SH_ETHER_ALIGNE_SIZE to CFG

Perform a simple rename of CONFIG_SH_ETHER_ALIGNE_SIZE to CFG_SH_ETHER_ALIGNE_SIZE

Signed-off-by: Tom Rini <trini@konsulko.com>
16 months agoglobal: Migrate CONFIG_SET_DFU_ALT_BUF_LEN to CFG
Tom Rini [Sun, 4 Dec 2022 15:13:46 +0000 (10:13 -0500)]
global: Migrate CONFIG_SET_DFU_ALT_BUF_LEN to CFG

Perform a simple rename of CONFIG_SET_DFU_ALT_BUF_LEN to CFG_SET_DFU_ALT_BUF_LEN

Signed-off-by: Tom Rini <trini@konsulko.com>