MTD: Convert Atmel PRI information to AMD format
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 9 Aug 2006 08:54:44 +0000 (10:54 +0200)
committerJosh Boyer <jwboyer@gmail.com>
Thu, 17 Aug 2006 01:13:06 +0000 (20:13 -0500)
commit5b0c5c2c0d04c29f85abb485378ba5476c7aeec2
treec83b1e4f3947b23c24b6cacb2cc1ac8f2f0cd012
parent0b6c0bb3f9621b128011bcd5f65047c73afdde3b
MTD: Convert Atmel PRI information to AMD format

Atmel flash chips don't have PRI information in the same format as
AMD flash chips. This patch installs a fixup for all Atmel chips that
converts the relevant PRI fields into AMD format.

Only the fields that are actually used by the command set is actually
converted. The rest are initialized to zero (which should be safe)

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
drivers/mtd/chips/cfi_cmdset_0002.c
include/linux/mtd/cfi.h