[PATCH v2 02/22] congatec: Include env.h to permit reading the environment
Simon Glass
sjg at chromium.org
Thu May 1 03:04:27 CEST 2025
This file reads from the environment but does not include the correct
header. Update it.
Drop the unnecessary config.h while we are here.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
board/congatec/cgtqmx8/cgtqmx8.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c
index 054e4e10867..087ca007776 100644
--- a/board/congatec/cgtqmx8/cgtqmx8.c
+++ b/board/congatec/cgtqmx8/cgtqmx8.c
@@ -3,7 +3,8 @@
* Copyright 2018 congatec AG
* Copyright (C) 2019 Oliver Graute <oliver.graute at kococonnector.com>
*/
-#include <config.h>
+
+#include <env.h>
#include <errno.h>
#include <linux/libfdt.h>
#include <fsl_esdhc.h>
--
2.43.0
More information about the U-Boot
mailing list