[adm5120] more generic handling of Macronix flash chips, fix #2008