[U-Boot] [PATCH] Remove more checks for CONFIG_SYS_TEXT_BASE being set
Tom Rini
trini at konsulko.com
Thu Feb 1 20:43:56 UTC 2018
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 <abrodkin at synopsys.com>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Cc: Tom Rini <trini at konsulko.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
> @@ -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: <http://lists.denx.de/pipermail/u-boot/attachments/20180201/c277cf39/attachment.sig>
More information about the U-Boot
mailing list