diff options
author | Christian Eggers <ceggers@gmx.de> | 2014-02-08 18:27:45 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-21 16:06:13 (GMT) |
commit | 9c89614d3f1ea510d7fcb4a2b438fb3e0d58392c (patch) | |
tree | dc7e220d293d6834162bdd8d4ed5098dbe7fe71b /drivers/ddr/fsl/util.c | |
parent | 1cb8393a1363bdc15946ef5b0b20bd10717daa74 (diff) | |
download | u-boot-9c89614d3f1ea510d7fcb4a2b438fb3e0d58392c.tar.xz |
common: Remove invalid endianess conversion
do_bootm_standanlone() calls ntohl(images->ep) which is wrong because
endianess conversion has already been done:
do_bootm()
\-do_bootm_states()
+-bootm_find_os()
| \-images.ep = image_get_ep();
| \-uimage_to_cpu(hdr->ih_ep);
\-boot_selected_os()
\-do_bootm_standanlone()
Without this conversion the code works correctly at least on AT91SAM9G45.
On big endian systems there should be no difference after applying this
patch because uimage_to_cpu(x) and ntohl(x) both expand to 'x'.
Signed-off-by: Christian Eggers <ceggers@gmx.de>
Diffstat (limited to 'drivers/ddr/fsl/util.c')
0 files changed, 0 insertions, 0 deletions