diff options
| author | Jonas Karlman <[email protected]> | 2026-08-03 18:43:13 +0000 |
|---|---|---|
| committer | Quentin Schulz <[email protected]> | 2026-08-11 17:35:22 +0200 |
| commit | c8cac405f29896362786c7ced1417fd15e7b8923 (patch) | |
| tree | 21c33b13f8d59ec0aa635514c9d6f5ab78d8c9b1 /contrib/apps/httpserver | |
| parent | 0c68b88ce574ddaa2f94f3e5d747c25db693dc18 (diff) | |
rockchip: rk3576: Disable force_jtag by default
Rockchip SoCs can automatically switch between jtag and sdmmc based on
the following rules:
- all the SDMMC pins including SDMMC_DET set as SDMMC function in GRF,
- force_jtag bit in GRF is 1,
- SDMMC_DET is low (no card detected),
Note that the BootROM may mux all SDMMC pins in their SDMMC function or
not, depending on the boot medium that were tried.
Because SDMMC_DET pin is not guaranteed to be used as an SD card card
detect pin, it could be low at boot or even switch at runtime, which
would enable the jtag function and render the SD card unusable.
Or boards using cd-gpios may switch the SDMMC_DET pin to GPIO function,
which would enable the jtag function and render the SD card unusable.
With commit d0a838bdc629 ("Subtree merge tag 'v7.1-dts' of dts repo [1]
into dts/upstream") there are now RK3576 boards that have changed to use
cd-gpios for the SDMMC_DET pin, e.g. NanoPi R76S, that may have issues
detecting SD card unless force_jtag is disabled.
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'contrib/apps/httpserver')
0 files changed, 0 insertions, 0 deletions
