diff options
| author | Tom Rini <[email protected]> | 2023-07-05 11:28:55 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-07-05 11:28:55 -0400 |
| commit | e80f4079b3a3db0961b73fa7a96e6c90242d8d25 (patch) | |
| tree | 5352d65d18b44e0982152654dc9f8018047e65ae /board | |
| parent | 45f77b807c2f6b8da88ae897b7eb2238e25df36b (diff) | |
| parent | e1bebc16e1d9aa0ddd56c53c0b781f7186dce557 (diff) | |
Merge tag 'v2023.07-rc6' into next
Prepare v2023.07-rc6
Diffstat (limited to 'board')
| -rw-r--r-- | board/pine64/pinephone-pro-rk3399/pinephone-pro-rk3399.c | 6 | ||||
| -rw-r--r-- | board/ronetix/pm9g45/pm9g45.c | 2 | ||||
| -rw-r--r-- | board/sifive/unmatched/MAINTAINERS | 1 | ||||
| -rw-r--r-- | board/starfive/visionfive2/MAINTAINERS | 2 | ||||
| -rw-r--r-- | board/storopack/smegw01/smegw01.c | 2 | ||||
| -rw-r--r-- | board/storopack/smegw01/smegw01.env | 11 |
6 files changed, 18 insertions, 6 deletions
diff --git a/board/pine64/pinephone-pro-rk3399/pinephone-pro-rk3399.c b/board/pine64/pinephone-pro-rk3399/pinephone-pro-rk3399.c index eb639cd0d07..b6ccbb9c1c4 100644 --- a/board/pine64/pinephone-pro-rk3399/pinephone-pro-rk3399.c +++ b/board/pine64/pinephone-pro-rk3399/pinephone-pro-rk3399.c @@ -15,7 +15,8 @@ #include <asm/arch-rockchip/misc.h> #include <power/regulator.h> -#define GRF_IO_VSEL_BT565_SHIFT 0 +#define GRF_IO_VSEL_BT565_GPIO2AB 1 +#define GRF_IO_VSEL_AUDIO_GPIO3D4A 2 #define PMUGRF_CON0_VSEL_SHIFT 8 #ifndef CONFIG_SPL_BUILD @@ -48,7 +49,8 @@ static void setup_iodomain(void) syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); /* BT565 is in 1.8v domain */ - rk_setreg(&grf->io_vsel, 1 << GRF_IO_VSEL_BT565_SHIFT); + rk_setreg(&grf->io_vsel, + GRF_IO_VSEL_BT565_GPIO2AB | GRF_IO_VSEL_AUDIO_GPIO3D4A); /* Set GPIO1 1.8v/3.0v source select to PMU1830_VOL */ rk_setreg(&pmugrf->soc_con0, 1 << PMUGRF_CON0_VSEL_SHIFT); diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c index c56582a1948..aa5c80ac641 100644 --- a/board/ronetix/pm9g45/pm9g45.c +++ b/board/ronetix/pm9g45/pm9g45.c @@ -67,10 +67,12 @@ static void pm9g45_nand_hw_init(void) #ifdef CFG_SYS_NAND_READY_PIN /* Configure RDY/BSY */ + gpio_request(CFG_SYS_NAND_READY_PIN, "NAND RDY/BSY"); gpio_direction_input(CFG_SYS_NAND_READY_PIN); #endif /* Enable NandFlash */ + gpio_request(CFG_SYS_NAND_ENABLE_PIN, "NAND enable"); gpio_direction_output(CFG_SYS_NAND_ENABLE_PIN, 1); } #endif diff --git a/board/sifive/unmatched/MAINTAINERS b/board/sifive/unmatched/MAINTAINERS index 94c9510bfae..e601a0f3288 100644 --- a/board/sifive/unmatched/MAINTAINERS +++ b/board/sifive/unmatched/MAINTAINERS @@ -1,6 +1,5 @@ SiFive HiFive Unmatched FU740 BOARD M: Paul Walmsley <[email protected]> -M: Pragnesh Patel <[email protected]> M: Green Wan <[email protected]> S: Maintained F: board/sifive/unmatched/ diff --git a/board/starfive/visionfive2/MAINTAINERS b/board/starfive/visionfive2/MAINTAINERS index c5369086d8e..600ff9575b8 100644 --- a/board/starfive/visionfive2/MAINTAINERS +++ b/board/starfive/visionfive2/MAINTAINERS @@ -1,5 +1,5 @@ STARFIVE JH7110 VISIONFIVE2 BOARD -M: startfive +M: Yanhong Wang <[email protected]> S: Maintained F: arch/riscv/include/asm/arch-jh7110/ F: board/starfive/visionfive2/ diff --git a/board/storopack/smegw01/smegw01.c b/board/storopack/smegw01/smegw01.c index 20c09700bf0..7b2c50a61e4 100644 --- a/board/storopack/smegw01/smegw01.c +++ b/board/storopack/smegw01/smegw01.c @@ -102,7 +102,7 @@ int board_late_init(void) return 0; } -uint board_mmc_get_env_part(struct mmc *mmc) +uint mmc_get_env_part(struct mmc *mmc) { uint part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config); diff --git a/board/storopack/smegw01/smegw01.env b/board/storopack/smegw01/smegw01.env index 25bc7cdbd28..1263ddac8ed 100644 --- a/board/storopack/smegw01/smegw01.env +++ b/board/storopack/smegw01/smegw01.env @@ -29,7 +29,16 @@ altbootcmd= run bootcmd; boot_emmc=setenv mmcdev_wanted 1; run persist_mmcdev; run bootcmd; boot_sd=setenv mmcdev_wanted 0; run persist_mmcdev; run bootcmd; -bootcmd=run finduuid; run distro_bootcmd +bootcmd= + if test "${bootcount}" -gt "${bootlimit}"; then + run altbootcmd; + else + if test "${ustate}" = 1; then + setenv upgrade_available 1; + saveenv; + fi; + run mmcboot; + fi; bootdelay=2 bootlimit=3 bootm_size=0x10000000 |
