]> git.ipfire.org Git - people/ms/u-boot.git/commit
overo: Fix regression introduced in a6b541b
authorArun Bharadwaj <arun@gumstix.com>
Tue, 28 Apr 2015 23:55:30 +0000 (16:55 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 10 May 2015 13:58:44 +0000 (09:58 -0400)
commit2a3c25d24240d5e3ee660f0875e755a457b5117e
tree6f8d3a092704b46610ab31b5a3461beeab8ba907
parentfe5d488fbef192188bcddb8774154bd5527e468b
overo: Fix regression introduced in a6b541b

U-Boot has been broken on Overo boards since commit
a6b541b09022acb6f7c2754100ae26bd44eed1d9.

This is because the gd pointer is not set early enough anymore,
such that the i2c_set_bus_num in get_board_revision can safely
execute. This results in a console hang at SPL and the boot does
not proceed.

This piece of code is anyway necessary only for really old Overo
boards with revision numbers <= 2410 and not required for the newer
boards. For these older boards, u-boot v2014.10 still works fine.

Signed-off-by: Arun Bharadwaj <arun@gumstix.com>
board/overo/common.c