mx7_common: Put early/late init configs into board file
Subsystems (2)
Fabio Estevam
reviewerPATCH v2 1/2 mx7_common: Put early/late init configs into board file
From: Fabio Estevam <[email protected]>
CONFIG_BOARD_EARLY_INIT_F and CONFIG_BOARD_LATE_INIT should not be placed into mx7_common because not all boards need these options.
Move them to the board file instead.
---
Changes since v1:
- None
include/configs/mx7_common.h | 3 --- include/configs/mx7dsabresd.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-)
include/configs/mx7_common.h +0 -3
@@ -32,9 +32,6 @@/* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M) -#define CONFIG_BOARD_EARLY_INIT_F -#define CONFIG_BOARD_LATE_INIT -#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO
include/configs/mx7dsabresd.h +3 -0
@@ -14,6 +14,9 @@#define CONFIG_DBG_MONITOR #define PHYS_SDRAM_SIZE SZ_1G +#define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_BOARD_LATE_INIT +/* Uncomment to enable secure boot support */ /* #define CONFIG_SECURE_BOOT */ #define CONFIG_CSF_SIZE 0x4000
Signature · 1 line
1.9.1
Fabio Estevam
reviewerPATCH v2 2/2 warp7: Add initial support
From: Fabio Estevam <[email protected]>
Add the basic support for Warp7 board.
For more information about this reference design, please visit:
---
Changes since v1:
- Select MX7D in the Kconfig (Peng)
arch/arm/cpu/armv7/mx7/Kconfig | 7 ++ board/warp7/Kconfig | 9 +++ board/warp7/MAINTAINERS | 6 ++ board/warp7/Makefile | 6 ++ board/warp7/imximage.cfg | 95 ++++++++++++++++++++++++++ board/warp7/warp7.c | 102 ++++++++++++++++++++++++++++ configs/warp7_defconfig | 12 ++++ include/configs/warp7.h | 149 +++++++++++++++++++++++++++++++++++++++++ 8 files changed, 386 insertions(+) create mode 100644 board/warp7/Kconfig create mode 100644 board/warp7/MAINTAINERS create mode 100644 board/warp7/Makefile create mode 100644 board/warp7/imximage.cfg create mode 100644 board/warp7/warp7.c create mode 100644 configs/warp7_defconfig create mode 100644 include/configs/warp7.h
arch/arm/cpu/armv7/mx7/Kconfig +7 -0
@@ -18,11 +18,18 @@ config TARGET_MX7DSABRESD select DM select DM_THERMAL +config TARGET_WARP7 + bool "warp7" + select MX7D + select DM + select DM_THERMAL + endchoice config SYS_SOC default "mx7" source "board/freescale/mx7dsabresd/Kconfig" +source "board/warp7/Kconfig" endif
board/warp7/Kconfig new file +9 -0
@@ -0,0 +1,9 @@ +if TARGET_WARP7 + +config SYS_BOARD + default "warp7" + +config SYS_CONFIG_NAME + default "warp7" + +endif
board/warp7/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +WARP7 BOARD +M: Fabio Estevam <[email protected]> +S: Maintained +F: board/warp7/ +F: include/configs/warp7.h +F: configs/warp7_defconfig
board/warp7/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# (C) Copyright 2016 NXP Semiconductors +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y := warp7.o
board/warp7/imximage.cfg new file +95 -0
95 lines not on this page · raw message
board/warp7/warp7.c new file +102 -0
102 lines not on this page · raw message
configs/warp7_defconfig new file +12 -0
@@ -0,0 +1,12 @@ +CONFIG_ARM=y +CONFIG_ARCH_MX7=y +CONFIG_TARGET_WARP7=y +CONFIG_IMX_RDC=y +CONFIG_IMX_BOOTAUX=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/warp7/imximage.cfg" +# CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_IMI is not set +# CONFIG_CMD_IMLS is not set +# CONFIG_CMD_XIMG is not set +CONFIG_CMD_GPIO=y +# CONFIG_CMD_SETEXPR is not set
include/configs/warp7.h new file +149 -0
149 lines not on this page · raw message
Signature · 1 line
1.9.1
Fabio Estevam
reviewerPATCH v2 2/2 warp7: Add initial support
Hi Stefano,
Quoted 10 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Add the basic support for Warp7 board.
For more information about this reference design, please visit:
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Peng Fan <[email protected]>
Do you think we could get the support for this new board into 2016.03?
Thanks
PATCH v2 2/2 warp7: Add initial support
Hi Fabio,
Quoted 7 lines · Fabio Estevam
Hi Stefano,
Quoted 4 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Add the basic support for Warp7 board.
Quoted 8 lines
Quoted 6 lines
For more information about this reference design, please visit:
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Peng Fan <[email protected]>Do you think we could get the support for this new board into 2016.03?
Really I have postponed to -next. As we have now two month cycle release, the merge window becomes more strictly and I will try to not let flow patches that are not fixes after window is closed.
Regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
Fabio Estevam
reviewerPATCH v2 2/2 warp7: Add initial support
Quoted 3 lines · Stefano Babic
Really I have postponed to -next. As we have now two month cycle release, the merge window becomes more strictly and I will try to not let flow patches that are not fixes after window is closed.
It makes sense. Just wanted to confirm, thanks.
Fabio Estevam
reviewerPATCH v2 2/2 warp7: Add initial support
In reply to Stefano BabicHi Stefano,
Quoted 3 lines · Stefano Babic
Really I have postponed to -next. As we have now two month cycle release, the merge window becomes more strictly and I will try to not let flow patches that are not fixes after window is closed.
Could this series go into your -next tree then? I would like to submit other patches for warp7.
Thanks
PATCH v2 2/2 warp7: Add initial support
Quoted 10 lines · Fabio Estevam
Hi Stefano,
Quoted 3 lines · Stefano Babic
Really I have postponed to -next. As we have now two month cycle release, the merge window becomes more strictly and I will try to not let flow patches that are not fixes after window is closed.
Could this series go into your -next tree then? I would like to submit other patches for warp7.
Yes, I pick them up.
Regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
Fabio Estevam
reviewerPATCH v2 2/2 warp7: Add initial support
Hi Stefano,
Quoted 4 lines · Stefano Babic
Quoted 2 lines
Could this series go into your -next tree then? I would like to submit other patches for warp7.
Yes, I pick them up.
I see the warp7 commit in your -next branch, but not in u-boot-imx master.
Do you plan to apply it to u-boot.imx master?
Thanks