[PATCH 2/4] ARM: legoev3: drop bi_arch_number

David Lechner david at lechnology.com
Mon Jan 11 20:24:45 CET 2021


This drops assigning bi_arch_number on LEGO MINDSTORMS EV3. This board
never had its own unique number and since we are using device tree,
we no longer need to pass an arch number to Linux.

Signed-off-by: David Lechner <david at lechnology.com>
---
 board/lego/ev3/legoev3.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/board/lego/ev3/legoev3.c b/board/lego/ev3/legoev3.c
index 9ef3e12ce8..e30e2e82df 100644
--- a/board/lego/ev3/legoev3.c
+++ b/board/lego/ev3/legoev3.c
@@ -116,10 +116,6 @@ int board_init(void)
 {
 	irq_init();
 
-	/* arch number of the board */
-	/* LEGO didn't register for a unique number and uses da850evm */
-	gd->bd->bi_arch_number = MACH_TYPE_DAVINCI_DA850_EVM;
-
 	/* address of boot parameters */
 	gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR;
 
-- 
2.25.1



More information about the U-Boot mailing list