]> git.sur5r.net Git - openocd/commit
flash/nor/cfi: fix TopBottom for atmel chips
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 12 Jul 2011 10:38:22 +0000 (12:38 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Aug 2011 18:19:37 +0000 (20:19 +0200)
commit6e5c37be29cdefc0ea2de6d06866811bc7e44cbd
treed414a8c628819fd90bdb8bd15280ae466d84d078
parent7d2bf8805df5ec9f108758188e85f2d355f720c4
flash/nor/cfi: fix TopBottom for atmel chips

There are some older atmel nor chips which have negated logic for
TopBottom detection. This patch adds a special handling for the old
chips. This is the same mechanism as implemented in linux kernel.

Signed-off-by: Andreas Bießmann <andreas.devel@gmail.com>
src/flash/nor/cfi.c