commit | f6fcbbd6f7fbba32b57d588371759c09bfd8c4c3 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Nov 05 03:56:57 2011 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Fri Dec 09 17:30:09 2011 +0100 |
tree | 86fa147b274f3957f94e0db04e8c48f7e9313c73 | |
parent | 0234c34a37f68e803b7008f1525685088e89826f [diff] |
tegra2: Don't use board pointer before it is set up In board_init_f() the gd->bd pointer is not valid when dram_init() is called. This only avoids dying because DRAM is at zero on Tegra2. The common ARM routine sets up the banks in the same way anyway, so we can just remove this code. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>