fix dtb patch, add in 353VS fix
This commit is contained in:
parent
64444e1928
commit
0b7439c7cd
1 changed files with 20 additions and 11 deletions
|
@ -1,22 +1,31 @@
|
|||
diff --git a/board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c b/board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c
|
||||
index 3f1a42d18..b8e094032 100644
|
||||
index 2445663d4..194605ff0 100644
|
||||
--- a/board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c
|
||||
+++ b/board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#define GPIO_WRITEMASK(bits) ((bits) << 16)
|
||||
|
||||
-#define DTB_DIR "rockchip/"
|
||||
+#define DTB_DIR ""
|
||||
|
||||
|
||||
#define GPIO_WRITEMASK(bits) ((bits) << 16)
|
||||
|
||||
-#define DTB_DIR "rockchip/"
|
||||
+#define DTB_DIR ""
|
||||
|
||||
struct rg3xx_model {
|
||||
const u16 adc_value;
|
||||
const u16 adc_value;
|
||||
@@ -375,7 +375,7 @@ int rgxx3_detect_device(void)
|
||||
if (ret) {
|
||||
if (board_id == RG353V)
|
||||
board_id = RG353VS;
|
||||
- if (board_id == RG353P)
|
||||
+ else if (board_id == RG353P)
|
||||
board_id = RG353PS;
|
||||
else
|
||||
board_id = RGARCS;
|
||||
diff --git a/configs/anbernic-rgxx3-rk3566_defconfig b/configs/anbernic-rgxx3-rk3566_defconfig
|
||||
index ed6643d9d..83e8358a0 100644
|
||||
index 4e72f7581..27911cc9f 100644
|
||||
--- a/configs/anbernic-rgxx3-rk3566_defconfig
|
||||
+++ b/configs/anbernic-rgxx3-rk3566_defconfig
|
||||
@@ -27,7 +27,7 @@ CONFIG_FIT_VERBOSE=y
|
||||
CONFIG_SPL_LOAD_FIT=y
|
||||
@@ -30,7 +30,7 @@ CONFIG_SPL_LOAD_FIT=y
|
||||
CONFIG_LEGACY_IMAGE_FORMAT=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
||||
-CONFIG_DEFAULT_FDT_FILE="rockchip/rk3566-anbernic-rgxx3.dtb"
|
Loading…
Reference in a new issue