]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
dhelectronics: Include env.h to permit reading the environment
authorSimon Glass <sjg@chromium.org>
Thu, 15 May 2025 23:31:32 +0000 (17:31 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:30:24 +0000 (08:30 -0600)
This file reads from the environment but does not include the correct
header. Update it.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/dhelectronics/common/dh_common.c

index 71010803f555c9f13d22c0f93b7fa2721111b814..8c052c45007a61ec97a9d95e72742b867dc1060d 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <dm.h>
+#include <env.h>
 #include <i2c_eeprom.h>
 #include <net.h>
 #include <u-boot/crc.h>