]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: Synology: legacy.c: Include asm/io.h
authorPhil Sutter <phil@nwl.cc>
Thu, 12 Feb 2026 22:31:09 +0000 (23:31 +0100)
committerStefan Roese <stefan.roese@mailbox.org>
Wed, 10 Jun 2026 09:23:26 +0000 (11:23 +0200)
Some boards building this source define CFG_SYS_TCLK as a term involving
readl() which is undefined otherwise.

Signed-off-by: Phil Sutter <phil@nwl.cc>
board/Synology/common/legacy.c

index 2e3aa660eaace9e77c93641ec8570dbe1b6c3447..5b7d07bc2eef725c3574dc4f6791855ae5d3c11f 100644 (file)
@@ -10,6 +10,7 @@
 #include <vsprintf.h>
 #include <env.h>
 #include <net.h>
+#include <asm/io.h>
 #include <asm/setup.h>
 
 #include "legacy.h"