diff options
author | Pali Rohár <pali@kernel.org> | 2022-04-07 12:16:15 +0200 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2022-04-26 17:18:39 +0530 |
commit | 4aceaec585d925eed468c3bd25fdcdfd7568033e (patch) | |
tree | be91a541fce69ead05034f91a03e1613950aab0f /include | |
parent | ccad59dc5cc5f4ba5151a0f9aac2df7f441fb7b2 (diff) | |
download | u-boot-4aceaec585d925eed468c3bd25fdcdfd7568033e.zip u-boot-4aceaec585d925eed468c3bd25fdcdfd7568033e.tar.gz u-boot-4aceaec585d925eed468c3bd25fdcdfd7568033e.tar.bz2 |
board: freescale: p1_p2_rdb_pc: Detect both P2020 SD switch configurations
As written in comment, P2020 has two possible SD switch configurations.
Extend code to detect both of them.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/p1_p2_rdb_pc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h index 81dc017..cc70330 100644 --- a/include/configs/p1_p2_rdb_pc.h +++ b/include/configs/p1_p2_rdb_pc.h @@ -57,7 +57,8 @@ #define __SW_BOOT_MASK 0x03 #define __SW_BOOT_NOR 0xc8 #define __SW_BOOT_SPI 0x28 -#define __SW_BOOT_SD 0x68 /* or 0x18 */ +#define __SW_BOOT_SD 0x68 +#define __SW_BOOT_SD2 0x18 #define __SW_BOOT_NAND 0xe8 #define __SW_BOOT_PCIE 0xa8 #define CONFIG_SYS_L2_SIZE (512 << 10) |