commit | eedb60357cd1e5aa8076f2882f097f13e1b98207 | [log] [tgz] |
---|---|---|
author | Alex Hornung <alex@alexhornung.com> | Mon Feb 20 23:45:45 2012 +0000 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Feb 24 10:18:34 2012 +0800 |
tree | 34d9a7f605d4b002d7e7e4a400bda03be803bfb9 | |
parent | fe832a0dba8efe39e3215a99e0c7247b8bef3e8e [diff] |
nios2 - adjust gbl data off to account for bd_info * Adjust the GBL_DATA_OFFSET to account for the fact that we'll be using the space between that offset and the start of the malloc region to allocate both a gd structure and a board info structure. * This fixes a memory corruption bug due to overlap of the malloc region and the bd_info structure. Signed-off-by: Alex Hornung <alex@alexhornung.com> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>