X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fconfigs%2Ftegra-common-post.h;h=5144d5aaceee06e9496587e86a4f95de45791632;hb=c27269953b94d19b3fc7a21a1c3e19985507b94d;hp=e67ff7b957154f92f3c85bdf1012828ca29c9303;hpb=7aaa5a60cec8c0f139c8be5fea7d639e06a0f88e;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index e67ff7b..5144d5a 100644 --- a/include/configs/tegra-common-post.h +++ b/include/configs/tegra-common-post.h @@ -8,6 +8,19 @@ #ifndef __TEGRA_COMMON_POST_H #define __TEGRA_COMMON_POST_H +/* + * Size of malloc() pool + */ +#ifdef CONFIG_USB_FUNCTION_DFU +#define CONFIG_SYS_MALLOC_LEN (SZ_4M + \ + CONFIG_SYS_DFU_DATA_BUF_SIZE + \ + CONFIG_SYS_DFU_MAX_FILE_SIZE) +#else +#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */ +#endif + +#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */ + #ifndef CONFIG_SPL_BUILD #define BOOT_TARGET_DEVICES(func) \ func(MMC, mmc, 1) \ @@ -40,6 +53,12 @@ #define STDOUT_LCD "" #endif +#ifdef CONFIG_DM_VIDEO +#define STDOUT_VIDEO ",vidconsole" +#else +#define STDOUT_VIDEO "" +#endif + #ifdef CONFIG_CROS_EC_KEYB #define STDOUT_CROS_EC ",cros-ec-keyb" #else @@ -48,8 +67,8 @@ #define TEGRA_DEVICE_SETTINGS \ "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC "\0" \ - "stdout=serial" STDOUT_LCD "\0" \ - "stderr=serial" STDOUT_LCD "\0" \ + "stdout=serial" STDOUT_LCD STDOUT_VIDEO "\0" \ + "stderr=serial" STDOUT_LCD STDOUT_VIDEO "\0" \ "" #ifndef BOARD_EXTRA_ENV_SETTINGS @@ -93,13 +112,9 @@ #undef CONFIG_SYS_I2C_TEGRA #endif #ifdef CONFIG_CMD_I2C -#undef CONFIG_CMD_I2C #endif /* remove MMC support */ -#ifdef CONFIG_MMC -#undef CONFIG_MMC -#endif #ifdef CONFIG_GENERIC_MMC #undef CONFIG_GENERIC_MMC #endif @@ -107,7 +122,6 @@ #undef CONFIG_TEGRA_MMC #endif #ifdef CONFIG_CMD_MMC -#undef CONFIG_CMD_MMC #endif /* remove partitions/filesystems */ @@ -117,18 +131,6 @@ #ifdef CONFIG_EFI_PARTITION #undef CONFIG_EFI_PARTITION #endif -#ifdef CONFIG_CMD_FS_GENERIC -#undef CONFIG_CMD_FS_GENERIC -#endif -#ifdef CONFIG_CMD_EXT4 -#undef CONFIG_CMD_EXT4 -#endif -#ifdef CONFIG_CMD_EXT2 -#undef CONFIG_CMD_EXT2 -#endif -#ifdef CONFIG_CMD_FAT -#undef CONFIG_CMD_FAT -#endif #ifdef CONFIG_FS_EXT4 #undef CONFIG_FS_EXT4 #endif @@ -143,11 +145,7 @@ #ifdef CONFIG_USB_EHCI_TEGRA #undef CONFIG_USB_EHCI_TEGRA #endif -#ifdef CONFIG_USB_STORAGE -#undef CONFIG_USB_STORAGE -#endif #ifdef CONFIG_CMD_USB -#undef CONFIG_CMD_USB #endif /* remove part command support */