5 Commits

Author SHA1 Message Date
Heinrich Schuchardt
951f108669 API: unify platform_sys_info() implementations
ARM, MIPS, and RISCV can use the same implementation of
platform_sys_info(). PPC provides some extra information.
So keep it separate.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
(cherry picked from commit 6f7f47e8c0)
[Resolved conflicts due to api/ -> legacy_api/ directory rename in ci/master]
2025-12-20 08:23:48 -07:00
Simon Glass
c0a60ee3e9 Kconfig: Split the EXAMPLES option into its own file
We want to build examples for things other than the legacy API. As a
first step, create a Kconfig file in examples/ and move CONFIG_EXAMPLES
into it.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-05 15:22:18 -06:00
Simon Glass
ae1f0f13e4 api: Rename api_init() to legacy_api_init()
Complete the rename of this API so that it is clear it is considered
deprecated.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-05 07:02:54 -06:00
Simon Glass
18d0bb3158 Kconfig: Rename API to LEGACY_API
Update Kconfig use use CONFIG_LEGACY_API since the API is now
deprecated.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-05 07:02:18 -06:00
Simon Glass
9268e78e44 api: Rename the api/ directory
Rename this directory legacy_api since it is now considered legacy.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-05 07:02:10 -06:00