X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=arch%2Farm%2Finclude%2Fasm%2Farch-mx6%2Fmx6-ddr.h;h=4717a9469d271991f72891f99319c0dc9d3a5071;hp=2a545c4fa0b08d07b8468f7ea9d1daa96705d37a;hb=cde758a8bec3c21e1cf653ce5803417a88a9e5d2;hpb=95c8053aa7d7657913fe0917e4b5ee30d939c67a diff --git a/arch/arm/include/asm/arch-mx6/mx6-ddr.h b/arch/arm/include/asm/arch-mx6/mx6-ddr.h index 2a545c4fa0..4717a9469d 100644 --- a/arch/arm/include/asm/arch-mx6/mx6-ddr.h +++ b/arch/arm/include/asm/arch-mx6/mx6-ddr.h @@ -9,21 +9,15 @@ #ifndef CONFIG_SPL_BUILD #ifdef CONFIG_SOC_MX6Q #include "mx6q-ddr.h" -#else -#if defined(CONFIG_SOC_MX6DL) || defined(CONFIG_SOC_MX6S) +#elif defined(CONFIG_SOC_MX6DL) || defined(CONFIG_SOC_MX6S) #include "mx6dl-ddr.h" -#else -#ifdef CONFIG_SOC_MX6SX +#elif defined(CONFIG_SOC_MX6SX) #include "mx6sx-ddr.h" -#else -#ifdef CONFIG_SOC_MX6UL +#elif defined(CONFIG_SOC_MX6UL) #include "mx6ul-ddr.h" #else #error "Please select cpu" -#endif /* CONFIG_SOC_MX6UL */ -#endif /* CONFIG_SOC_MX6SX */ -#endif /* CONFIG_SOC_MX6DL or CONFIG_SOC_MX6S */ -#endif /* CONFIG_SOC_MX6Q */ +#endif #else /* MMDC P0/P1 Registers */