board: freescale: p1_p2_rdb_pc: Move ifdef for USB/eLBC check to correct place
authorPali Rohár <pali@kernel.org>
Thu, 7 Apr 2022 10:16:19 +0000 (12:16 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commit71dcf8128c39c81edfc4ccb10f9463837df5d37d
treec222fc816af84da18cd9d785110600a5943859e6
parent0b30cb3de70fbaa4525d169a6fc09f732b290d97
board: freescale: p1_p2_rdb_pc: Move ifdef for USB/eLBC check to correct place

Whole section about USB/eLBC configuration seems to be P1020 specific. So
add ifdefs to not compile it on other platforms (e.g. P2020).

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