From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 11 Nov 2013 11:37:54 -0800 Subject: [U-Boot] [Patch v1 1/6] Driver/DDR: Moving Freescale DDR driver to a common driver In-Reply-To: <1384198511.1403.6.camel@snotra.buserror.net> References: <1383185235-4693-1-git-send-email-yorksun@freescale.com> <1383185235-4693-2-git-send-email-yorksun@freescale.com> <1383958138.23598.231.camel@snotra.buserror.net> <52AA82BF-D859-4A21-9CA7-BB646E8908FB@freescale.com> <1384195793.1403.2.camel@snotra.buserror.net> <52812A94.1050204@freescale.com> <1384198511.1403.6.camel@snotra.buserror.net> Message-ID: <52813212.6070403@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/11/2013 11:35 AM, Scott Wood wrote: > On Mon, 2013-11-11 at 11:05 -0800, York Sun wrote: >> On 11/11/2013 10:49 AM, Scott Wood wrote: >>> My point is that the type of DDR that is present is hardware >>> description, just as much as the type of DDR controller. "User config" >>> means things users can choose purely in software, without a >>> corresponding hardware change. >>> >> >> This is a board-level configuration, not SoC level. Should we use >> CONFIG_SYS_ as well? > > Yes. > >> If so, we need to come up with a new name, such as CONFIG_SYS_FSL_DDR_MEM_GEN3. > > How about CONFIG_SYS_FSL_DDR3 for the memory, and > CONFIG_SYS_FSL_DDR_CTRL3 for the controller? > I am reluctant to change existing macro to different meaning. How about CONFIG_SYS_FSL_DDR3_MEM, or CONFIG_SYS_FSL_MEM_DDR3? York