From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Mon, 29 Feb 2016 13:06:40 +0800 Subject: [U-Boot] [PATCH 1/2] mx7_common: Put early/late init configs into board file In-Reply-To: <1456510570-10910-1-git-send-email-festevam@gmail.com> References: <1456510570-10910-1-git-send-email-festevam@gmail.com> Message-ID: <20160229050638.GB19615@linux-7smt.suse> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Feb 26, 2016 at 03:16:09PM -0300, Fabio Estevam wrote: >From: Fabio Estevam > >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. > >Signed-off-by: Fabio Estevam >--- > include/configs/mx7_common.h | 3 --- > include/configs/mx7dsabresd.h | 3 +++ > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h >index fac7c3f..a78fc7c 100644 >--- a/include/configs/mx7_common.h >+++ b/include/configs/mx7_common.h >@@ -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 > >diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h >index 2c981e0..d233572 100644 >--- a/include/configs/mx7dsabresd.h >+++ b/include/configs/mx7dsabresd.h >@@ -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 Reviewed-by: Peng Fan >-- >1.9.1 > >_______________________________________________ >U-Boot mailing list >U-Boot at lists.denx.de >http://lists.denx.de/mailman/listinfo/u-boot