[PATCH v2 1/2] board: Synology: legacy.c: Include asm/io.h
Phil Sutter
phil at nwl.cc
Thu Feb 12 23:31:09 CET 2026
Some boards building this source define CFG_SYS_TCLK as a term involving
readl() which is undefined otherwise.
Signed-off-by: Phil Sutter <phil at nwl.cc>
---
board/Synology/common/legacy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/Synology/common/legacy.c b/board/Synology/common/legacy.c
index 2e3aa660eaace..5b7d07bc2eef7 100644
--- a/board/Synology/common/legacy.c
+++ b/board/Synology/common/legacy.c
@@ -10,6 +10,7 @@
#include <vsprintf.h>
#include <env.h>
#include <net.h>
+#include <asm/io.h>
#include <asm/setup.h>
#include "legacy.h"
--
2.52.0
More information about the U-Boot
mailing list