From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 2 May 2015 02:46:05 +0200 Subject: [U-Boot] [U-Boot, 02/10] arm: s3c24xx: Fix incorrect CONFIG_SYS_S3C2410_NAND_HWECC name In-Reply-To: <20141127020350.GA26350@home.buserror.net> References: <1413045778-5690-2-git-send-email-marex@denx.de> <20141127020350.GA26350@home.buserror.net> Message-ID: <201505020246.05889.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, November 27, 2014 at 03:03:50 AM, Scott Wood wrote: > On Sat, Oct 11, 2014 at 06:42:50PM +0200, Marek Vasut wrote: > > The correct name of this symbol is CONFIG_S3C2410_NAND_HWECC , the > > _SYS is redundant. > > What makes that the correct name? The symbol is not documented anywhere, > and while nothing currently tests for the SYS version, nothing currently > sets the non-SYS version. > > What is SYS redundant with? > > Is this meant to be a user config knob or something that is fixed for a > given board? u-boot$ git grep CONFIG_SYS_S3C2410_NAND_HWECC include/configs/VCMA9.h:#define CONFIG_SYS_S3C2410_NAND_HWECC include/configs/smdk2410.h:#define CONFIG_SYS_S3C2410_NAND_HWECC u-boot$ git grep CONFIG_S3C2410_NAND_HWECC drivers/mtd/nand/s3c2410_nand.c:#ifdef CONFIG_S3C2410_NAND_HWECC drivers/mtd/nand/s3c2410_nand.c:#ifdef CONFIG_S3C2410_NAND_HWECC The driver checks the version without _SYS. This is a clear bugfix, so please apply. Best regards, Marek Vasut