diff mbox series

[v2,095/169] Correct SPL use of GENERATE_SMBIOS_TABLE

Message ID 20230205224118.233425-96-sjg@chromium.org
State Rejected
Delegated to: Tom Rini
Headers show
Series Kconfig: More cleanup of CONFIG options | expand

Commit Message

Simon Glass Feb. 5, 2023, 10:40 p.m. UTC
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_GENERATE_SMBIOS_TABLE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 include/asm-generic/global_data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Feb. 9, 2023, 2:40 a.m. UTC | #1
On Sun, Feb 05, 2023 at 03:40:04PM -0700, Simon Glass wrote:

> This converts 1 usage of this option to the non-SPL form, since there is
> no SPL_GENERATE_SMBIOS_TABLE defined in Kconfig
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

This is used to avoid increasing the size of SPL in some cases.
Simon Glass Feb. 12, 2023, 11:14 p.m. UTC | #2
Hi Tom,

On Wed, 8 Feb 2023 at 19:40, Tom Rini <trini@konsulko.com> wrote:
>
> On Sun, Feb 05, 2023 at 03:40:04PM -0700, Simon Glass wrote:
>
> > This converts 1 usage of this option to the non-SPL form, since there is
> > no SPL_GENERATE_SMBIOS_TABLE defined in Kconfig
> >
> > Signed-off-by: Simon Glass <sjg@chromium.org>
>
> This is used to avoid increasing the size of SPL in some cases.

I'll add this to config_nospl

Regards,
Simon
diff mbox series

Patch

diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index da17ac8cbc8..ac7640c5ed0 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -467,7 +467,7 @@  struct global_data {
 	 */
 	ulong acpi_start;
 #endif
-#if CONFIG_IS_ENABLED(GENERATE_SMBIOS_TABLE)
+#if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLE)
 	/**
 	 * @smbios_version: Points to SMBIOS type 0 version
 	 */