[U-Boot] [PATCH 0/8] m68k: stop grepping and refactor CPU flags

Masahiro Yamada yamada.masahiro at socionext.com
Fri Mar 27 09:01:05 CET 2015


arch/m68k/cpu/mcf52x2/config.mk
arch/m68k/cpu/mcf530x/config.mk
arch/m68k/cpu/mcf532x/config.mk

are not very nice.  They use "grep" to decide the CPU type.
They can be tidied up by moving the CPU type CONFIGs to Kconfig.

I built all the M68k boards and compared MD5SUM for each of them.
I confirmed this series still produces the same output binaries.



Masahiro Yamada (8):
  m68k: mcf52x2: move CPU type to Kconfig and refactor config.mk
  m68k: mcf530x: move CPU type to Kconfig and refactor config.mk
  m68k: mcf532x: move CPU type to Kconfig and refactor config.mk
  m68k: mcf5445x: move CPU type to Kconfig and refactor config.mk
  m68k: mcf5227x: move CPU type to Kconfig and refactor config.mk
  m68k: mcf523x: move CPU type to Kconfig and refactor config.mk
  m68k: mcf547x_8x: move CPU type to Kconfig and refactor config.mk
  m68k: merge per-CPU config.mk into arch/m68k/Makefile

 arch/m68k/Kconfig                  | 129 +++++++++++++++++++++++++++++++++++++
 arch/m68k/Makefile                 |  29 +++++++++
 arch/m68k/cpu/mcf5227x/config.mk   |  10 ---
 arch/m68k/cpu/mcf523x/config.mk    |  10 ---
 arch/m68k/cpu/mcf52x2/config.mk    |  39 -----------
 arch/m68k/cpu/mcf530x/config.mk    |  12 ----
 arch/m68k/cpu/mcf532x/config.mk    |  19 ------
 arch/m68k/cpu/mcf5445x/config.mk   |  25 -------
 arch/m68k/cpu/mcf547x_8x/config.mk |  16 -----
 include/configs/M5208EVBE.h        |   3 -
 include/configs/M52277EVB.h        |   2 -
 include/configs/M5235EVB.h         |   2 -
 include/configs/M5249EVB.h         |   3 -
 include/configs/M5253DEMO.h        |   2 -
 include/configs/M5253EVBE.h        |   2 -
 include/configs/M5272C3.h          |   3 -
 include/configs/M5275EVB.h         |   2 -
 include/configs/M5282EVB.h         |   3 -
 include/configs/M53017EVB.h        |   2 -
 include/configs/M5329EVB.h         |   2 -
 include/configs/M5373EVB.h         |   2 -
 include/configs/M54418TWR.h        |   2 -
 include/configs/M54451EVB.h        |   2 -
 include/configs/M54455EVB.h        |   2 -
 include/configs/M5475EVB.h         |   3 -
 include/configs/M5485EVB.h         |   3 -
 include/configs/amcore.h           |   3 -
 include/configs/astro_mcf5373l.h   |  10 ---
 include/configs/cobra5272.h        |  10 ---
 include/configs/eb_cpu5282.h       |   3 -
 30 files changed, 158 insertions(+), 197 deletions(-)
 delete mode 100644 arch/m68k/cpu/mcf5227x/config.mk
 delete mode 100644 arch/m68k/cpu/mcf523x/config.mk
 delete mode 100644 arch/m68k/cpu/mcf52x2/config.mk
 delete mode 100644 arch/m68k/cpu/mcf530x/config.mk
 delete mode 100644 arch/m68k/cpu/mcf532x/config.mk
 delete mode 100644 arch/m68k/cpu/mcf5445x/config.mk
 delete mode 100644 arch/m68k/cpu/mcf547x_8x/config.mk

-- 
1.9.1



More information about the U-Boot mailing list