From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Tue, 5 Jan 2016 16:00:57 -0200 Subject: [U-Boot] Allowing rtt_nom to be configurable to all possible values In-Reply-To: <568C0365.8030708@nelint.com> References: <568C0365.8030708@nelint.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Eric, On Tue, Jan 5, 2016 at 3:54 PM, Eric Nelson wrote: > The only thing I would add here is a set of constants to prevent the > need to refer to the manual. > > The values differ in the i.MX6SDL to allow different meanings for DDR2, > so this should suffice: > > #define RTT_NOM_Disabled 0 > #define RTT_NOM_120_OHM_75_OHM_DDR2 1 > #define RTT_NOM_60_OHM_150_OHM_DDR2 2 > #define RTT_NOM_40_OHM_50_OHM_DDR2 3 > #define RTT_NOM_30_OHM_37.5_OHM_DDR2 4 > #define RTT_NOM_24_OHM_30_OHM_DDR2 5 > #define RTT_NOM_20_OHM_25_OHM_DDR2 6 > #define RTT_NOM_17_OHM_21_OHM_DDR2 7 > > (or an enum of the same)... Thanks for your feedback. Will submit such patch after 2016.01 is out.