]> git.sur5r.net Git - u-boot/commit
ARM: mvebu: a38x: move sys_env_device_rev_get
authorChris Packham <judge.packham@gmail.com>
Thu, 10 May 2018 01:28:27 +0000 (13:28 +1200)
committerStefan Roese <sr@denx.de>
Mon, 14 May 2018 08:01:56 +0000 (10:01 +0200)
commitc4195d5553595f12a6f5e943c9ee5e68097d7c72
tree862507838e2ba74df94f68ea5b254d3caf751546
parente6fce12d1476eda5b595274451443c3468f844d0
ARM: mvebu: a38x: move sys_env_device_rev_get

Move sys_env_device_rev_get() from the ddr training code to
sys_env_lib.c (which currently resides with the serdes code). This
brings sys_env_device_rev_get() into line with sys_env_device_id_get()
and sys_env_model_get().

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h
drivers/ddr/marvell/a38x/ddr3_init.c