]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
overo: Fix regression introduced in a6b541b
authorArun Bharadwaj <arun@gumstix.com>
Tue, 28 Apr 2015 23:55:30 +0000 (16:55 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:38:43 +0000 (22:38 +0200)
commit6266d052423b5198d052acf0ea2d984175bcc66f
treeceec92c60b023163e93fce430f8f3b7c7b83d199
parent3d7d04e60afe9a656ac8cd68e9f34bd15ad5668f
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