]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: Finish migration of CONFIG_MACH_TYPE
authorTom Rini <trini@konsulko.com>
Mon, 30 Aug 2021 13:16:32 +0000 (09:16 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Sep 2021 23:17:32 +0000 (19:17 -0400)
As this is only useful when booting with ATAGs, which are now largely
disabled, remove this value for the remaining platforms.  We have a few
places in the code that had been testing for MACH_TYPE as a sort of
internal logic.  Update those to use different but still correct CONFIG
symbols.

Cc: Phil Sutter <phil@nwl.cc>
Signed-off-by: Tom Rini <trini@konsulko.com>
88 files changed:
README
board/LaCie/netspace_v2/netspace_v2.c
board/Synology/common/legacy.c
board/nvidia/seaboard/seaboard.c
board/toradex/common/tdx-cfg-block.c
configs/am335x_igep003x_defconfig
configs/axm_defconfig
configs/corvus_defconfig
configs/taurus_defconfig
include/configs/am335x_evm.h
include/configs/am335x_sl50.h
include/configs/apalis_imx6.h
include/configs/apalis_t30.h
include/configs/aristainetos2.h
include/configs/at91sam9260ek.h
include/configs/baltos.h
include/configs/beaver.h
include/configs/brppt1.h
include/configs/brppt2.h
include/configs/brsmarc1.h
include/configs/brxre1.h
include/configs/cardhu.h
include/configs/cm_fx6.h
include/configs/cm_t335.h
include/configs/colibri_t20.h
include/configs/colibri_t30.h
include/configs/dalmore.h
include/configs/devkit3250.h
include/configs/devkit8000.h
include/configs/dns325.h
include/configs/draco.h
include/configs/dreamplug.h
include/configs/ds109.h
include/configs/ds414.h
include/configs/ea-lpc3250devkitv2.h
include/configs/ethernut5.h
include/configs/exynos5250-common.h
include/configs/exynos5420-common.h
include/configs/flea3.h
include/configs/gw_ventana.h
include/configs/harmony.h
include/configs/iconnect.h
include/configs/km/km_arm.h
include/configs/kzm9g.h
include/configs/lacie_kw.h
include/configs/lsxl.h
include/configs/mx23_olinuxino.h
include/configs/mx23evk.h
include/configs/mx28evk.h
include/configs/mx51evk.h
include/configs/mx53loco.h
include/configs/mx6sabreauto.h
include/configs/mx6sabresd.h
include/configs/mx6slevk.h
include/configs/nas220.h
include/configs/nitrogen6x.h
include/configs/odroid.h
include/configs/omap4_sdp4430.h
include/configs/origen.h
include/configs/paz00.h
include/configs/pdu001.h
include/configs/phycore_am335x_r2.h
include/configs/pm9261.h
include/configs/pm9263.h
include/configs/pogo_e02.h
include/configs/pxm2.h
include/configs/rpi.h
include/configs/rut.h
include/configs/seaboard.h
include/configs/siemens-am33x-common.h
include/configs/smartweb.h
include/configs/smdkv310.h
include/configs/sun4i.h
include/configs/sun5i.h
include/configs/sun7i.h
include/configs/sunxi-common.h
include/configs/tbs2910.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/trats.h
include/configs/trimslice.h
include/configs/udoo.h
include/configs/usb_a9263.h
include/configs/ventana.h
include/configs/vf610twr.h
include/configs/wandboard.h
include/configs/work_92105.h
include/configs/zmx25.h

diff --git a/README b/README
index f996819061fef875a78eb29eb897190d29dafff3..6df06c79bc83c0e905c9ab8715b2d2e6cda883f5 100644 (file)
--- a/README
+++ b/README
@@ -586,16 +586,6 @@ The following options need to be configured:
                crash. This is needed for buggy hardware (uc101) where
                no pull down resistor is connected to the signal IDE5V_DD7.
 
-               CONFIG_MACH_TYPE        [relevant for ARM only][mandatory]
-
-               This setting is mandatory for all boards that have only one
-               machine type and must be used to specify the machine type
-               number as it appears in the ARM machine registry
-               (see https://www.arm.linux.org.uk/developer/machines/).
-               Only boards that have multiple machine types supported
-               in a single configuration file and the machine type is
-               runtime discoverable, do not have to use this setting.
-
 - vxWorks boot parameters:
 
                bootvx constructs a valid bootline using the following
index 730eab7e703102f9a02880052f4b5bd7fc6c8745..22bb008745e1f616fa9cbbd16684bcf95714d816 100644 (file)
@@ -73,8 +73,10 @@ int board_early_init_f(void)
 
 int board_init(void)
 {
+#ifdef CONFIG_MACH_TYPE
        /* Machine number */
        gd->bd->bi_arch_number = CONFIG_MACH_TYPE;
+#endif
 
        /* Boot parameters address */
        gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100;
index 3c89e92ae7382aa75330e529764d1fb6c4a6fcb7..06f964f53a3bb2fdf1e02612488688934de70374 100644 (file)
 
 static unsigned int syno_board_id(void)
 {
+#ifdef CONFIG_MACH_TYPE
        switch (CONFIG_MACH_TYPE) {
        case 527:
                return SYNO_DS109_ID;
        case 3036:
                return SYNO_AXP_4BAY_2BAY;
-       default:
-               return 0;
        }
+#endif
+       return 0;
 }
 
 static unsigned int usb_port_modes(void)
index b88aa8e964143b08527101657cfd6a387616164a..829751112f1c05a586e6c20951d537d86b88eb7b 100644 (file)
@@ -16,7 +16,7 @@
 #include <asm/gpio.h>
 
 /* TODO: Remove this code when the SPI switch is working */
-#if (CONFIG_MACH_TYPE != MACH_TYPE_VENTANA)
+#ifndef CONFIG_TARGET_VENTANA
 void gpio_early_init_uart(void)
 {
        /* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */
index e4f9a0db9141f5528ba0a2de228ee0113f294b30..fe47cddad8034f0470789aada3d0fc873d19d3df 100644 (file)
@@ -493,24 +493,24 @@ static int get_cfgblock_interactive(void)
                else
                        tdx_hw_tag.prodid = COLIBRI_PXA270_520MHZ;
        }
-#ifdef CONFIG_MACH_TYPE
+#if defined(CONFIG_TARGET_APALIS_T30) || defined(CONFIG_TARGET_COLIBRI_T30)
        else if (!strcmp("tegra30", soc)) {
-               if (CONFIG_MACH_TYPE == MACH_TYPE_APALIS_T30) {
-                       if (it == 'y' || it == 'Y')
-                               tdx_hw_tag.prodid = APALIS_T30_IT;
-                       else
-                               if (gd->ram_size == 0x40000000)
-                                       tdx_hw_tag.prodid = APALIS_T30_1GB;
-                               else
-                                       tdx_hw_tag.prodid = APALIS_T30_2GB;
-               } else {
-                       if (it == 'y' || it == 'Y')
-                               tdx_hw_tag.prodid = COLIBRI_T30_IT;
+#ifdef CONFIG_TARGET_APALIS_T30
+               if (it == 'y' || it == 'Y')
+                       tdx_hw_tag.prodid = APALIS_T30_IT;
+               else
+                       if (gd->ram_size == 0x40000000)
+                               tdx_hw_tag.prodid = APALIS_T30_1GB;
                        else
-                               tdx_hw_tag.prodid = COLIBRI_T30;
-               }
+                               tdx_hw_tag.prodid = APALIS_T30_2GB;
+#else
+               if (it == 'y' || it == 'Y')
+                       tdx_hw_tag.prodid = COLIBRI_T30_IT;
+               else
+                       tdx_hw_tag.prodid = COLIBRI_T30;
+#endif
        }
-#endif /* CONFIG_MACH_TYPE */
+#endif /* CONFIG_TARGET_APALIS_T30 || CONFIG_TARGET_COLIBRI_T30 */
        else if (!strcmp("tegra124", soc)) {
                tdx_hw_tag.prodid = APALIS_TK1_2GB;
        } else if (!strcmp("vf500", soc)) {
index d41c64e7f084b3327e69c1ca3c7b7c727d27dd32..af94cc090cfb36db554e99417349538ed106df11 100644 (file)
@@ -16,7 +16,6 @@ CONFIG_SPL_FS_FAT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_OF_BOARD_SETUP=y
-CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0033"
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SPL_FS_EXT4=y
index eae53eb3e8474ca07ebb80640e1ecc7b5e92131a..a013338477862a50e6ead051f5af154129954bab 100644 (file)
@@ -28,7 +28,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
 CONFIG_DEBUG_UART=y
 CONFIG_SYS_LOAD_ADDR=0x22000000
-CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20,MACH_TYPE=2068"
+CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20"
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run flash_self"
index db957a3c65dffcfa1be105f592233c159822f507..72f4310d3cfb55e4bfaa29eb852605a485d0d240 100644 (file)
@@ -20,7 +20,7 @@ CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_ENV_OFFSET_REDUND=0x180000
 CONFIG_SYS_LOAD_ADDR=0x70000000
-CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9M10G45,MACH_TYPE=2066,SYS_USE_NANDFLASH"
+CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9M10G45,SYS_USE_NANDFLASH"
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) root=/dev/mtdblock7 rw rootfstype=jffs2"
index 19195ad9e4b82fb572b6018e64a4db5084d963b0..0bb28d4d12f76b8f53f60d6885fe39e3ec30cbf3 100644 (file)
@@ -30,7 +30,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
 CONFIG_DEBUG_UART=y
 CONFIG_SYS_LOAD_ADDR=0x22000000
-CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20,MACH_TYPE=2067"
+CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20"
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) root=/dev/mtdblock7 rw rootfstype=jffs2"
index b47260d8b29a4acd8ee9e1f5459c93674b546782..0f6ffd9ba7c2c2d7230af7e64a1d60f4841ff8fa 100644 (file)
@@ -25,8 +25,6 @@
 
 #define CONFIG_SYS_BOOTM_LEN           SZ_16M
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_AM335XEVM
-
 /* Clock Defines */
 #define V_OSCK                         24000000  /* Clock output from T2 */
 #define V_SCLK                         (V_OSCK)
index 820bb6a5f154e641539c1cabf4de9b0b54e4f76c..dff946801c6f10aa59c453b6a7ed20dd6a0468c9 100644 (file)
@@ -16,8 +16,6 @@
 
 #define CONFIG_SYS_BOOTM_LEN           (16 << 20)
 
-/*#define CONFIG_MACH_TYPE             3589     Until the next sync */
-
 /* Clock Defines */
 #define V_OSCK                         24000000  /* Clock output from T2 */
 #define V_SCLK                         (V_OSCK)
index 710b81209aabb1d725a09392ec5c261226815aba..23fca1e447be59b06687040d74fa400d1786a8e6 100644 (file)
@@ -14,8 +14,6 @@
 
 #undef CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_MACH_TYPE               4886
-
 #include <asm/arch/imx-regs.h>
 #include <asm/mach-imx/gpio.h>
 
index 9e5f5236002aba6e9fc3d9c215ff74de78d45273..eab4f22be34e8dfe536e10b133fbcb103e00b0dc 100644 (file)
@@ -23,8 +23,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_APALIS_T30
-
 /* PCI networking support */
 #define CONFIG_E1000_NO_NVM
 
index 69398787d9e7eb93b415177f0d57ab05ddb3da2d..b73b0d5b92b3ea5130ae64a7f6cf3b1945b11c4e 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "mx6_common.h"
 
-#define CONFIG_MACH_TYPE       4501
 #define CONFIG_MMCROOT         "/dev/mmcblk0p1"
 
 /* MMC Configs */
index d07262c25ab75d48282d3848c6ae0fb59eea47dd..d09a5dbf10f0cb7c3c3ed59bb86340de9085c209 100644 (file)
        (ATMEL_BASE_SRAM1 + 16 * 1024 - GENERATED_GBL_DATA_SIZE)
 #endif
 
-/*
- * The (arm)linux board id set by generic code depending on configured board
- * (see boards.cfg for different boards)
- */
-#ifdef CONFIG_AT91SAM9G20
-       /* the sam9g20 variants have two different board ids */
-# ifdef CONFIG_AT91SAM9G20EK_2MMC
-       /* we may be setup for the 2MMC variant of at91sam9g20ek */
-#  define CONFIG_MACH_TYPE MACH_TYPE_AT91SAM9G20EK_2MMC
-# else
-       /* or the normal at91sam9g20ek */
-#  define CONFIG_MACH_TYPE MACH_TYPE_AT91SAM9G20EK
-# endif
-#else
-       /* otherwise default to good old at91sam9260ek */
-# define CONFIG_MACH_TYPE MACH_TYPE_AT91SAM9260EK
-#endif
-
 /* NAND flash */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
index bdac5131fc774dc666119587475d04e591bbf6e6..2fe6c8639392096288d0464cc0f0a0f234d39165 100644 (file)
@@ -19,8 +19,6 @@
 #include <linux/sizes.h>
 #include <configs/ti_am335x_common.h>
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_AM335XEVM
-
 /* Clock Defines */
 #define V_OSCK                         24000000  /* Clock output from T2 */
 #define V_SCLK                         (V_OSCK)
index 0daa20ed5ce06c3559919f2b4d3b9ae64bca1d2e..8be491e60103153b611c8bb908df4cd99324cb74 100644 (file)
@@ -20,8 +20,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_BEAVER
-
 /* SPI */
 #define CONFIG_TEGRA_SLINK_CTRLS       6
 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
index c97a05ed69721490df7b324a30c230c6fb23f7fb..9fb861b9a0d110d7e8e56328feb7b35446c912f4 100644 (file)
@@ -24,9 +24,6 @@
 
 #define CONFIG_POWER_TPS65217
 
-/*#define CONFIG_MACH_TYPE             3589*/
-#define CONFIG_MACH_TYPE               0xFFFFFFFF /* TODO: check with kernel*/
-
 /*
  * When we have NAND flash we expect to be making use of mtdparts,
  * both for ease of use in U-Boot and for passing information on to
index 1b11a5da6c81649d6400edf15a6366d701f9bc79..3f54bafdb88a61b7d3e0c3176c4cf07117ce70cb 100644 (file)
@@ -24,7 +24,6 @@
 #define CONFIG_FSL_USDHC
 
 /* Boot */
-#define CONFIG_MACH_TYPE               0xFFFFFFFF
 
 /* misc */
 
index 714d37ea4bffed4f0c10f51d474b03cdd76ff780..f1e6dbf613583c39bde8c04374ec7a2e48a9be9c 100644 (file)
@@ -24,8 +24,6 @@
 #define V_OSCK                         26000000  /* Clock output from T2 */
 #define V_SCLK                         (V_OSCK)
 
-#define CONFIG_MACH_TYPE               3589
-
 #ifndef CONFIG_SPL_BUILD
 
 /* Default environment */
index 9f7fcda2918929199981b97eab8c8b3dfb1d52c1..d9179760b926567979b3d2ead1ff64d73a084124 100644 (file)
@@ -23,8 +23,6 @@
 #define V_OSCK                         26000000  /* Clock output from T2 */
 #define V_SCLK                         (V_OSCK)
 
-#define CONFIG_MACH_TYPE               3589
-
 #ifndef CONFIG_SPL_BUILD
 
 /* Default environment */
index 8e8b1067b1dab868ae98480163d3f42910cbe273..f3416b534b230d0ab2498ee75fc1f4f9e78fd329 100644 (file)
@@ -24,8 +24,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_CARDHU
-
 /* SPI */
 #define CONFIG_TEGRA_SLINK_CTRLS       6
 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
index 7092def8f9a7dd49457a419566c5fdb51d3c33c8..a22fd0ee1fe9233a743cdc6b1bb0186eebed86fe 100644 (file)
@@ -14,7 +14,6 @@
 
 /* Machine config */
 #define CONFIG_SYS_LITTLE_ENDIAN
-#define CONFIG_MACH_TYPE               4273
 
 /* MMC */
 #define CONFIG_SYS_FSL_USDHC_NUM       3
index e6d95b741fb938bd515072abbd2f636d16e461af..4ca4f35eb3ffe9a56d64d5e36583aebccc0931fc 100644 (file)
@@ -17,8 +17,6 @@
 #undef CONFIG_MAX_RAM_BANK_SIZE
 #define CONFIG_MAX_RAM_BANK_SIZE       (512 << 20)     /* 512MB */
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_CM_T335
-
 /* Clock Defines */
 #define V_OSCK                         25000000  /* Clock output from T2 */
 #define V_SCLK                         (V_OSCK)
index 158bb09b37db83df6806f3c9eb9fcc505536fd0c..e947b58d96cea51ab758d05c47843ff5562a899b 100644 (file)
@@ -15,8 +15,6 @@
 #define CONFIG_TEGRA_UARTA_SDIO1
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_COLIBRI_TEGRA2
-
 /* LCD support */
 #define CONFIG_LCD_LOGO
 
index 30b48c5fd6a88dc88b605d8c345cdda3848d8980..324e607839a96020cb397cd47ba6f0ba067e5b38 100644 (file)
@@ -24,8 +24,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_COLIBRI_T30
-
 /* Increase console I/O buffer size */
 #undef CONFIG_SYS_CBSIZE
 #define CONFIG_SYS_CBSIZE              1024
index 18d9ba1784d926c8475a029f586ee67bc6d03c71..2a020e96c40581d1798222879bc06c5599780f46 100644 (file)
@@ -17,8 +17,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTD
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTD_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_DALMORE
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 /* SPI */
index 40b346b583cfcc05c58221223f8d4c6438a8f61e..c2340b2650757564a77164a4d538584b29b6b142 100644 (file)
@@ -12,8 +12,6 @@
 #include <linux/sizes.h>
 #include <asm/arch/cpu.h>
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_DEVKIT3250
-
 /*
  * Memory configurations
  */
index 7c2ec432fc876d85d5976941b2475607e801ea99..a2a1d93faa916ab6a9049f34cb88aac0bb142170 100644 (file)
@@ -15,7 +15,6 @@
 #define __CONFIG_H
 
 /* High Level Configuration Options */
-#define CONFIG_MACH_TYPE       MACH_TYPE_DEVKIT8000
 
 /*
  * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM
index 3a943e448bb57e0228e6a4a19faedca0988f4fd1..18ff1bb9e58aca67f28d352b6846ee78ed1dba06 100644 (file)
 #ifndef _CONFIG_DNS325_H
 #define _CONFIG_DNS325_H
 
-/*
- * Machine number definition
- */
-#define CONFIG_MACH_TYPE               MACH_TYPE_DNS325
-
 /*
  * High Level Configuration Options (easy to change)
  */
index 6bc7a0b43ea9d6c3687b12ecd17fb91a85e43827..29ce3a594045b385a65e8ad8deb542bf6fe503fb 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef __CONFIG_DRACO_H
 #define __CONFIG_DRACO_H
 
-#define CONFIG_SIEMENS_MACH_TYPE       MACH_TYPE_DRACO
-
 #include "siemens-am33x-common.h"
 
 #define DDR_PLL_FREQ   303
index 65962ee73305604be5316c50c9e0a1dc2eb2f72b..5b71f70c94bfe1d5e8d09becdba283f47f8ac2bb 100644 (file)
@@ -15,7 +15,6 @@
  * High Level Configuration Options (easy to change)
  */
 #define CONFIG_SHEEVA_88SV131  1       /* CPU Core subversion */
-#define CONFIG_MACH_TYPE       MACH_TYPE_DREAMPLUG
 
 #include "mv-plug-common.h"
 
index f232abe430eda9cbe701c0b2ddf5fc60f27362c0..62fe1441210100f046143ce226453a1de2a2be13 100644 (file)
@@ -11,9 +11,6 @@
 #ifndef _CONFIG_DS109_H
 #define _CONFIG_DS109_H
 
-/* Provide the MACH_TYPE value that the vendor kernel requires. */
-#define CONFIG_MACH_TYPE               527
-
 /*
  * High Level Configuration Options (easy to change)
  */
index 3b74aa96cd1bbbcb5378d9e6ce41238069a27bd9..58ecc5f699d2fc98dcc543879a48017fa6e69250 100644 (file)
@@ -6,9 +6,6 @@
 #ifndef _CONFIG_SYNOLOGY_DS414_H
 #define _CONFIG_SYNOLOGY_DS414_H
 
-/* Vendor kernel expects this MACH_TYPE */
-#define CONFIG_MACH_TYPE       3036
-
 /*
  * High Level Configuration Options (easy to change)
  */
index 857cf487b348fc3dbe2575236f6d03e8b243143b..220c3c44d6bce8515b4eb5a9ae2087279a6e1beb 100644 (file)
@@ -13,7 +13,6 @@
 /*
  * SoC and board defines
  */
-#define CONFIG_MACH_TYPE MACH_TYPE_LPC3XXX
 #define CONFIG_BOARD_SIZE_LIMIT 0x000fffff /* maximum allowable size for full U-Boot binary */
 
 /*
index 9a1505846da91ad33ab661fa624625010ff957b4..80108fc89957cd1b065409e1b02509ae90c7323b 100644 (file)
@@ -15,9 +15,6 @@
 
 /* The first stage boot loader takes care of low level initialization. */
 
-/* Set our official architecture number. */
-#define CONFIG_MACH_TYPE MACH_TYPE_ETHERNUT5
-
 /* CPU information */
 
 /* ARM asynchronous clock */
index 65da3815fbd6f6f7b999a1275c2c9809f55ea664..36c3a613eb75322288d374ea16a69e00e120f48f 100644 (file)
@@ -13,8 +13,6 @@
 
 #define CONFIG_SYS_SDRAM_BASE          0x40000000
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_SMDK5250
-
 #define CONFIG_SPL_MAX_FOOTPRINT       (14 * 1024)
 
 #define CONFIG_IRAM_STACK      0x02050000
index 2d362f3961519949a0b7fd0f945996a2ead90eae..7762c77164a387461fc3139a6226a2fab3774132 100644 (file)
@@ -12,9 +12,6 @@
 
 #define CONFIG_EXYNOS5_DT
 
-/* Provide the MACH_TYPE value that the vendor kernel requires. */
-#define CONFIG_MACH_TYPE               8002
-
 #define CONFIG_VAR_SIZE_SPL
 
 #define CONFIG_IRAM_TOP                        0x02074000
index daf90bde5525bc25609f59ab6c8ee6336f69971e..6c3b2c4bf554723012a346fa42a303976c4872cc 100644 (file)
@@ -17,8 +17,6 @@
  /* High Level Configuration Options */
 #define CONFIG_MX35
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_FLEA3
-
 /* Set TEXT at the beginning of the NOR flash */
 
 /* This is required to setup the ESDC controller */
index ed8e50832aaae354337913298703c66623409435..f0289582609f9584fc7471ebcbf35ada6ccdd905 100644 (file)
@@ -24,8 +24,6 @@
 #include "imx6_spl.h"                  /* common IMX6 SPL configuration */
 #include "mx6_common.h"
 
-#define CONFIG_MACH_TYPE       4520   /* Gateworks Ventana Platform */
-
 /* Serial */
 #define CONFIG_MXC_UART_BASE          UART2_BASE
 
index b2464f90dea268a466e85c543342227cf70a348a..5a1e72c5373f50796f40a58486b68fc60bb301d8 100644 (file)
@@ -23,8 +23,6 @@
 #define CONFIG_SYS_NS16550_COM2                NV_PA_APB_UARTA_BASE
 #endif
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_HARMONY
-
 /* NAND support */
 #define CONFIG_TEGRA_NAND
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
index 29491327f5c4234c8536c06d1d66d1fe8bb225ec..1a716dfbe91d2676c6f3d8d18f8f9af984883b3f 100644 (file)
 #define CONFIG_FEROCEON_88FR131                /* CPU Core subversion */
 #define CONFIG_KW88F6281               /* SOC Name */
 
-/*
- * Machine type
- */
-#define CONFIG_MACH_TYPE       MACH_TYPE_ICONNECT
-
 #include "mv-common.h"
 
 /*
index 29fcce94eb1a0287ecb244d6393d669b3d64e64b..cca624ea3e116b2ba404f7a4563534c9513809a0 100644 (file)
@@ -25,8 +25,6 @@
 #define CONFIG_FEROCEON_88FR131                /* CPU Core subversion */
 #define CONFIG_KW88F6281               /* SOC Name */
 
-#define CONFIG_MACH_TYPE       MACH_TYPE_KM_KIRKWOOD
-
 #define CONFIG_NAND_ECC_BCH
 
 /* include common defines/options for all Keymile boards */
index 094a9f960cd6b1c15938d68919d0f7da9c151287..c3f690c7d70ee92a524fb8563c2a73b44b77e3e4 100644 (file)
@@ -8,7 +8,6 @@
 #define __KZM9G_H
 
 #define CONFIG_SH73A0
-#define CONFIG_MACH_TYPE MACH_TYPE_KZM9G
 
 #include <asm/arch/rmobile.h>
 
index 6b6f0d63b4960a539b23442a0210604f95866a75..146d8ad63721cb67357a2e5478aa235689c2ec2b 100644 (file)
@@ -6,27 +6,6 @@
 #ifndef _CONFIG_LACIE_KW_H
 #define _CONFIG_LACIE_KW_H
 
-/*
- * Machine number definition
- */
-#if defined(CONFIG_INETSPACE_V2)
-#define CONFIG_MACH_TYPE               MACH_TYPE_INETSPACE_V2
-#elif defined(CONFIG_NETSPACE_V2)
-#define CONFIG_MACH_TYPE               MACH_TYPE_NETSPACE_V2
-#elif defined(CONFIG_NETSPACE_LITE_V2)
-#define CONFIG_MACH_TYPE               MACH_TYPE_NETSPACE_LITE_V2
-#elif defined(CONFIG_NETSPACE_MINI_V2)
-#define CONFIG_MACH_TYPE               MACH_TYPE_NETSPACE_MINI_V2
-#elif defined(CONFIG_NETSPACE_MAX_V2)
-#define CONFIG_MACH_TYPE               MACH_TYPE_NETSPACE_MAX_V2
-#elif defined(CONFIG_D2NET_V2)
-#define CONFIG_MACH_TYPE               MACH_TYPE_D2NET_V2
-#elif defined(CONFIG_NET2BIG_V2)
-#define CONFIG_MACH_TYPE               MACH_TYPE_NET2BIG_V2
-#else
-#error "Unknown board"
-#endif
-
 /*
  * High Level Configuration Options (easy to change)
  */
index 00c0c8fc02674f8ec7643329deb5b29cb9d40c02..7294a3c20a5a4d4453d6ebc6a57a07327c8daf43 100644 (file)
  */
 #if defined(CONFIG_LSCHLV2)
 #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage-lschl.cfg
-#define CONFIG_MACH_TYPE 3006
 #elif defined(CONFIG_LSXHL)
 #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage-lsxhl.cfg
-#define CONFIG_MACH_TYPE 2663
 #else
 #error "unknown board"
 #endif
index 0314f349c066f8b1afd8c5c037e43d92bd32bba8..b0c78d3561cb9ffdd7a36683bb836408feb02248 100644 (file)
@@ -5,9 +5,6 @@
 #ifndef __CONFIGS_MX23_OLINUXINO_H__
 #define __CONFIGS_MX23_OLINUXINO_H__
 
-/* System configurations */
-#define CONFIG_MACH_TYPE       4105
-
 /* U-Boot Commands */
 
 /* Memory configuration */
index d82dbc1df22788492e58cb9dbefa6b8bc4f32c60..1f40d98be003193c4a87da6ff79f81fc114d7647 100644 (file)
@@ -8,9 +8,6 @@
 #ifndef __CONFIGS_MX23EVK_H__
 #define __CONFIGS_MX23EVK_H__
 
-/* System configurations */
-#define CONFIG_MACH_TYPE       MACH_TYPE_MX23EVK
-
 /* U-Boot Commands */
 
 /* Memory configuration */
index f5f1ab0854af7338ac075efc1355a2f8d2674dd0..10292c86fac7d638421ed96eb4506a345d7f5445 100644 (file)
@@ -10,9 +10,6 @@
 #ifndef __CONFIGS_MX28EVK_H__
 #define __CONFIGS_MX28EVK_H__
 
-/* System configurations */
-#define CONFIG_MACH_TYPE       MACH_TYPE_MX28EVK
-
 /* Memory configuration */
 #define PHYS_SDRAM_1                   0x40000000      /* Base address */
 #define PHYS_SDRAM_1_SIZE              0x40000000      /* Max 1 GB RAM */
index 3e2394092a3f320d57d365e014d79ff4f0f73ecc..9cc297da30ed3649daf57a57f27a2a9ccbe4e83e 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <asm/arch/imx-regs.h>
 
-#define CONFIG_MACH_TYPE       MACH_TYPE_MX51_BABBAGE
 /*
  * Hardware drivers
  */
index 8595c93692ae86501ba59515569c8270a412795a..b026c6ff89f2d5b903ef627af888c2b4bd3a2da5 100644 (file)
@@ -9,8 +9,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_MACH_TYPE       MACH_TYPE_MX53_LOCO
-
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_SYS_FSL_CLK
index 1bfc0354271992b42b3fbda0426b954d10da3d6f..5cd51a4af06fdab5df4b444c48183f1fce35e87d 100644 (file)
@@ -12,7 +12,6 @@
 #include "imx6_spl.h"
 #endif
 
-#define CONFIG_MACH_TYPE       3529
 #define CONFIG_MXC_UART_BASE   UART4_BASE
 #define CONSOLE_DEV            "ttymxc3"
 
index a9f353d9b13aa949bd7e7e0cf085746651036dca..9a9f5884aacb9f22c9195436cf8a0897c127b947 100644 (file)
@@ -12,7 +12,6 @@
 #include "imx6_spl.h"
 #endif
 
-#define CONFIG_MACH_TYPE       3980
 #define CONFIG_MXC_UART_BASE   UART1_BASE
 #define CONSOLE_DEV            "ttymxc0"
 
index 4bfeff11ffbb3e51b32eddb58afa1f1181709e72..e8fd2126f7b4b3e28a9b081f16de6fd0a21b3dee 100644 (file)
@@ -14,8 +14,6 @@
 #include "imx6_spl.h"
 #endif
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_MX6SL_EVK
-
 #define CONFIG_MXC_UART_BASE           UART1_IPS_BASE_ADDR
 
 /* MMC Configs */
index 1a43587c40af52d4a6162a280ff3f1eba62eae9d..be022204aa466e6b5a681124833b393a4edcfe0e 100644 (file)
 #ifndef _CONFIG_NAS220_H
 #define _CONFIG_NAS220_H
 
-/*
- * Machine type ID
- */
-#define CONFIG_MACH_TYPE               MACH_TYPE_RD88F6192_NAS
-
 /*
  * High Level Configuration Options (easy to change)
  */
index d704b82969ca26086fdf03b8b7d0e4cb462725ec..cd53c498975d5c425a873fd7a035ee47ab495c0f 100644 (file)
@@ -11,8 +11,6 @@
 
 #include "mx6_common.h"
 
-#define CONFIG_MACH_TYPE       3769
-
 #define CONFIG_USBD_HS
 
 #define CONFIG_MXC_UART_BASE          UART2_BASE
index 30d478380730204cc0cd7f69b32ecf57837e4830..281922af4a8de35a579690a72553c93e2c2405d7 100644 (file)
@@ -19,8 +19,6 @@
 #define CONFIG_SYS_PL310_BASE  0x10502000
 #endif
 
-#define CONFIG_MACH_TYPE       4289
-
 #define CONFIG_SYS_SDRAM_BASE  0x40000000
 #define SDRAM_BANK_SIZE                (256 << 20)     /* 256 MB */
 #define PHYS_SDRAM_1           CONFIG_SYS_SDRAM_BASE
index 462aa4a5b902bc76c607182297145060279cebf0..fb210ce69b3c0a2949acb1b924b9d13d509d844b 100644 (file)
@@ -15,7 +15,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_MACH_TYPE       MACH_TYPE_OMAP_4430SDP
 
 #include <configs/ti_omap4_common.h>
 
index d63de28bfecc4eabd1d2475dc764eeeb9f59be94..881df2d3b0b7227feb5ae4f2759509e646715c19 100644 (file)
@@ -19,8 +19,6 @@
 #define PHYS_SDRAM_1                   CONFIG_SYS_SDRAM_BASE
 #define SDRAM_BANK_SIZE                        (256 << 20)     /* 256 MB */
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_ORIGEN
-
 #define CONFIG_SYS_MEM_TOP_HIDE        (1 << 20)       /* ram console */
 
 #define CONFIG_SYS_MONITOR_BASE        0x00000000
index 7a09ac0dee738afca0d30ddcec126e9ff502ea98..c12f4d0937d5124567446977ec3e70b040a6e0bd 100644 (file)
@@ -19,8 +19,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_PAZ00
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #include "tegra-common-post.h"
index 53342ce193a40648d152a2a0fe1fa65059d715a4..3d18747f9b65c2d05b9900f4b64e51079aea99cf 100644 (file)
@@ -14,9 +14,6 @@
 
 /* Using 32K of volatile storage for environment */
 
-#define MACH_TYPE_PDU001       5075
-#define CONFIG_MACH_TYPE       MACH_TYPE_PDU001
-
 /* Clock Defines */
 #define V_OSCK                 24000000  /* Clock output from T2 */
 #define V_SCLK                 (V_OSCK)
index 4a347fe154fadad0779a6a94827f4ffa9db8ba33..4925fcc8cfd069fce93e507bfde6537830e2b79d 100644 (file)
@@ -14,8 +14,6 @@
 
 #include <configs/ti_am335x_common.h>
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_SBC_PHYCORE_AM335X
-
 #ifdef CONFIG_MTD_RAW_NAND
 #define NANDARGS \
        "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
index 3af4135be7ed78f7e82520a6c3e45d1bad12c0b8..1523eff3353501ecd9116e9a7d53c9eca71169f8 100644 (file)
@@ -27,8 +27,6 @@
 
 #define CONFIG_SYS_AT91_CPU_NAME       "AT91SAM9261"
 
-#define CONFIG_MACH_TYPE       MACH_TYPE_PM9261
-
 /* clocks */
 /* CKGR_MOR - enable main osc. */
 #define CONFIG_SYS_MOR_VAL                                             \
index 18eec7176307fb6bd547d37fb449551371176bc6..cf74e0e94e44283293d77aaf42779d0dab8fdb5a 100644 (file)
@@ -27,8 +27,6 @@
 
 #define CONFIG_SYS_AT91_CPU_NAME       "AT91SAM9263"
 
-#define CONFIG_MACH_TYPE       MACH_TYPE_PM9263
-
 /* clocks */
 #define CONFIG_SYS_MOR_VAL                                             \
                (AT91_PMC_MOR_MOSCEN |                                  \
index ef51da394d151343a15586658235b166d7ffe00d..f49bcfb6a2188285c2b6b0276a66e301cd7dd9f6 100644 (file)
 #ifndef _CONFIG_POGO_E02_H
 #define _CONFIG_POGO_E02_H
 
-/*
- * Machine type definition and ID
- */
-#define CONFIG_MACH_TYPE               MACH_TYPE_POGO_E02
-
 /*
  * High Level Configuration Options (easy to change)
  */
index 1438130bf013a596b9d2c2973179298bfadcb34c..a333326dff6c96993ccda8525fbfbc26aaecdd9c 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef __CONFIG_PXM2_H
 #define __CONFIG_PXM2_H
 
-#define CONFIG_SIEMENS_MACH_TYPE       MACH_TYPE_PXM2
-
 #include "siemens-am33x-common.h"
 
 #define DDR_IOCTRL_VAL         0x18b
index 14c89a97411022c5c1fb035e059e35b7cca8b84a..55768a46da2c3476e32f066327b23d1b91bc13d3 100644 (file)
        (&((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_SYS_SDRAM_BASE          0x00000000
 #define CONFIG_SYS_UBOOT_BASE          CONFIG_SYS_TEXT_BASE
index d240d8e1d3fb92873242a12a64f9fd270705205a..68d68d084d2ea90ea579ec46fe83e845c013504d 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef __CONFIG_RUT_H
 #define __CONFIG_RUT_H
 
-#define CONFIG_SIEMENS_MACH_TYPE       MACH_TYPE_RUT
-
 #include "siemens-am33x-common.h"
 
 #define RUT_IOCTRL_VAL 0x18b
index 5b5aa1b2f2050101e46d535bd810d4b43c1d1b35..c51517a76bfc2496f28af5bed39f83747faad7da 100644 (file)
@@ -24,8 +24,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTD
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTD_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_SEABOARD
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 /* NAND support */
index 5d89ed34cbb5ebe49c32357e14250b68043e9b65..6ccba95f3052b76e68f693db9c4b3fc958496955 100644 (file)
 #define CONFIG_DMA_COHERENT
 #define CONFIG_DMA_COHERENT_SIZE       (1 << 20)
 
-#ifdef CONFIG_SIEMENS_MACH_TYPE
-#define CONFIG_MACH_TYPE               CONFIG_SIEMENS_MACH_TYPE
-#endif
-
 /* commands to include */
 
 #ifndef CONFIG_SPL_BUILD
index 233a26a38f513f2bfb7efd08cd4d6add30885e83..5bcc3a66d3a6b3da1e274e269236f1559372da9d 100644 (file)
@@ -45,7 +45,6 @@
 #define CONFIG_SYS_MAXARGS    32
 
 /* setting board specific options */
-#define CONFIG_MACH_TYPE               MACH_TYPE_SMARTWEB
 #define CONFIG_SYS_AUTOLOAD "yes"
 #define CONFIG_RESET_TO_RETRY
 
index 61d596898229868278785887be1f823b9dea3886..4a6b6258ab7a8ec762530808630847ec7b4b31cc 100644 (file)
@@ -16,9 +16,6 @@
 /* High Level Configuration Options */
 #define CONFIG_EXYNOS4210              1       /* which is a EXYNOS4210 SoC */
 
-/* Mach Type */
-#define CONFIG_MACH_TYPE               MACH_TYPE_SMDKV310
-
 #define CONFIG_SYS_SDRAM_BASE          0x40000000
 
 /* Handling Sleep Mode*/
index 6033760583a176fcc696d86aa6f2624e25a72d2b..0e1baa91bb14e276c939d4fc49a00cacfc9671b3 100644 (file)
@@ -16,6 +16,4 @@
  */
 #include <configs/sunxi-common.h>
 
-#define CONFIG_MACH_TYPE       (4104 | ((CONFIG_MACH_TYPE_COMPAT_REV) << 28))
-
 #endif /* __CONFIG_H */
index ee42af80d46973fe329b0e9c2ab938fccadbfdcc..ada18de75374bf9452a476498f8f042faf116acb 100644 (file)
@@ -16,6 +16,4 @@
  */
 #include <configs/sunxi-common.h>
 
-#define CONFIG_MACH_TYPE       (4138 | ((CONFIG_MACH_TYPE_COMPAT_REV) << 28))
-
 #endif /* __CONFIG_H */
index d2fd5866723db4d8097489de8306d9a2e783715f..803a7514cc0691ff0a15b2d0f733f9907ceeb66f 100644 (file)
@@ -20,6 +20,4 @@
  */
 #include <configs/sunxi-common.h>
 
-#define CONFIG_MACH_TYPE       (4283 | ((CONFIG_MACH_TYPE_COMPAT_REV) << 28))
-
 #endif /* __CONFIG_H */
index 5a967bbed7ea053faa85a8c8942d328c87c60bae..f7d0a7ef95cc1b0a1b8f1d01924b652493a839df 100644 (file)
 #include <asm/arch/cpu.h>
 #include <linux/stringify.h>
 
-#ifdef CONFIG_OLD_SUNXI_KERNEL_COMPAT
-/*
- * The U-Boot workarounds bugs in the outdated buggy sunxi-3.4 kernels at the
- * expense of restricting some features, so the regular machine id values can
- * be used.
- */
-# define CONFIG_MACH_TYPE_COMPAT_REV   0
-#else
-/*
- * A compatibility guard to prevent loading outdated buggy sunxi-3.4 kernels.
- * Only sunxi-3.4 kernels with appropriate fixes applied are able to pass
- * beyond the machine id check.
- */
-# define CONFIG_MACH_TYPE_COMPAT_REV   1
-#endif
-
 #ifdef CONFIG_ARM64
 #define CONFIG_SYS_BOOTM_LEN           (32 << 20)
 #endif
index acc6e6cffc541992f44c3fc044595876441cce4d..0438b5ae0c6d3dfb6911c19f50a9974ee84eb267 100644 (file)
@@ -12,8 +12,6 @@
 
 /* General configuration */
 
-#define CONFIG_MACH_TYPE               3980
-
 #define CONFIG_SYS_HZ                  1000
 
 /* Physical Memory Map */
index f12e9f7f6d5de766168df0c68731c74da37e1248..ee63ce37cd99c54b040f74dc5cac7d0ae3e2d6cf 100644 (file)
@@ -18,8 +18,6 @@
 
 #include <asm/arch/omap.h>
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_TI8148EVM
-
 /* commands to include */
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
index c8f5a0763bb7ba25c60f83ada5e05db8e7323b2a..cffa79416f9014e1b5912b554541a9ec0b5f1c96 100644 (file)
@@ -12,8 +12,6 @@
 #include <configs/ti_armv7_omap.h>
 #include <asm/arch/omap.h>
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_TI8168EVM
-
 #define CONFIG_EXTRA_ENV_SETTINGS      \
        DEFAULT_LINUX_BOOT_ENV \
        "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
index 7284663f04e94c9f6391b970b2e99f790f621989..396e9f28100ed6d205d3ddd863bd65ad831731d1 100644 (file)
@@ -26,8 +26,6 @@
 #define PHYS_SDRAM_1                   CONFIG_SYS_SDRAM_BASE
 #define SDRAM_BANK_SIZE                        (256 << 20)     /* 256 MB */
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_TRATS
-
 #define CONFIG_BOOTCOMMAND             "run autoboot"
 
 #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_LOAD_ADDR \
index b914e444b6e7cef49dc7da1566b3cd05f2d67a2e..b562d44a13ba159a13c3d268a98b7ae4b238aa37 100644 (file)
@@ -18,8 +18,6 @@
 #define CONFIG_TEGRA_UARTA_GPU
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_TRIMSLICE
-
 /* SPI */
 
 /* Environment in SPI */
index 14b532502b7eb5094e96f79d7eb7ffd25d789638..fe6ea68dd46191d74dc92c9473dc6156c652fe7d 100644 (file)
@@ -12,9 +12,6 @@
 
 #include "imx6_spl.h"
 
-/* Provide the MACH_TYPE value that the vendor kernel requires. */
-#define CONFIG_MACH_TYPE               4800
-
 #define CONFIG_MXC_UART_BASE           UART2_BASE
 
 /* SATA Configs */
index 61b577e98ee2a46afd450446ad3c509c646bff68..c12e53690d0fa3ec603f6e357347b04b3a37f744 100644 (file)
@@ -20,8 +20,6 @@
 #define CONFIG_SYS_AT91_MAIN_CLOCK     12000000        /* 12 MHz crystal */
 #define CONFIG_SYS_AT91_SLOW_CLOCK     32768
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_USB_A9263
-
 /*
  * Hardware drivers
  */
index 21f90f38fc9b3aa20ddaa0b2b051d0cf05ee0963..0bd5a1e8522889e3fc3654d3deec3ddccfed3633 100644 (file)
@@ -17,8 +17,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTD
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTD_BASE
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_VENTANA
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #include "tegra-common-post.h"
index 233031074590c3fc2ce92826d51e7a2ad84eb03f..49053ce2d79eceaa04fab1654065074691bd998e 100644 (file)
@@ -13,8 +13,6 @@
 
 #define CONFIG_SYS_FSL_CLK
 
-#define CONFIG_MACH_TYPE               4146
-
 /* NAND support */
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 
index f9226888c27393b07b9828fe75432a489e3db7a8..ece762e512dff57761111136a10b73306447b076 100644 (file)
@@ -12,8 +12,6 @@
 
 #include "imx6_spl.h"
 
-#define CONFIG_MACH_TYPE               MACH_TYPE_WANDBOARD_IMX6
-
 #define CONFIG_MXC_UART_BASE           UART1_BASE
 
 /* SATA Configs */
index 23a0bed77d22b9dcd3603216361ebeb0c2108412..83b24a7dcc8fdcde144984658ece26f602715642 100644 (file)
 #include <linux/sizes.h>
 #include <asm/arch/cpu.h>
 
-/*
- * Define work_92105 machine type by hand -- done only for compatibility
- * with original board code
- */
-#define CONFIG_MACH_TYPE               736
-
 /*
  * Memory configurations
  */
index 299136019618b0d32f1c84eb1f44a9927201c2f9..46596e921a0c405133f107a301991e3117bd9514 100644 (file)
@@ -15,7 +15,6 @@
 #define CONFIG_SYS_TIMER_COUNTER       \
        (&((struct gpt_regs *)IMX_GPT1_BASE)->counter)
 
-#define CONFIG_MACH_TYPE       MACH_TYPE_ZMX25
 /*
  * Environment settings
  */