From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Thu, 23 Jul 2020 14:17:12 +0530 Subject: [PATCH 12/18] board: ti: j7200: Add board detection support for j7200 In-Reply-To: <20200723084718.19430-1-lokeshvutla@ti.com> References: <20200723084718.19430-1-lokeshvutla@ti.com> Message-ID: <20200723084718.19430-13-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add board detection support for j7200 common processor board. Signed-off-by: Lokesh Vutla Signed-off-by: Dave Gerlach --- board/ti/j721e/evm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 86e7cd4051..87cdbf9798 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -28,6 +28,8 @@ #define board_is_j721e_som() (board_ti_k3_is("J721EX-PM1-SOM") || \ board_ti_k3_is("J721EX-PM2-SOM")) +#define board_is_j7200_som() board_ti_k3_is("J7200X-PM1-SOM") + /* Max number of MAC addresses that are parsed/processed per daughter card */ #define DAUGHTER_CARD_NO_OF_MAC_ADDR 8 @@ -139,6 +141,8 @@ static void setup_board_eeprom_env(void) if (board_is_j721e_som()) name = "j721e"; + else if (board_is_j7200_som()) + name = "j7200"; else printf("Unidentified board claims %s in eeprom header\n", board_ti_get_name()); -- 2.27.0