summaryrefslogtreecommitdiff
path: root/board/airoha
diff options
context:
space:
mode:
authorMikhail Kshevetskiy <[email protected]>2025-11-01 03:44:46 +0300
committerTom Rini <[email protected]>2025-11-07 16:00:58 -0600
commit97aa00e0211d1d0b387e69e4a568ec2ceec7815f (patch)
tree6f481268a647e8d213192c4d1130751c16d28d0c /board/airoha
parentec0cd37f67bffa3e9729605ecedbb5aa093a5e30 (diff)
arm/airoha: add support for airoha en7523 SoC family
Basic support for en7523/en7529/en7562 SoCs. Within a patch only serial console will be supported. Signed-off-by: Mikhail Kshevetskiy <[email protected]>
Diffstat (limited to 'board/airoha')
-rw-r--r--board/airoha/en7523/Makefile3
-rw-r--r--board/airoha/en7523/en7523_rfb.c16
2 files changed, 19 insertions, 0 deletions
diff --git a/board/airoha/en7523/Makefile b/board/airoha/en7523/Makefile
new file mode 100644
index 00000000000..c6629486f21
--- /dev/null
+++ b/board/airoha/en7523/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-y += en7523_rfb.o
diff --git a/board/airoha/en7523/en7523_rfb.c b/board/airoha/en7523/en7523_rfb.c
new file mode 100644
index 00000000000..aa73679d929
--- /dev/null
+++ b/board/airoha/en7523/en7523_rfb.c
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Author: Christian Marangi <[email protected]>
+ */
+
+#include <asm/global_data.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+int board_init(void)
+{
+ /* address of boot parameters */
+ gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100;
+
+ return 0;
+}