mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
rk3588: Disable JTAG on SD card pins
Signed-off-by: Ondrej Jirman <megi@xff.cz>
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
|
||||
#include <fdtdec.h>
|
||||
#include <fdt_support.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#define RK3588_GRF_SOC_CON6 0xfd58c318
|
||||
|
||||
#ifdef CONFIG_OF_BOARD_SETUP
|
||||
static int rk3588_add_reserved_memory_fdt_nodes(void *new_blob)
|
||||
@@ -20,6 +23,9 @@ static int rk3588_add_reserved_memory_fdt_nodes(void *new_blob)
|
||||
unsigned long flags = FDTDEC_RESERVED_MEMORY_NO_MAP;
|
||||
unsigned int ret;
|
||||
|
||||
/* disable JTAG to fix SD load speed/interference */
|
||||
writel(1 << (14+16), RK3588_GRF_SOC_CON6);
|
||||
|
||||
/*
|
||||
* Inject the reserved-memory nodes into the DTS
|
||||
*/
|
||||
|
Reference in New Issue
Block a user