[PATCH v3 02/22] congatec: Include env.h to permit reading the environment

Tom Rini trini at konsulko.com
Fri May 16 01:31:31 CEST 2025


From: Simon Glass <sjg at chromium.org>

This file reads from the environment but does not include the correct
header. Update it.

Signed-off-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Changes in v3:
- Keep config.h, update commit message - trini
---
 board/congatec/cgtqmx8/cgtqmx8.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c
index 054e4e10867a..03be02a2884f 100644
--- a/board/congatec/cgtqmx8/cgtqmx8.c
+++ b/board/congatec/cgtqmx8/cgtqmx8.c
@@ -4,6 +4,7 @@
  * 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