X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=include%2Fconfigs%2Ftegra-common.h;h=92d4dd8e5196a4bbfb79d1f1d48d5b4c18c18177;hb=89cb2b5f8be4f6d04bd87220aa8f72eb0850edc4;hp=ffe167e85ac3bcdc90617cc2ff401d33f2ef09f9;hpb=7a1af7a79bd79ded6a78d0c1afdbc3353669e313;p=people%2Fms%2Fu-boot.git diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index ffe167e85a..92d4dd8e51 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -36,25 +36,10 @@ #define CONFIG_ENV_VARS_UBOOT_CONFIG #define CONFIG_ENV_SIZE 0x2000 /* Total Size Environment */ -/* - * Size of malloc() pool - */ -#ifdef CONFIG_DFU_MMC -#define CONFIG_SYS_MALLOC_LEN ((4 << 20) + \ - CONFIG_SYS_DFU_DATA_BUF_SIZE) -#else -#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */ -#endif - -#ifndef CONFIG_ARM64 -#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */ -#endif - /* * NS16550 Configuration */ -#define CONFIG_TEGRA_SERIAL -#define CONFIG_SYS_NS16550 +#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK /* * Common HW configuration. @@ -87,10 +72,6 @@ #define CONFIG_SYS_STDIO_DEREGISTER #endif -/* - * Miscellaneous configurable options - */ -#define CONFIG_SYS_PROMPT V_PROMPT /* * Increasing the size of the IO buffer as default nfsargs size is more * than 256 and so it is not possible to edit it @@ -115,7 +96,7 @@ /*----------------------------------------------------------------------- * Physical Memory Map */ -#define CONFIG_NR_DRAM_BANKS 1 +#define CONFIG_NR_DRAM_BANKS 2 #define PHYS_SDRAM_1 NV_PA_SDRC_CS0 #define PHYS_SDRAM_1_SIZE 0x20000000 /* 512M */ @@ -131,7 +112,6 @@ GENERATED_GBL_DATA_SIZE) #define CONFIG_TEGRA_GPIO -#define CONFIG_CMD_GPIO #define CONFIG_CMD_ENTERRCM /* Defines for SPL */ @@ -148,7 +128,6 @@ #define CONFIG_SPL_SERIAL_SUPPORT #define CONFIG_SPL_GPIO_SUPPORT -#define CONFIG_SYS_GENERIC_BOARD #define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_BOARD_LATE_INIT @@ -158,6 +137,7 @@ #ifndef CONFIG_SPL_BUILD #include +#define CONFIG_FAT_WRITE #endif #endif /* _TEGRA_COMMON_H_ */