ARM: mx6: ddr: Factor out SDQS configuration code
authorMarek Vasut <marex@denx.de>
Tue, 26 Nov 2019 08:34:50 +0000 (09:34 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:56 +0000 (10:26 +0100)
commit7ec0e39ec428df2ef979d98b0aef5cc9bf53c451
tree48b3a8fe172313dec2166333ba88e49a3754ec83
parent736b491f31ee49689ba80e2ab0897004f4502362
ARM: mx6: ddr: Factor out SDQS configuration code

Pull out the code turning SDQS pullups on and off into a separate
function, since it is replicated in two places in the code and it
is the single place in the entire function which is SoC dependent.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Eric Nelson <eric@nelint.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Eric Nelson <eric@nelint.com>
arch/arm/mach-imx/mx6/ddr.c