Skip to content
Snippets Groups Projects
user avatar
Peter Barada authored
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: default avatarPeter Barada <peter.barada@logicpd.com>
Tested-by: default avatarWolfgang Denk <wd@denx.de>
c81c1222
History
Name Last commit Last update
..