mpc5200, mucmc52, uc101: config cleanup
PATCH v4 1/2 mpc5200, mucmc52, uc101: config cleanup
- as this boards are similiar, collect common config option in manroland/common.h and manroland/mpc52xx-common.h for mpc5200 specific common options for this manufacturer.
- add OF support
- update default environment
---
- changes since v1:
added suggestion from Detlev Zundel, to collect mpc52xx specific config options in manroland-mpc52xx-common.h
- changes since v2:
as discussed with Wolfgang and Detlev, moved the manroland common headers in include/configs/manroland
- changes since v3:
add possibility to set loglevel in default environment
board/mucmc52/mucmc52.c | 7 + board/uc101/uc101.c | 7 + include/configs/manroland/common.h | 141 +++++++++++++++ include/configs/manroland/mpc5200-common.h | 229 ++++++++++++++++++++++++ include/configs/mucmc52.h | 257 +-------------------------- include/configs/uc101.h | 267 ++-------------------------- 6 files changed, 404 insertions(+), 504 deletions(-) create mode 100644 include/configs/manroland/common.h create mode 100644 include/configs/manroland/mpc5200-common.h
board/mucmc52/mucmc52.c +7 -0
@@ -398,3 +398,10 @@ void pci_init_board (void) pci_mpc5xxx_init (&hose); }#endif + +#if defined(CONFIG_OF_LIBFDT ) && defined(CONFIG_OF_BOARD_SETUP ) +void ft_board_setup (void *blob,bd_t *bd) +{ +ft_cpu_setup (blob, bd); +} +#endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */
board/uc101/uc101.c +7 -0
@@ -371,3 +371,10 @@ void hw_watchdog_reset(void) *(vu_long *)MPC5XXX_GPT0_ENABLE = GPT_OUT_0; }#endif + +#if defined(CONFIG_OF_LIBFDT ) && defined(CONFIG_OF_BOARD_SETUP ) +void ft_board_setup (void *blob,bd_t *bd) +{ +ft_cpu_setup (blob, bd); +} +#endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */
include/configs/manroland/common.h new file +141 -0
141 lines not on this page · raw message
include/configs/manroland/mpc5200-common.h new file +229 -0
229 lines not on this page · raw message
include/configs/mucmc52.h +9 -248
316 lines not on this page · raw message
include/configs/uc101.h +11 -256
329 lines not on this page · raw message
Signature · 5 lines
1.6.0.6 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Wolfgang Denk
AppliedPATCH v4 1/2 mpc5200, mucmc52, uc101: config cleanup
Dear Heiko Schocher,
Quoted 20 lines · In message <[email protected]> you wrote:
- as this boards are similiar, collect common config option in
manroland/common.handmanroland/mpc52xx-common.hfor mpc5200 specific common options for this manufacturer.
- add OF support
- update default environmentSigned-off-by Heiko Schocher <[email protected]>---
- changes since v1:
added suggestion from Detlev Zundel, to collect mpc52xx specific config options inmanroland-mpc52xx-common.h- changes since v2:
as discussed with Wolfgang and Detlev, moved the manroland common headers ininclude/configs/manroland- changes since v3:
add possibility to set loglevel in default environment
Quoted 9 lines
board/mucmc52/mucmc52.c | 7 + board/uc101/uc101.c | 7 + include/configs/manroland/common.h | 141 +++++++++++++++ include/configs/manroland/mpc5200-common.h | 229 ++++++++++++++++++++++++ include/configs/mucmc52.h | 257 +-------------------------- include/configs/uc101.h | 267 ++-------------------------- 6 files changed, 404 insertions(+), 504 deletions(-) create mode 100644 include/configs/manroland/common.h create mode 100644 include/configs/manroland/mpc5200-common.h
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Oh dear, I think you'll find reality's on the blink again." - Marvin The Paranoid Android