Skip to content

Commit

Permalink
u-boot-sifive: bump to 2024.01
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Perrot <[email protected]>
  • Loading branch information
tprrt committed Mar 12, 2024
1 parent 1990f86 commit 5989e1d
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 2ba4e6d78e0a63e5d491f9b01b498899e58cb58d Mon Sep 17 00:00:00 2001
From 1025681fa882a386360b5ff71e9dbe06f9712cf6 Mon Sep 17 00:00:00 2001
From: Vincent Chen <[email protected]>
Date: Mon, 15 Nov 2021 03:31:04 -0800
Subject: [PATCH 1/5] board: sifive: spl: Initialized the PWM setting in the
Subject: [PATCH 1/6] board: sifive: spl: Initialized the PWM setting in the
SPL stage

LEDs and multiple fans can be controlled by SPL. This patch ensures
Expand Down Expand Up @@ -126,5 +126,5 @@ index 7c0beedc0830..f3a661a81eb5 100644
if (ret) {
debug("Gigabit ethernet PHY (VSC8541) init failed: %d\n", ret);
--
2.41.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0dfab8fab80107aa4ad7d41a8ff47e5ff59632f9 Mon Sep 17 00:00:00 2001
From 670a793545e2e9adc3fcd4556409d11af524ee0b Mon Sep 17 00:00:00 2001
From: Vincent Chen <[email protected]>
Date: Mon, 24 Jan 2022 02:42:02 -0800
Subject: [PATCH 2/5] board: sifive: Set LED's color to purple in the U-boot
Subject: [PATCH 2/6] board: sifive: Set LED's color to purple in the U-boot
stage

Set LED's color to purple in the U-boot stage. Because there are still
Expand Down Expand Up @@ -41,11 +41,11 @@ index e1cc02310aae..bd67672c22ef 100644
+#endif
}
diff --git a/board/sifive/unmatched/unmatched.c b/board/sifive/unmatched/unmatched.c
index 6295deeae234..30c082d00176 100644
index c8696270ba27..1d50125bf2db 100644
--- a/board/sifive/unmatched/unmatched.c
+++ b/board/sifive/unmatched/unmatched.c
@@ -22,6 +22,12 @@ void *board_fdt_blob_setup(int *err)
return (ulong *)&_end;
@@ -21,6 +21,12 @@ void *board_fdt_blob_setup(int *err)
return (ulong *)_end;
}

+int board_early_init_f(void)
Expand All @@ -58,14 +58,14 @@ index 6295deeae234..30c082d00176 100644
{
/* enable all cache ways */
diff --git a/configs/sifive_unmatched_defconfig b/configs/sifive_unmatched_defconfig
index 867611b6b4ed..b566bc212a21 100644
index 6a95ab3977a2..aec9723d951e 100644
--- a/configs/sifive_unmatched_defconfig
+++ b/configs/sifive_unmatched_defconfig
@@ -63,3 +63,4 @@ CONFIG_DM_SCSI=y
@@ -64,3 +64,4 @@ CONFIG_DM_SCSI=y
CONFIG_USB=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y
+CONFIG_BOARD_EARLY_INIT_F=y
--
2.41.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 1a48019dd4b69dd76551217a61cc4cab9e92fd39 Mon Sep 17 00:00:00 2001
From 54ff7c51d0edce2a39e7222269f5f2ed549c495e Mon Sep 17 00:00:00 2001
From: Vincent Chen <[email protected]>
Date: Mon, 15 Nov 2021 03:39:07 -0800
Subject: [PATCH 3/5] board: sifive: Set LED's color to blue before jumping to
Subject: [PATCH 3/6] board: sifive: Set LED's color to blue before jumping to
Linux

The LED's color wil be changed from purple to blue before executing
Expand All @@ -16,7 +16,7 @@ Signed-off-by: Vincent Chen <[email protected]>
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h
index 74150b7d4b06..78d83a098c06 100644
index de8bfc1123bf..1321280bf8bb 100644
--- a/include/configs/sifive-unmatched.h
+++ b/include/configs/sifive-unmatched.h
@@ -48,6 +48,11 @@
Expand All @@ -33,5 +33,5 @@ index 74150b7d4b06..78d83a098c06 100644

#endif /* __SIFIVE_UNMATCHED_H */
--
2.41.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 877afdf63129caa64d70d4a1252eec44778cfa0e Mon Sep 17 00:00:00 2001
From 312c8738ced1d856ad76746d4bb91719bc79993d Mon Sep 17 00:00:00 2001
From: Vincent Chen <[email protected]>
Date: Mon, 24 Jan 2022 02:57:40 -0800
Subject: [PATCH 4/5] board: sifive: spl: Set remote thermal of TMP451 to 85
Subject: [PATCH 4/6] board: sifive: spl: Set remote thermal of TMP451 to 85
deg C

for the unmatched board
Expand Down Expand Up @@ -68,5 +68,5 @@ index f3a661a81eb5..9660702ebf72 100644
if (ret) {
debug("Gigabit ethernet PHY (VSC8541) init failed: %d\n", ret);
--
2.41.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 9b2868e9fda750c985313a40e60b67f96dc77ed1 Mon Sep 17 00:00:00 2001
From a5b83d8c251cf73e3f5e4c5165275ac0c3bdebb2 Mon Sep 17 00:00:00 2001
From: Atish Patra <[email protected]>
Date: Mon, 25 Oct 2021 11:35:41 -0700
Subject: [PATCH 5/5] riscv: dts: Add few PMU events
Subject: [PATCH 5/6] riscv: dts: Add few PMU events

fu740 has 2 HPM counters and many HPM events defined in the fu740 manual[1].
This patch adds some of these events and their mapping as per the
Expand Down Expand Up @@ -38,5 +38,5 @@ index 7b77c13496d8..ea634a3b4cfa 100644
#interrupt-cells = <1>;
#address-cells = <0>;
--
2.41.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From cb73e546aab14c353f77d4fbc87ad96fe7ba060d Mon Sep 17 00:00:00 2001
From f2946d27e891b7f33c80816202b028a942164bb1 Mon Sep 17 00:00:00 2001
From: Thomas Perrot <[email protected]>
Date: Fri, 8 Dec 2023 11:24:37 +0100
Subject: [PATCH] riscv: sifive: fu740: reduce DDR speed from 1866MT/s to
Subject: [PATCH 6/6] riscv: sifive: fu740: reduce DDR speed from 1866MT/s to
1600MT/s

It appears that there is some timing marginality either in the
Expand Down Expand Up @@ -36,5 +36,6 @@ index 706224b384d2..956237c3218e 100644
bootph-pre-ram;
};
};
--
2.43.2
--
2.44.0

File renamed without changes.

0 comments on commit 5989e1d

Please sign in to comment.