ARM: legoev3: drop bi_arch_number
authorDavid Lechner <david@lechnology.com>
Mon, 11 Jan 2021 19:24:45 +0000 (13:24 -0600)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 4 Feb 2021 15:07:56 +0000 (20:37 +0530)
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@lechnology.com>
board/lego/ev3/legoev3.c

index 9ef3e12..e30e2e8 100644 (file)
@@ -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;