aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx6/ddr.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-01-03 12:33:05 -0200
committerStefano Babic <sbabic@denx.de>2018-01-04 16:29:04 +0100
commit290e7cfdbfa288d26598c073186ab45e3fa711b3 (patch)
treeeecd827a87b3f18a30048c883e5939bec7462014 /arch/arm/mach-imx/mx6/ddr.c
parent5a6440cac77db8083aa9b7f260e0ff3e994e7834 (diff)
downloadu-boot-290e7cfdbfa288d26598c073186ab45e3fa711b3.zip
u-boot-290e7cfdbfa288d26598c073186ab45e3fa711b3.tar.gz
u-boot-290e7cfdbfa288d26598c073186ab45e3fa711b3.tar.bz2
mx6ull: Handle the CONFIG_MX6ULL cases correctly
Since commit 051ba9e082f7 ("Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL") CONFIG_MX6ULL does not select CONFIG_MX6UL anymore, so take this into consideration in all the checks for CONFIG_MX6UL. This fixes a boot regression. Reported-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Stefan Agner <stefan@agner.ch> Tested-by: Breno Lima <breno.lima@nxp.com> Tested-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Tested-by: Jörg Krause <joerg.krause@embedded.rocks>
Diffstat (limited to 'arch/arm/mach-imx/mx6/ddr.c')
-rw-r--r--arch/arm/mach-imx/mx6/ddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mx6/ddr.c b/arch/arm/mach-imx/mx6/ddr.c
index 0cf391e..52a9a25 100644
--- a/arch/arm/mach-imx/mx6/ddr.c
+++ b/arch/arm/mach-imx/mx6/ddr.c
@@ -631,7 +631,7 @@ void mx6sx_dram_iocfg(unsigned width,
}
#endif
-#ifdef CONFIG_MX6UL
+#if defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)
void mx6ul_dram_iocfg(unsigned width,
const struct mx6ul_iomux_ddr_regs *ddr,
const struct mx6ul_iomux_grp_regs *grp)