On STM32U3, transition from LDO to SMPS or vice-versa as VCORE regulator
supply source can take some time (~20 µs). Make sure to wait until the
transition is complete before letting the boot process continue.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The top bits of a TX policy rate word hold the retry count, not a valid
flag, so the decoder only reported a rate when the first retry chain
entry happened to have four or more retries. Decode the MCS index when
the format modulation field is non-HT instead.
Signed-off-by: William Markezana <william.markezana@gmail.com>
CONFIG_MPU_ALLOW_FLASH_WRITE requires user mode to have write access to
flash. Update the corresponding MPU region attributes to grant write
access when the option is enabled.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
clock_init() switches the FlexSPI root clocks to OSC_RC_48M_DIV2 when
the memc driver is enabled and the chosen flash controller is not
nxp,imx-flexspi-nor. Boards executing in place from another FlexSPI
flash, such as an MX25UM51345G, are then limited to 24 MHz, as the memc
driver only programs the FlexSPI internal divider.
Skip the reclock for a FlexSPI whose AHB window holds the XIP image.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Jaro Van Landschoot <jaro.vanlandschoot@basalte.be>
LV_Z_AREA_X_ALIGNMENT_WIDTH is a number of pixels and must be a power
of two: lvgl_rounder_cb() asserts on it and rounds the area with a
mask. The RGB888 default was 96, the number of bytes in 32 pixels. With
asserts enabled, the first redraw fails the assertion. Without them the
mask does not round: x1 = 100 becomes 32, and x2 = 239 becomes 255,
past the last column of a 240-pixel wide display.
Use 32 pixels, which are 96 bytes, so that RGB888 areas are a multiple
of 32 bytes like the RGB565 (16 pixels) and ARGB8888 (8 pixels) ones.
Tested on an STM32F429I-DISC1 with samples/subsys/display/lvgl,
CONFIG_STM32_LTDC_RGB888=y, CONFIG_LV_USE_DRAW_DMA2D=y and
CONFIG_ASSERT=y: before this change it stops at the assertion in
lvgl_display.c; with it, the sample runs, the DMA2D fills areas and the
LTDC alternates between the two frame buffers.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: YunHung Hua <oliverhua.us@gmail.com>
The 320 KB ROM range is not a power of two, so it was encoded as
a two-slot TOR range, wasting a PMP slot that user-mode memory
domain partitions need. Round it up to 512 KB so it takes a
single NAPOT entry, as on the esp32c5. The space past the ROM is
reserved and holds no memory.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The null pointer guard defaults to 16 bytes, below the 128-byte
PMP granularity of the esp32c5. PMP init then asserts on the
misaligned region before the kernel runs, and the core locks up
in a reset loop.
Default the guard to one granule.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Enabling RISCV_PMP on the esp32c61 did not give a working user
mode. The PMP granularity was left at the 4-byte default while
the core implements 128 bytes. The CPU_APM filter, whose
user-mode permissions default to deny, silently dropped user-mode
instruction fetches. Context restore always set mcause.interrupt,
so the mret did not match an exception trap. Syscalls ran without
masking interrupts, and the peripheral region opened the
peripheral bus to user threads.
Select RISCV_PMP, set the 128-byte granularity and a one-granule
null pointer guard, and align the IRAM text and flash rodata to
it. Disable the CPU_APM filter, set mcause.interrupt from the
live trap type and drop the peripheral region. Mask interrupts
through mintthresh while a syscall ECALL is handled, close the
ECALL before the syscall body runs and check user strings before
reading them, as on the esp32c5.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Unlike the esp32c6, the esp32h2 did not select RISCV_PMP. Its
linker script also lacked the PMP alignment, userspace, kobject
and rom-section includes, and no PMP region covered the ROM, IRAM
text or flash rodata, so user mode could not be used.
Select RISCV_PMP with 16 slots and unlocked global entries, as on
the esp32c6. Describe the 128 KB ROM as a soc_rom memory region,
map it, the IRAM text and the flash rodata as regions shared by
both modes, and add the missing linker script includes.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Enabling RISCV_PMP on the esp32p4 hpcore did not give a working
user mode. The PMP granularity was left at the 4-byte default
while the core implements 128 bytes, so the null pointer guard
and the IRAM text and flash rodata regions were misaligned. The
peripheral region also opened the peripheral bus to user threads,
and syscalls ran without masking interrupts.
Select RISCV_PMP on the hpcore, except on revision 1.3 which has
no mintthresh CSR. Set the 128-byte granularity and a one-granule
null pointer guard, and align the IRAM text and flash rodata to
it. Drop the peripheral region, as the kernel is covered by its
catch-all entry. Mask interrupts through mintthresh while a
syscall ECALL is handled, close the ECALL before the syscall body
runs and check user strings before reading them, as on the
esp32c5.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
SOC_SERIES_AM62X_M4 and SOC_SERIES_AM64X_M4 select
UART_NS16550_ACCESS_WORD_ONLY unconditionally, but that symbol depends
on UART_NS16550 && SERIAL. A build with no ns16550 node enabled in the
devicetree therefore aborts on an unsatisfied select:
warning: UART_NS16550_ACCESS_WORD_ONLY ... has direct dependencies
UART_NS16550 && SERIAL with value n, but is currently being
y-selected by the following symbols:
- SOC_SERIES_AM62X_M4
error: Aborting due to Kconfig warnings
Add the `if UART_NS16550` guard that the R5 series in this directory
already use. The symbol keeps its value wherever UART_NS16550 is y, so
no board with a serial port is affected.
Signed-off-by: Chrispine Tinega <dev@chrispinetinega.com>
The RISC-V early boot code used the top of the image RAM as its
stack. The stack grows down, so on a large image it overwrote
the end of .bss after .bss was cleared. On the esp32c5 this
corrupted Wi-Fi driver state and esp_wifi_init() failed.
Run early boot on the CPU 0 interrupt stack instead, as the
generic RISC-V reset code does, and drop the DRAM_STACK_START
defines, which are no longer used. start.S no longer includes
memory.h, so derive the esp32p4 v1.3 user RAM end from
devicetree again.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This reverts commit 71adba593d ("soc: espressif: add
option to place mbedtls heap in PSRAM"), removing the
ESP_MBEDTLS_HEAP_ALLOC_EXT_RAM Kconfig option.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
power.c in these series logs through LOG_MODULE_DECLARE(soc), but no
file registers the soc module, so a build that compiles in one of those
log calls fails to link with an undefined reference to log_const_soc.
On STM32C0, whose power.c uses LOG_WRN(), that is any build with
CONFIG_PM=y and CONFIG_LOG=y at the default log level. On the other
series it also takes CONFIG_SOC_LOG_LEVEL_DBG=y.
Register the module in soc.c, with CONFIG_SOC_LOG_LEVEL like the
declarations and the STM32G4 registration.
Tested by building samples/hello_world with CONFIG_PM=y and
CONFIG_LOG=y, at the default and the debug level, for nucleo_c071rb,
nucleo_f103rb, stm32f429i_disc1, nucleo_g0b1re, nucleo_l073rz and
nucleo_l152re. Without this change, the debug-level builds and the C0
default-level build fail to link; with it, all of them build. The
stm32f429i_disc1 debug-level build also boots on the board.
Fixes#120480
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: YunHung Hua <oliverhua.us@gmail.com>
The RT1175 is the dual-core (Cortex-M7 + M4) RT1176 without the whole
DISPLAY power domain (GPU2D, PXP, CSI, eLCDIF, LCDIFv2, MIPI CSI, MIPI
DSI): LCDIFv2 has no row in the datasheet's ordering table either, and
is removed with the rest of the domain per the reference manual's
power domain list.
Add SOC_MIMXRT1175(_CM4/_CM7) and its six part numbers, mirroring RT1176
in Kconfig, clock_init() and the sysbuild second-core launcher default,
plus a devicetree deleting the six DISPLAY domain nodes (csi, lcdif,
lcdifv2, pxp, mipi_dsi, mipi_csi2rx). The part numbers select nothing,
as for RT1166/RT1176: the board selects the CM4/CM7 symbol instead.
modules/hal_nxp's cache driver selection hardcodes which imxrt11xx
SoCs use the LMEM cache driver on their M4 core instead of testing
HAS_MCUX_LMEM_CACHE generically; add RT1175, or its M4 build links
against the wrong cache driver and fails to build.
SYS_CLOCK_HW_CYCLES_PER_SEC for SOC_MIMXRT1175_CM7/_CM4 is derived
from devicetree instead of a literal, per review. Add clock-frequency
to cpu0/cpu1 in the RT1175 core dtsi, matching RT1176's existing
values (996MHz/400MHz).
Built samples/hello_world for both cores and all six part numbers on
an out-of-tree board, confirming SYS_CLOCK_HW_CYCLES_PER_SEC resolves
to 996000000/400000000; enabling any deleted node from an overlay
fails with an undefined node label error. mimxrt1170_evk and
vmu_rt1170 (both cores) produce identical binaries before and after.
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Massimiliano Cialdi <cialdi@gmail.com>
The RT1051 is the RT1052 without CSI, eLCDIF and PXP. Reuse the RT1052
configuration, add the four part numbers known to the MCUX SDK
(MIMXRT1051CVJ5B, CVL5B, DVJ6B and DVL6B) and a devicetree that deletes
the three missing nodes so that boards cannot enable them.
Also add it to the FlexSPI serial clock encoding in
flexspi_nor_config.h, which stops at an #error for boards that include
it otherwise.
Built samples/hello_world on an out-of-tree board.
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Massimiliano Cialdi <cialdi@gmail.com>
Add a "snps,dw-apb-uart" binding that includes ns16550.yaml, and make
UART_NS16550_DW8250_DW_APB default to y whenever a node with that
compatible is enabled. This removes the need for each SoC to opt in
to the DesignWare 8250 quirks through a configdefault in its
Kconfig.defconfig.
Drop the now-redundant configdefault from the Allwinner H3/H618,
Rockchip RV1106 and Silabs SiWx91x SoCs, and add the
"snps,dw-apb-uart" compatible to the SiWG917 UART nodes so the
Kconfig default picks them up.
The UART nodes in dts/arm/intel_socfpga_std/socfpga.dtsi already list
"snps,dw-apb-uart", so the option is now also enabled on
cyclonev_socdk, where it was previously off. The Cyclone V HPS UARTs
are DesignWare APB UARTs.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
An exception does not record the previous interrupt level in
mcause and leaves MIL unchanged. When one is taken inside an
interrupt handler, such as irq_offload() from a timer callback,
its exit leaves an exception-typed mcause behind. The handler's
own exit then clears mcause.interrupt, mret keeps the handler's
MIL, and the thread resumes with the interrupt level raised, so
the tick never fires again.
On the exit of an exception taken at a non-zero MIL, return at
that MIL with mcause interrupt-typed, so the enclosing handler
exits as an interrupt and drops back to its own level.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
An exception does not record the previous interrupt level in
mcause and leaves MIL unchanged. When one is taken inside an
interrupt handler, such as irq_offload() from a timer callback,
its exit leaves an exception-typed mcause behind. The handler's
own exit then clears mcause.interrupt, mret keeps the handler's
MIL, and the thread resumes with the interrupt level raised, so
the tick never fires again.
On the exit of an exception taken at a non-zero MIL, return at
that MIL with mcause interrupt-typed, so the enclosing handler
exits as an interrupt and drops back to its own level.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add the STM32MP157Fxx SoC variant to the STM32MP1 series. It shares the
Cortex-M4 sub-system with the STM32MP157Cxx and only differs by the
maximum Cortex-A7 frequency (800 MHz vs 650 MHz) and the silicon
revision; from the Cortex-M4 (Zephyr) point of view the two are identical.
This is a prerequisite for the common stm32mp157_dk2 board that can be
built for either the STM32MP157C-DK2 or the STM32MP157F-DK2.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Gudino <richar_1321@hotmail.com>
When loading the openamp_rsc_table sample on the i.MX93 Cortex-M33
firmware from the Linux system running on the Cortex-A processor, an
alignment error might be seen when trying to copy the resource table
section, depending on the size of the firmware.
This is due to the resource table itself being aligned to 32 bits; align
it to 64 bits to give a natively aligned address to the Cortex-A to copy.
Fixes: 49229d3c2d ("soc: nxp: imx93: add resource table section for m33")
Signed-off-by: Francesco Valla <francesco@valla.it>
IVT_HEADER_OFFSET defaults to the reg address of the ivt_header node,
and the linker script adds CONFIG_FLASH_BASE_ADDRESS to it. That only
gave the flash-relative offset while the partition had no ranges chain
and dt_node_reg_addr returned the raw reg value.
Since commit e60407dbe3 ("dts: nxp: s32: prepare s32k344 flash node
for mapped partitions") and commit 40db3e3f3e ("boards: nxp:
mr_canhubk3: use mapped partitions") the partition address translates
to the CPU address 0x00400000, so the IVT section is linked at
0x00800000, outside the code flash. J-Link then fails the flash with
"Writing target memory failed" while writing that record.
Subtract the address of the chosen flash node so the default is the
offset the help text describes.
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
The implementation of WKUP event dispatch as GPIO interrupts had a small
flaw: any pin that gets configured as wake-up pin would implcitly have
interrupt dispatch enabled for it, even if the pin was never explicitly
configured as interrupt source. This would most likely have no nefarious
effect since it wouldn't make sense to register GPIO callbacks for a pin
which is known to not be used for interrupts, but it was a possibility
nevertheless. A more realistic case where this causes issues is that if
interrupts were really enabled for the pin, but disabled later on, we
would still dispatch a WKUP event for that pin even though interrupts
were explicitly disabled.
Separate enablement of a pin as wake-up line source from enablement of
interrupt dispatching, and modify the GPIO driver such that it enables
the dispatch from gpio_pin_interrupt_configure() at the same time that
the regular interrupt is also enabled (ditto for disable).
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
On series without wake-up line mux, configuring a wake-up line twice
could indicate an application error if the polarity was swapped between
the calls, but it is otherwise most likely a non-issue. Additionally,
it is not possible to "disarm" a wake-up pin once configured, so this
can legitimately happen if you configure the GPIO once, then disconnect
it (not visible to PWRC Wake-up Controller module) and re-configure it
later on. Only print an INF message when this happens.
On series with wake-up line mux, the same logic happens, but it is also
possible to configure a wake-up line twice with different sources. This
is a strong indicator of application error, such as not realizing that
two distinct pins actually share the same wake-up line and thus cannot
be used as wake-up pins *at the same time* (or that an internal source
actively used shares its line with the target GPIO pin). Print an INF
message if the reconfiguration has an identical source since this is
equivalent to the situation described above, but a more severe WRN
message if the sources differ.
This can be tuned and relaxed further in the future, for example if
we implement a mechanism to disarm wake-up lines (not possible today).
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Add some logs to the PWRC Wake-up Controller module: mostly debugging,
but also one error case.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The SoC default is dropped without a devicetree replacement: every
in-tree board overrides it with its own value.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The SoC defaults are dropped without a devicetree replacement: every
in-tree board overrides them with its own value.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>