X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fbaltos.h;h=42a5abd1b41b829ab7c61bae5eeb770ee85219cb;hb=19ea606109135c3d9892d86e1b1c2a8fb551cc1b;hp=19db35052e9edc825d781dfb2ffdb3125844eafc;hpb=d91013034a3222137a5ac4d82aa45f15bd6ff284;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/baltos.h b/include/configs/baltos.h index 19db350..42a5abd 100644 --- a/include/configs/baltos.h +++ b/include/configs/baltos.h @@ -25,26 +25,11 @@ #define V_OSCK 24000000 /* Clock output from T2 */ #define V_SCLK (V_OSCK) -/* Custom script for NOR */ -#define CONFIG_SYS_LDSCRIPT "board/vscom/baltos/u-boot.lds" - -/* Always 128 KiB env size */ -#define CONFIG_ENV_SIZE (128 << 10) - /* FIT support */ #define CONFIG_SYS_BOOTM_LEN SZ_64M -/* UBI Support */ -#define CONFIG_MTD_PARTITIONS -#define CONFIG_MTD_DEVICE - -/* I2C configuration */ +#ifdef CONFIG_MTD_RAW_NAND -#ifdef CONFIG_NAND -#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x00080000 -#ifdef CONFIG_SPL_OS_BOOT -#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */ -#endif #define NANDARGS \ "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \ "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ @@ -229,12 +214,7 @@ /* SPL */ #ifndef CONFIG_NOR_BOOT -/* USB gadget RNDIS */ - -/* General network SPL, both CPSW and USB gadget RNDIS */ -#define CONFIG_SPL_NET_VCI_STRING "AM335x U-Boot SPL"*/ - -#ifdef CONFIG_NAND +#ifdef CONFIG_MTD_RAW_NAND #define CONFIG_SYS_NAND_5_ADDR_CYCLE #define CONFIG_SYS_NAND_PAGE_COUNT (CONFIG_SYS_NAND_BLOCK_SIZE / \ CONFIG_SYS_NAND_PAGE_SIZE) @@ -265,27 +245,13 @@ * add mass storage support and for gadget we add both RNDIS ethernet * and DFU. */ -#define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT #define CONFIG_AM335X_USB0 #define CONFIG_AM335X_USB0_MODE MUSB_HOST #define CONFIG_AM335X_USB1 #define CONFIG_AM335X_USB1_MODE MUSB_OTG -#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USB_ETHER) -/* disable host part of MUSB in SPL */ -/* disable EFI partitions and partition UUID support */ -/* - * Disable CPSW SPL support so we fit within the 101KiB limit. - */ -#endif - -/* Network. */ -#define CONFIG_PHY_SMSC -#define CONFIG_MII -#define CONFIG_PHY_ATHEROS - /* NAND support */ -#ifdef CONFIG_NAND +#ifdef CONFIG_MTD_RAW_NAND #define GPMC_NAND_ECC_LP_x8_LAYOUT 1 #endif