Created
March 9, 2024 22:43
-
-
Save tokyovigilante/72421ccc3e46ca147fdeb76be67565b1 to your computer and use it in GitHub Desktop.
TF-A hack to disable RSB for I2C PMIC
This file contains hidden or 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
diff --git a/plat/allwinner/sun50i_h616/sunxi_power.c b/plat/allwinner/sun50i_h616/sunxi_power.c | |
index dd6ebba9a..361cf07fe 100644 | |
--- a/plat/allwinner/sun50i_h616/sunxi_power.c | |
+++ b/plat/allwinner/sun50i_h616/sunxi_power.c | |
@@ -75,7 +75,8 @@ int sunxi_pmic_setup(uint16_t socid, const void *fdt) | |
INFO("Could not init platform bus: %d\n", ret); | |
return ret; | |
} | |
- | |
+ INFO("PMIC: Exiting early...\n"); | |
+ return 0; | |
ret = rsb_init(); | |
if (ret) { | |
INFO("Could not init RSB: %d\n", ret); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment