X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fima3-mx53.h;h=ad1614abbb922a57aeb08d8fa13f56a894de821e;hb=c0cae2e24552d57f3e2f841ec235453413cd7389;hp=567061aee3093039721e54f3a63bc04c5dac02ea;hpb=8f082d78fafd94db3f21b503794e0875d3331e53;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/ima3-mx53.h b/include/configs/ima3-mx53.h index 567061a..ad1614a 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 @@ -64,7 +48,6 @@ /* Ethernet on FEC */ #define CONFIG_NET_MULTI #define CONFIG_MII -#define CONFIG_DISCOVER_PHY #define CONFIG_FEC_MXC #define IMX_FEC_BASE FEC_BASE_ADDR @@ -72,7 +55,7 @@ #define CONFIG_PHY_ADDR CONFIG_FEC_MXC_PHYADDR #define CONFIG_RESET_PHY_R #define CONFIG_FEC_MXC_NO_ANEG -#define CONFIG_PRIME "FEC0" +#define CONFIG_ETHPRIME "FEC0" /* SPI */ #define CONFIG_HARD_SPI @@ -83,8 +66,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 @@ -130,7 +111,6 @@ #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR -#define CONFIG_SYS_HZ 1000 #define CONFIG_CMDLINE_EDITING /* Physical Memory Map */ @@ -181,8 +161,6 @@ */ #define HOSTNAME ima3-mx53 -#define xstr(s) str(s) -#define str(s) #s #define CONFIG_HOSTNAME ima3-mx53 #define CONFIG_EXTRA_ENV_SETTINGS \ @@ -204,9 +182,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" \ @@ -235,7 +213,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" \