Fixup SpacemiT K1X Fixups patch

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
This commit is contained in:
Patrick Yavitz 2025-12-12 14:30:44 -05:00 committed by c0rnelius
parent 7467512a73
commit 9f67e56298

View File

@ -1,14 +1,14 @@
From 5a58a660beb2d069a8533f8ac7ac7e5030b7d274 Mon Sep 17 00:00:00 2001
From 45378fb7a03cf3e68f3e887843d27e99fe468843 Mon Sep 17 00:00:00 2001
From: Patrick Yavitz <pyavitz@gmail.com>
Date: Sun, 7 Dec 2025 08:03:51 -0500
Date: Fri, 12 Dec 2025 14:05:48 -0500
Subject: [PATCH] SpacemiT K1X Fixups
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
---
board/spacemit/k1-x/k1x.c | 20 ++++++++++----------
configs/k1_defconfig | 1 +
include/configs/k1-x.h | 21 ++++++++++-----------
3 files changed, 21 insertions(+), 21 deletions(-)
include/configs/k1-x.h | 22 ++++++++++------------
3 files changed, 21 insertions(+), 22 deletions(-)
diff --git a/board/spacemit/k1-x/k1x.c b/board/spacemit/k1-x/k1x.c
index c48b4e74..27661d32 100644
@ -75,7 +75,7 @@ index 8861f32a..1b388a24 100644
# CONFIG_HEXDUMP is not set
+CONFIG_OF_LIBFDT_OVERLAY=y
diff --git a/include/configs/k1-x.h b/include/configs/k1-x.h
index b15d2e0b..7d720797 100644
index b15d2e0b..b7311ac0 100644
--- a/include/configs/k1-x.h
+++ b/include/configs/k1-x.h
@@ -106,11 +106,6 @@
@ -102,10 +102,11 @@ index b15d2e0b..7d720797 100644
#include <config_distro_bootcmd.h>
#define BOOTENV_DEV_QEMU(devtypeu, devtypel, instance) \
@@ -201,14 +201,13 @@ enum private_part_offset {
@@ -200,15 +200,13 @@ enum private_part_offset {
"stdout_flash=serial,vidconsole\0" \
"kernel_comp_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
"kernel_comp_size=" __stringify(CONFIG_FASTBOOT_BUF_SIZE) "\0" \
"kernel_addr_r=" __stringify(CONFIG_FASTBOOT_BUF_ADDR) "\0" \
- "kernel_addr_r=" __stringify(CONFIG_FASTBOOT_BUF_ADDR) "\0" \
- "ramdisk_addr=" __stringify(RAMDISK_LOAD_ADDR) "\0" \
- "dtb_addr=" __stringify(DTB_LOAD_ADDR) "\0" \
"scriptaddr=0x2c100000\0" \