-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uboot:sunxi: fix compilation failure on orangepizero2 and Bigtreetech…
… cb1 (#5782)
- Loading branch information
Showing
2 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From b2750ef240a92a06d0531d4b7d3d4820c7c45ad2 Mon Sep 17 00:00:00 2001 | ||
From 00317cc991c0b4f14502bf65c6e0bd788dfa9322 Mon Sep 17 00:00:00 2001 | ||
From: orangepi-xunlong <[email protected]> | ||
Date: Mon, 18 Apr 2022 10:43:17 +0800 | ||
Subject: [PATCH] sunxi: orangepizero2: light up red led | ||
|
@@ -10,10 +10,10 @@ Subject: [PATCH] sunxi: orangepizero2: light up red led | |
3 files changed, 17 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig | ||
index 08cfc581cb..03743f03fb 100644 | ||
index e1698f4027b..8d6c10fab11 100644 | ||
--- a/arch/arm/mach-sunxi/Kconfig | ||
+++ b/arch/arm/mach-sunxi/Kconfig | ||
@@ -652,6 +652,13 @@ config MACPWR | ||
@@ -702,6 +702,13 @@ config MACPWR | ||
Set the pin used to power the MAC. This takes a string in the format | ||
understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. | ||
|
||
|
@@ -28,7 +28,7 @@ index 08cfc581cb..03743f03fb 100644 | |
bool "Pins for mmc1 are on Port H" | ||
depends on MACH_SUN4I || MACH_SUN7I || MACH_SUN8I_R40 | ||
diff --git a/board/sunxi/board.c b/board/sunxi/board.c | ||
index 3079ac0002..1dad128a85 100644 | ||
index fd317a7d480..152e764d72f 100644 | ||
--- a/board/sunxi/board.c | ||
+++ b/board/sunxi/board.c | ||
@@ -187,7 +187,7 @@ enum env_location env_get_location(enum env_operation op, int prio) | ||
|
@@ -56,13 +56,13 @@ index 3079ac0002..1dad128a85 100644 | |
/* | ||
* The bit[16] of register reg[0x03000000] must be zero for the THS | ||
diff --git a/configs/orangepi_zero2_defconfig b/configs/orangepi_zero2_defconfig | ||
index 72fc419ca7..63e6ec9f46 100644 | ||
index f13735e91c7..c88cd095205 100644 | ||
--- a/configs/orangepi_zero2_defconfig | ||
+++ b/configs/orangepi_zero2_defconfig | ||
@@ -19,3 +19,4 @@ CONFIG_SPI_FLASH_MACRONIX=y | ||
CONFIG_PHY_REALTEK=y | ||
CONFIG_SUN8I_EMAC=y | ||
CONFIG_SPI=y | ||
@@ -23,3 +23,4 @@ CONFIG_SPI=y | ||
CONFIG_USB_EHCI_HCD=y | ||
CONFIG_USB_OHCI_HCD=y | ||
CONFIG_USB_MUSB_GADGET=y | ||
+CONFIG_PWRLED="PC12" | ||
-- | ||
2.34.1 | ||
|