X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fkc1.h;h=343685a652de518e69d2424aa365855f954df3b8;hb=4125bbcef6a998ce8580a1f5c53c8c93a56a125b;hp=7f828f7efac70f31d71110d8e075094b8eca5ff7;hpb=0badc648dcb0d0e10db959ffe8ab1b1e156b3724;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/kc1.h b/include/configs/kc1.h index 7f828f7..343685a 100644 --- a/include/configs/kc1.h +++ b/include/configs/kc1.h @@ -16,23 +16,12 @@ * Build */ -#define CONFIG_SYS_THUMB_BUILD - /* * CPU */ #define CONFIG_SYS_L2_PL310 1 #define CONFIG_SYS_PL310_BASE 0x48242000 -#define CONFIG_SYS_CACHELINE_SIZE 32 - -/* - * Platform - */ - -#define CONFIG_OMAP -#define CONFIG_OMAP4430 -#define CONFIG_OMAP_COMMON /* * Board @@ -65,12 +54,6 @@ #define CONFIG_SYS_MALLOC_LEN (1024 * 1024 + CONFIG_ENV_SIZE) /* - * GPIO - */ - -#define CONFIG_OMAP_GPIO - -/* * I2C */ @@ -80,24 +63,6 @@ #define CONFIG_SYS_I2C_OMAP24XX #define CONFIG_I2C_MULTI_BUS -#define CONFIG_CMD_I2C - -/* - * Flash - */ - -#define CONFIG_SYS_NO_FLASH - -/* - * MMC - */ - -#define CONFIG_MMC -#define CONFIG_GENERIC_MMC -#define CONFIG_OMAP_HSMMC - -#define CONFIG_CMD_MMC - /* * Power */ @@ -111,52 +76,29 @@ #define CONFIG_TWL6030_INPUT /* - * Partitions - */ - -#define CONFIG_PARTITION_UUIDS -#define CONFIG_CMD_PART - -/* * SPL */ #define CONFIG_SPL_FRAMEWORK #define CONFIG_SPL_TEXT_BASE 0x40300000 -#define CONFIG_SPL_MAX_SIZE (48 * 1024) +#define CONFIG_SPL_MAX_SIZE (SRAM_SCRATCH_SPACE_ADDR - \ + CONFIG_SPL_TEXT_BASE) #define CONFIG_SPL_BSS_START_ADDR 0x80000000 #define CONFIG_SPL_BSS_MAX_SIZE (512 * 1024) #define CONFIG_SYS_SPL_MALLOC_START 0x80208000 #define CONFIG_SYS_SPL_MALLOC_SIZE (1024 * 1024) -#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds" +#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds" #define CONFIG_SPL_BOARD_INIT -#define CONFIG_SPL_LIBGENERIC_SUPPORT -#define CONFIG_SPL_LIBCOMMON_SUPPORT -#define CONFIG_SPL_LIBDISK_SUPPORT -#define CONFIG_SPL_SERIAL_SUPPORT -#define CONFIG_SPL_POWER_SUPPORT -#define CONFIG_SPL_GPIO_SUPPORT -#define CONFIG_SPL_I2C_SUPPORT -#define CONFIG_SPL_MMC_SUPPORT - -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 2 - /* * Console */ -#define CONFIG_SYS_CONSOLE_IS_IN_ENV - -#define CONFIG_DISPLAY_CPUINFO -#define CONFIG_DISPLAY_BOARDINFO - #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_HUSH_PARSER #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_CBSIZE 512 @@ -173,7 +115,6 @@ #define CONFIG_SYS_NS16550_COM3 UART3_BASE #define CONFIG_CONS_INDEX 3 -#define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_BAUDRATE_TABLE { 4800, 9600, 19200, 38400, 57600, \ 115200 } @@ -184,19 +125,6 @@ #define CONFIG_USB_MUSB_PIO_ONLY #define CONFIG_USB_MUSB_OMAP2PLUS -#define CONFIG_USB_GADGET_DUALSPEED -#define CONFIG_USB_GADGET_VBUS_DRAW 0 - -/* - * Download - */ - -#define CONFIG_USB_GADGET_DOWNLOAD - -#define CONFIG_G_DNL_VENDOR_NUM 0x0451 -#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 -#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" - /* * Fastboot */ @@ -232,7 +160,9 @@ "boot_mmc_dev=0\0" \ "kernel_mmc_part=7\0" \ "recovery_mmc_part=5\0" \ - "bootargs=mem=512M console=ttyO2\0" + "fdtfile=omap4-kc1.dtb\0" \ + "bootfile=/boot/extlinux/extlinux.conf\0" \ + "bootargs=console=ttyO2,115200 mem=512M\0" /* * ATAGs