commit | 4aa32fb8f4b2921cca6e17716d7ad8a7a30f192a | [log] [tgz] |
---|---|---|
author | Amaury Pouly <amaury.pouly@gmail.com> | Tue Oct 22 15:55:28 2013 +0200 |
committer | Amaury Pouly <amaury.pouly@gmail.com> | Tue Oct 22 15:55:28 2013 +0200 |
tree | bfe0747973862191374cd44d7ffd8e9217264388 | |
parent | 51ed6da0b1a79b86e3e41eed3b6671eadb0081a6 [diff] |
imx233: fix partition window computation The code was broken in two ways: - it called storage_read_sectors with a wrong drive number - calling storage_read_sectors too early at boot time will fail because we are in the init function, so the drive is not yet registered. To fix this, use a user provided read callback instead of storage read functions. Change-Id: I5ab79d48391fae619d5f8ae09c3d499fc43854c8