From: Marek Vasut Date: Thu, 9 Jul 2015 01:41:53 +0000 (+0200) Subject: arm: socfpga: config: Zap incorrect config options X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=251faa2046c7680edebeb0114fb0a38b843cb7fd;p=u-boot.git arm: socfpga: config: Zap incorrect config options There is no need to disable support for partitions in the SPL, we can support partitions in SPL perfectly well. This is likely some remnant from old times, so just remove this configuration option. Moreover, the CRC32 chunk size doesn't have to be adjusted anymore, since both the GD and malloc area are in RAM by the time this CRC check can be used and there's plenty of space. Zap this abomination as well. Signed-off-by: Marek Vasut --- diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 60a602517f..b5d69d70b1 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -23,6 +23,8 @@ #define CONFIG_SYS_NO_FLASH #define CONFIG_CLOCKS +#define CONFIG_CRC32_VERIFY + #define CONFIG_FIT #define CONFIG_OF_LIBFDT #define CONFIG_SYS_BOOTMAPSZ (64 * 1024 * 1024) @@ -296,9 +298,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void); #define CONFIG_SYS_MALLOC_SIMPLE #endif -#define CHUNKSZ_CRC32 (1 * 1024) /* FIXME: ewww */ -#define CONFIG_CRC32_VERIFY - #define CONFIG_SPL_LIBCOMMON_SUPPORT #define CONFIG_SPL_LIBGENERIC_SUPPORT #define CONFIG_SPL_WATCHDOG_SUPPORT @@ -332,8 +331,4 @@ unsigned int cm_get_qspi_controller_clk_hz(void); */ #define CONFIG_SPL_STACK CONFIG_SYS_INIT_SP_ADDR -#ifdef CONFIG_SPL_BUILD -#undef CONFIG_PARTITIONS -#endif - #endif /* __CONFIG_SOCFPGA_CYCLONE5_COMMON_H__ */