[U-Boot] Allowing rtt_nom to be configurable to all possible values

Fabio Estevam festevam at gmail.com
Tue Jan 5 19:00:57 CET 2016


Hi Eric,

On Tue, Jan 5, 2016 at 3:54 PM, Eric Nelson <eric at nelint.com> 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.


More information about the U-Boot mailing list