X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fapf27.h;h=79366bed75499f4d95c3eb1193743a2c8bb88682;hb=cbe7706ab8aab06c18edaa9b120371f9c8012728;hp=b10c48c20e3921da4b12673ec716b45ce834f629;hpb=3e11350255d9c5d4bd03c2a65769da84c05d3294;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/apf27.h b/include/configs/apf27.h index b10c48c..79366be 100644 --- a/include/configs/apf27.h +++ b/include/configs/apf27.h @@ -10,23 +10,19 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define CONFIG_VERSION_VARIABLE #define CONFIG_ENV_VERSION 10 -#define CONFIG_IDENT_STRING " apf27 patch 3.10" #define CONFIG_BOARD_NAME apf27 /* * SoC configurations */ -#define CONFIG_ARM926EJS /* this is an ARM926EJS CPU */ -#define CONFIG_MX27 /* in a Freescale i.MX27 Chip */ +#define CONFIG_MX27 /* This is a Freescale i.MX27 Chip */ #define CONFIG_MACH_TYPE 1698 /* APF27 */ -#define CONFIG_SYS_GENERIC_BOARD /* * Enable the call to miscellaneous platform dependent initialization. */ -#define CONFIG_SYS_NO_FLASH /* to be define before */ +#define CONFIG_SYS_NO_FLASH /* * Board display option @@ -37,14 +33,12 @@ /* * SPL */ -#define CONFIG_SPL #define CONFIG_SPL_TARGET "u-boot-with-spl.bin" #define CONFIG_SPL_LDSCRIPT "arch/$(ARCH)/cpu/u-boot-spl.lds" #define CONFIG_SPL_MAX_SIZE 2048 #define CONFIG_SPL_TEXT_BASE 0xA0000000 /* NAND boot config */ -#define CONFIG_SPL_NAND_SUPPORT #define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x800 #define CONFIG_SYS_NAND_U_BOOT_DST CONFIG_SYS_TEXT_BASE @@ -67,29 +61,14 @@ /* * U-Boot Commands */ -#include - -#define CONFIG_CMD_ASKENV /* ask for env variable */ #define CONFIG_CMD_BSP /* Board Specific functions */ -#define CONFIG_CMD_CACHE /* icache, dcache */ #define CONFIG_CMD_DATE -#define CONFIG_CMD_DHCP /* DHCP Support */ -#define CONFIG_CMD_DNS #define CONFIG_CMD_EEPROM -#define CONFIG_CMD_EXT2 -#define CONFIG_CMD_FAT /* FAT support */ #define CONFIG_CMD_IMX_FUSE /* imx iim fuse */ -#define CONFIG_CMD_I2C -#define CONFIG_CMD_MII /* MII support */ -#define CONFIG_CMD_MMC #define CONFIG_CMD_MTDPARTS /* MTD partition support */ #define CONFIG_CMD_NAND /* NAND support */ #define CONFIG_CMD_NAND_LOCK_UNLOCK #define CONFIG_CMD_NAND_TRIMFFS -#define CONFIG_CMD_NFS /* NFS support */ -#define CONFIG_CMD_PING /* ping support */ -#define CONFIG_CMD_SETEXPR /* setexpr support */ -#define CONFIG_CMD_UBI #define CONFIG_CMD_UBIFS /* @@ -145,7 +124,6 @@ * U-Boot general configurations */ #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_PROMPT "BIOS> " /* prompt string */ #define CONFIG_SYS_CBSIZE 2048 /* console I/O buffer */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) @@ -155,12 +133,9 @@ /* Boot argument buffer size */ #define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING -#define CONFIG_SYS_HUSH_PARSER /* enable the "hush" shell */ -#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " /* secondary prompt string */ #define CONFIG_ENV_VARS_UBOOT_CONFIG #define CONFIG_PREBOOT "run check_flash check_env;" - /* * Boot Linux */ @@ -168,10 +143,6 @@ #define CONFIG_SETUP_MEMORY_TAGS /* send memory definition to kernel */ #define CONFIG_INITRD_TAG /* send initrd params */ -#define CONFIG_OF_LIBFDT - -#define CONFIG_BOOTDELAY 5 -#define CONFIG_ZERO_BOOTDELAY_CHECK #define CONFIG_BOOTFILE __stringify(CONFIG_BOARD_NAME) "-linux.bin" #define CONFIG_BOOTARGS "console=" __stringify(ACFG_CONSOLE_DEV) "," \ __stringify(CONFIG_BAUDRATE) " " MTDPARTS_DEFAULT \ @@ -323,6 +294,8 @@ #ifdef CONFIG_CMD_I2C #define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_MXC_I2C1_SPEED 100000 /* 100 kHz */ #define CONFIG_SYS_MXC_I2C1_SLAVE 0x7F #define CONFIG_SYS_MXC_I2C2_SPEED 100000 /* 100 kHz */