From: Michal Simek Date: Wed, 11 Jul 2018 10:13:19 +0200 Subject: [U-Boot] [PATCH v1 2/6] microblaze: Guard do_reset by CONFIG_SYSRESET In-Reply-To: <20180629215143.3975-3-yesshedi@gmail.com> References: <20180629215143.3975-1-yesshedi@gmail.com> <20180629215143.3975-3-yesshedi@gmail.com> Message-ID: <668652e7-e8f0-0740-11da-9bef15de08d7@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 29.6.2018 23:51, Shreenidhi Shedi wrote: > Signed-off-by: Shreenidhi Shedi > --- > > Changes in v1: None > > board/xilinx/microblaze-generic/microblaze-generic.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c > index 58ca1d715d..fb89276c4f 100644 > --- a/board/xilinx/microblaze-generic/microblaze-generic.c > +++ b/board/xilinx/microblaze-generic/microblaze-generic.c > @@ -58,6 +58,7 @@ int dram_init(void) > return 0; > }; > > +#if !defined(CONFIG_SYSRESET) || defined(CONFIG_SPL_BUILD) > int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > { > #ifndef CONFIG_SPL_BUILD > @@ -76,6 +77,7 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > > return 0; > } > +#endif /* !CONFIG_SYSRESET || CONFIG_SPL_BUILD */ > > static int gpio_init(void) > { > This is also in my queue already that's why ignoring it. M