diff --git a/board/Seagate/goflexhome/goflexhome.c b/board/Seagate/goflexhome/goflexhome.c index 1f4fb924942a4c65a9833fd660eb6847853b90a7..ad8245aaaa55e6b4183dc512c0deeb0cb1588842 100644 --- a/board/Seagate/goflexhome/goflexhome.c +++ b/board/Seagate/goflexhome/goflexhome.c @@ -92,11 +92,6 @@ int board_early_init_f(void) int board_init(void) { - /* - * arch number of board - */ - gd->bd->bi_arch_number = MACH_TYPE_GOFLEXHOME; - /* address of boot parameters */ gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; diff --git a/board/atmark-techno/armadillo-800eva/armadillo-800eva.c b/board/atmark-techno/armadillo-800eva/armadillo-800eva.c index 28e61116a39d0180a5d0f96cf88ac888b45f2dc6..0227d703e3addf05b4049b4a604435a0b3461f68 100644 --- a/board/atmark-techno/armadillo-800eva/armadillo-800eva.c +++ b/board/atmark-techno/armadillo-800eva/armadillo-800eva.c @@ -271,8 +271,6 @@ int board_early_init_f(void) DECLARE_GLOBAL_DATA_PTR; int board_init(void) { - /* board id for linux */ - gd->bd->bi_arch_number = MACH_TYPE_ARMADILLO_800EVA; /* adress of boot parameters */ gd->bd->bi_boot_params = ARMADILLO_800EVA_SDRAM_BASE + 0x100; diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c index b0d440d728a6a9c7e7da9b0cad9235bba8c98d2c..649312228016ad66d14015c7e16a7a38396ae7cb 100644 --- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c +++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c @@ -256,9 +256,6 @@ int board_early_init_f(void) int board_init(void) { - /* arch number of AT91SAM9X5EK-Board */ - gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9X5EK; - /* adress of boot parameters */ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c index 3ce1992c1dc2afb22a88498020d024fc20f4b4f0..4a34c1a60cf8422cdf4d722380e9fcb7a843c48b 100644 --- a/board/davinci/da8xxevm/omapl138_lcdk.c +++ b/board/davinci/da8xxevm/omapl138_lcdk.c @@ -175,9 +175,6 @@ int board_init(void) irq_init(); #endif - /* arch number of the board */ - gd->bd->bi_arch_number = MACH_TYPE_OMAPL138_LCDK; - /* address of boot parameters */ gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c index 66804d75bd045d9a01a01f400cabbdc9abc7be5a..30e4c7d4de45870ed781d814a22b79f557ca449e 100644 --- a/board/davinci/ea20/ea20.c +++ b/board/davinci/ea20/ea20.c @@ -277,9 +277,6 @@ int overwrite_console(void) int board_init(void) { - /* arch number of the board */ - gd->bd->bi_arch_number = MACH_TYPE_EA20; - /* address of boot parameters */ gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; diff --git a/board/mini-box/picosam9g45/picosam9g45.c b/board/mini-box/picosam9g45/picosam9g45.c index 32ba9c622590b959b8721e2ef2988d680268d7d1..8a4a39275386fa37741434a1ae65c65a3c0a2083 100644 --- a/board/mini-box/picosam9g45/picosam9g45.c +++ b/board/mini-box/picosam9g45/picosam9g45.c @@ -252,8 +252,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_PICOSAM9G45; - /* adress of boot parameters */ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index b5d5ba9bdf9b6aabedada02236a710fd70fa5dc5..d84ec5747bed54ec58d9b5e6514b835409b275b8 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -138,7 +138,6 @@ int usb_gadget_handle_interrupts(int index) int board_init(void) { gpmc_init(); - gd->bd->bi_arch_number = MACH_TYPE_OMAP5_SEVM; gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */ tca642x_set_inital_state(CONFIG_SYS_I2C_TCA642X_ADDR, tca642x_init); diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index 7e3966f47803e0fbdb57b29ee128c1393ac5802c..96d3a0d5cce9eb8842f6ec9b00fbf12cf88e85ce 100644 --- a/include/configs/cardhu.h +++ b/include/configs/cardhu.h @@ -25,8 +25,6 @@ #define CONFIG_TEGRA_ENABLE_UARTA #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE -#define CONFIG_MACH_TYPE MACH_TYPE_CARDHU - /* I2C */ #define CONFIG_SYS_I2C_TEGRA diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index e7263964a8a465cdb98b35499ad1346c804f9fe3..e141dfb99d2af66eb20bcf53e7c701c98a03279c 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -21,8 +21,6 @@ #define CONFIG_TEGRA_UARTA_SDIO1 #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE -#define CONFIG_MACH_TYPE MACH_TYPE_COLIBRI_T20 - /* I2C */ #define CONFIG_SYS_I2C_TEGRA diff --git a/include/configs/iconnect.h b/include/configs/iconnect.h index 633941b7dd5655bf1f9334d6d0d7c7b11968aa0b..0ea6fcb82c094d38854ab8849aab5510eaa143ad 100644 --- a/include/configs/iconnect.h +++ b/include/configs/iconnect.h @@ -16,11 +16,6 @@ #define CONFIG_KW88F6281 /* SOC Name */ #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */ -/* - * Machine type - */ -#define CONFIG_MACH_TYPE MACH_TYPE_ICONNECT - /* * Compression configuration */ diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 45d88247afa08c450d681c879615114661178195..ce539a008cce7a62fa4b2079f17bffae52c2f014 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -24,21 +24,6 @@ (&((struct bcm2835_timer_regs *)BCM2835_TIMER_PHYSADDR)->clo) #endif -/* - * 2835 is a SKU in a series for which the 2708 is the first or primary SoC, - * so 2708 has historically been used rather than a dedicated 2835 ID. - * - * We don't define a machine type for bcm2709/bcm2836 since the RPi Foundation - * chose to use someone else's previously registered machine ID (3139, MX51_GGC) - * rather than obtaining a valid ID:-/ - * - * For the bcm2837, hopefully a machine type is not needed, since everything - * is DT. - */ -#ifdef CONFIG_BCM2835 -#define CONFIG_MACH_TYPE MACH_TYPE_BCM2708 -#endif - /* Memory layout */ #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SYS_SDRAM_BASE 0x00000000 diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h index df5fe2163f05285ac41a0c3db2ec9d82045816e4..fd35f71f913c9201c1abbaed51b0ee62ae7ad914 100644 --- a/include/configs/smartweb.h +++ b/include/configs/smartweb.h @@ -52,7 +52,6 @@ #define CONFIG_SYS_MAXARGS 32 /* setting board specific options */ -#define CONFIG_MACH_TYPE MACH_TYPE_SMARTWEB #define CONFIG_AUTO_COMPLETE #define CONFIG_ENV_OVERWRITE 1 /* Overwrite ethaddr / serial# */ #define CONFIG_AUTO_COMPLETE diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 5e9da85acfd57f333865549415c85785f9b7b347..a300f388576932105ff3f5b5024d128b4110f45f 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -24,7 +24,6 @@ #define CONFIG_ARM_ERRATA_430973 #define CONFIG_ARM_ERRATA_621766 -#define CONFIG_MACH_TYPE MACH_TYPE_TRICORDER /* * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM * 64 bytes before this address should be set aside for u-boot.img's diff --git a/include/configs/ts4800.h b/include/configs/ts4800.h index a451acf1f4bf604c286e6840f3257cbb6456b0c5..261daef9aa3f037df8682b6c340ac0f16800486d 100644 --- a/include/configs/ts4800.h +++ b/include/configs/ts4800.h @@ -21,8 +21,6 @@ #define CONFIG_HW_WATCHDOG -#define CONFIG_MACH_TYPE MACH_TYPE_TS48XX - /* text base address used when linking */ #define CONFIG_SYS_TEXT_BASE 0x90008000 diff --git a/include/configs/ventana.h b/include/configs/ventana.h index 1150adfe7d94b7ec0a0c77687797142ffa56212f..615acfe7e3840e4ef37d10dc150f2cf0b5c5d7f8 100644 --- a/include/configs/ventana.h +++ b/include/configs/ventana.h @@ -18,8 +18,6 @@ #define CONFIG_TEGRA_ENABLE_UARTD #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE -#define CONFIG_MACH_TYPE MACH_TYPE_VENTANA - /* SD/MMC */ #define CONFIG_GENERIC_MMC diff --git a/include/configs/whistler.h b/include/configs/whistler.h index 19b57fd2235a05bfebcf8725d7c1eb9c0c3bbff0..30a48e83ca422b0d6322418dfcbc1a6d097d2738 100644 --- a/include/configs/whistler.h +++ b/include/configs/whistler.h @@ -19,8 +19,6 @@ #define CONFIG_TEGRA_UARTA_UAA_UAB #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE -#define CONFIG_MACH_TYPE MACH_TYPE_WHISTLER - /* I2C */ #define CONFIG_SYS_I2C_TEGRA diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h index 7038e6b22c5cfa5af753c88031ef66e6569b8f92..e3e19dcbe1938c76535c8ecd13ba79721dacb50b 100644 --- a/include/configs/zmx25.h +++ b/include/configs/zmx25.h @@ -19,7 +19,6 @@ #define CONFIG_SYS_TIMER_COUNTER \ (&((struct gpt_regs *)IMX_GPT1_BASE)->counter) -#define CONFIG_MACH_TYPE MACH_TYPE_ZMX25 /* * Environment settings */