From: Tom Rini Date: Thu, 1 Feb 2018 15:43:56 -0500 Subject: [U-Boot] [PATCH] Remove more checks for CONFIG_SYS_TEXT_BASE being set In-Reply-To: <20180201172059.26531-1-abrodkin@synopsys.com> References: <20180201172059.26531-1-abrodkin@synopsys.com> Message-ID: <20180201204356.GM4297@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 01, 2018 at 08:20:59PM +0300, Alexey Brodkin wrote: > Now when Blackfin is gone CONFIG_SYS_TEXT_BASE is supposed to be > set for each and every board which makes checks for this macro being set > completely redundant. > > Note there're still checks for CONFIG_SYS_TEXT_BASE in quite a few board > configurations in "include/configs/XXX.h" which at some point might be > cleaned-up too. > > But at least sources are clean now. > > Signed-off-by: Alexey Brodkin > Cc: Masahiro Yamada > Cc: Tom Rini Reviewed-by: Tom Rini > @@ -620,7 +616,6 @@ static int setup_reloc(void) > return 0; > } > > -#ifdef CONFIG_SYS_TEXT_BASE > #ifdef ARM > gd->reloc_off = gd->relocaddr - (unsigned long)__image_copy_start; > #elif defined(CONFIG_M68K) Follow up that I should do, if no one else does, is remove this 'ifdef ARM' hunk. That's not set now. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: