board: freescale: p1_p2_rdb_pc: Detect both P2020 SD switch configurations
authorPali Rohár <pali@kernel.org>
Thu, 7 Apr 2022 10:16:15 +0000 (12:16 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commit4aceaec585d925eed468c3bd25fdcdfd7568033e
treebe91a541fce69ead05034f91a03e1613950aab0f
parentccad59dc5cc5f4ba5151a0f9aac2df7f441fb7b2
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>
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
include/configs/p1_p2_rdb_pc.h