commit | 8736ca895ac80232cedc40859a1a8abf0ac63b40 | [log] [tgz] |
---|---|---|
author | Daniel Mentz <danielmentz@google.com> | Thu Dec 05 09:49:33 2013 -0800 |
committer | Daniel Mentz <danielmentz@google.com> | Thu Dec 05 09:49:33 2013 -0800 |
tree | 1c64154280549c3e7b57f3b6eb3301b9362682f5 | |
parent | a614d80f2e61a0b7e003f1046c80557d1f1a9d33 [diff] |
diags: ddr: Don't corrupt barebox text The DDR diags code used DRAM from 0 to 128 MB as scratch space. This caused barebox to crash because it corrupted its own text and data segment. Use the area between 256 and 512 MB instead. Also, return 0 (for success) from Comcerto_ddr_test() to avoid misleading error message. Change-Id: I581e5c5b5bc4adf1cc43d9a378888bff530a3cee