[U-Boot] [PATCH 0/2] i.MX31PDK: Move CONFIG_MX31* to Kconfig

Magnus Lilja lilja.magnus at gmail.com
Fri May 11 12:06:53 UTC 2018


Refresh i.MX31 and i.MX31PDK support in U-boot by moving some CONFIG_MX31*
settings to Kconfig options.

Boots nicely on actual hardware.

Applies to tip of tree of the main U-boot branch, please advice if I should
rebase on top of another tree.

Regarding compiling and booting: I had to compile U-boot with an old
GCC v5 compiler in order to get it to boot. Seems like either something
is broken with newer GCC or (more likely) something is broken in the
U-boot code when using GCC >= 6 for the ARM1136/i.MX31PDK.

Magnus Lilja (2):
  mx31pdk: Convert CONFIG_MX31 flag to use Kconfig.
  mx31: Convert MX31_HCLK_FREQ and MX31_CLK32 to Kconfig.

 arch/arm/Kconfig                       | 14 +++++------
 arch/arm/include/asm/arch-mx31/clock.h |  8 ------
 arch/arm/mach-imx/mx3/Kconfig          | 34 ++++++++++++++++++++++++++
 configs/mx31pdk_defconfig              |  3 ++-
 include/configs/mx31pdk.h              |  2 --
 5 files changed, 42 insertions(+), 19 deletions(-)
 create mode 100644 arch/arm/mach-imx/mx3/Kconfig

-- 
2.17.0



More information about the U-Boot mailing list