summaryrefslogtreecommitdiffstats
path: root/board/gaisler/grsim_leon2/u-boot.lds
diff options
context:
space:
mode:
authorPeter Barada <peter.barada@logicpd.com>2011-03-21 19:05:20 -0400
committerWolfgang Denk <wd@denx.de>2011-03-22 22:43:04 +0100
commitc81c1222427f268d29ba999c82e2477c428e7bab (patch)
tree18c778da5db8d12452a01abe4ef8316ecce7b77e /board/gaisler/grsim_leon2/u-boot.lds
parent5e987ddf855b959f1f112da49082e3c4235cef59 (diff)
downloadblackbird-obmc-uboot-c81c1222427f268d29ba999c82e2477c428e7bab.tar.gz
blackbird-obmc-uboot-c81c1222427f268d29ba999c82e2477c428e7bab.zip
Fix hash table deletion to prevent lost entries
Use negative used value to mark deleted entry. Search keeps probing past deleted entries. Adding an entry uses first deleted entry when it hits end of probe chain. Initially found that "ramdiskimage" and "preboot" collide modulus 347, causing "preboot" to be inserted at idx 190, "ramdiskimage" at idx 191. Previous to this fix when "preboot" is deleted, "ramdiskimage" is orphaned. Signed-off-by: Peter Barada <peter.barada@logicpd.com> Tested-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/gaisler/grsim_leon2/u-boot.lds')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud