Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save macromorgan/f37fb63a0b39a319eaacc531ab75997e to your computer and use it in GitHub Desktop.
Save macromorgan/f37fb63a0b39a319eaacc531ab75997e to your computer and use it in GitHub Desktop.
From 9640bf9bc67a4a67dcdc88af155db2815674a943 Mon Sep 17 00:00:00 2001
From: Chris Morgan <macromorgan@hotmail.com>
Date: Fri, 25 Mar 2022 12:21:32 -0500
Subject: [PATCH] Add support for booting from SFC SPI Flash
Not for upstream.
---
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
index 95f2652494..5c8d537aa5 100644
--- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
+++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
@@ -5,7 +5,7 @@
/ {
chosen {
- u-boot,spl-boot-order = &sdmmc;
+ u-boot,spl-boot-order = &{/spi@ff3a0000/flash@0}, &sdmmc;
};
aliases {
@@ -86,6 +86,7 @@
&sfc {
u-boot,dm-pre-reloc;
+ sfc-no-dma;
};
&{/spi@ff3a0000/flash@0} {
--
2.25.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment