X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fima3-mx53.h;h=71ca77a51305f119de0fd3071d78cdafb3f4ae23;hb=42eccdd650915962345daeae831dab183d67511b;hp=dbc59b91e98503256c2c00c3e68cb3a7eadc1375;hpb=5675b509165b67465a20e5cf71e07f40b449ef0c;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/ima3-mx53.h b/include/configs/ima3-mx53.h index dbc59b9..71ca77a 100644 --- a/include/configs/ima3-mx53.h +++ b/include/configs/ima3-mx53.h @@ -5,19 +5,7 @@ * * Configuration settings for the MX53-EVK Freescale board. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc. + * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __CONFIG_H @@ -26,10 +14,6 @@ /* SOC type must be included before imx-regs.h */ #define CONFIG_MX53 #include -#include - -#define CONFIG_SYS_MX5_HCLK 24000000 -#define CONFIG_SYS_MX5_CLK32 32768 #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO @@ -62,7 +46,6 @@ #define CONFIG_DOS_PARTITION /* Ethernet on FEC */ -#define CONFIG_NET_MULTI #define CONFIG_MII #define CONFIG_FEC_MXC @@ -82,8 +65,6 @@ /* SPI FLASH - not used for environment */ #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO -#define CONFIG_SPI_FLASH_CS (IOMUX_TO_GPIO(MX53_PIN_CSI0_D11) \ - << 8) | 0 #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 #define CONFIG_SF_DEFAULT_SPEED 25000000 @@ -129,7 +110,6 @@ #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR -#define CONFIG_SYS_HZ 1000 #define CONFIG_CMDLINE_EDITING /* Physical Memory Map */ @@ -180,8 +160,6 @@ */ #define HOSTNAME ima3-mx53 -#define xstr(s) str(s) -#define str(s) #s #define CONFIG_HOSTNAME ima3-mx53 #define CONFIG_EXTRA_ENV_SETTINGS \ @@ -203,9 +181,9 @@ "loadaddr=70800000\0" \ "kernel_addr_r=70800000\0" \ "ramdisk_addr_r=71000000\0" \ - "hostname=" xstr(CONFIG_HOSTNAME) "\0" \ - "bootfile=" xstr(CONFIG_HOSTNAME) "/uImage\0" \ - "ramdisk_file=" xstr(CONFIG_HOSTNAME) "/uRamdisk\0" \ + "hostname=" __stringify(CONFIG_HOSTNAME) "\0" \ + "bootfile=" __stringify(CONFIG_HOSTNAME) "/uImage\0" \ + "ramdisk_file=" __stringify(CONFIG_HOSTNAME) "/uRamdisk\0" \ "mmcargs=setenv bootargs root=${mmcroot} " \ "rootfstype=${mmcrootfstype}\0" \ "mmcroot=/dev/mmcblk0p3 rw\0" \ @@ -234,7 +212,7 @@ "run satargs addip addtty addmtd addmisc;" \ "sata init;ext2load sata 0:1 ${kernel_addr_r} " \ "${satafile};bootm\0" \ - "u-boot=" xstr(CONFIG_HOSTNAME) "/u-boot.imx\0" \ + "u-boot=" __stringify(CONFIG_HOSTNAME) "/u-boot.imx\0" \ "uimage=uImage\0" \ "load=tftp ${loadaddr} ${u-boot}\0" \ "uboot_addr=0xf0001000\0" \