From: David Brownell Date: Wed, 30 Jul 2008 19:35:05 +0000 (-0700) Subject: [MTD] dataflash OTP support X-Git-Tag: v2.6.28-rc1~105^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a82443b79dcda4304b229d555586296da40c16;p=pandora-kernel.git [MTD] dataflash OTP support Now that we can tell when we have one of the newer DataFlash chips, optionally expose the 128 bytes of OTP memory they provide. Tested on at45db642 revision B and D chips. Switch mtdchar over to a generic HAVE_MTD_OTP flag instead of adding another #ifdef for each type of chip whose driver has OTP support. Signed-off-by: David Brownell Cc: Bryan Wu Cc: Michael Hennerich Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- Reading git-diff-tree failed