Revert "u-boot: Relax KCFLAGS warnings for GCC 15"

This reverts commit 7cb6c9e84defd45c599d2b7b5c812b49e9f28c5a.

Reason for revert: builds fine without disabling specific compiler flags.

Tested: Built all affected machine types.
Google-Bug-Id: 558753346
Change-Id: I405569c370876554a9206dc7b590db7db48f7c45
Signed-off-by: Bart Van Assche <bvanassche@google.com>
diff --git a/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend b/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
index daa5d32..fae379b 100644
--- a/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
+++ b/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
@@ -16,10 +16,3 @@
 SRC_URI:append:gbmc:aspeed-g7 = " \
     file://0001-u-boot-adjust-memory-layout-for-ast2700.patch \
 "
-
-EXTRA_OEMAKE:append:gbmc = " KCFLAGS='-Wno-error=int-conversion \
-  -Wno-error=implicit-function-declaration \
-  -Wno-error=format \
-  -Wno-error=return-type' \
-"
-
diff --git a/dynamic-layers/nuvoton-layer/recipes-bsp/u-boot/u-boot-nuvoton_%.bbappend b/dynamic-layers/nuvoton-layer/recipes-bsp/u-boot/u-boot-nuvoton_%.bbappend
index 344ea49..0baa0bd 100644
--- a/dynamic-layers/nuvoton-layer/recipes-bsp/u-boot/u-boot-nuvoton_%.bbappend
+++ b/dynamic-layers/nuvoton-layer/recipes-bsp/u-boot/u-boot-nuvoton_%.bbappend
@@ -7,7 +7,3 @@
     file://0004-recipe-uboot-WA-to-disable-GFX-module.patch \
     file://0005-misc-npcm_host_intf-Disable-pending-KCS-BPC-interrup.patch \
   "
-EXTRA_OEMAKE:append:gbmc = " KCFLAGS='-Wno-error=int-conversion \
-  -Wno-error=implicit-function-declaration \
-  -Wno-error=format' \
-"