nios2: BSS should be cleared only after board_init_f
authorThomas Chou <thomas@wytron.com.tw>
Mon, 7 Sep 2015 00:57:14 +0000 (08:57 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:28:37 +0000 (07:28 +0800)
commit4192b8c35851afd2ac0731b851711fc12ffe888d
treebb66ea99156c693a7f0dc2ad9bd548e1318dd34a
parentb6c180928c3c7c9efbdc5eb1b468c450c877abdf
nios2: BSS should be cleared only after board_init_f

As dtb in u-boot-dtb.bin overlapped the BSS section,
we should delay the clearing of BSS until dtb is relocated
in board_init_f().

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
arch/nios2/cpu/start.S