pxa3xx_nand: Add Samsung512MbX8
Subsystems (2)
PATCH 1/1 pxa3xx_nand: Add Samsung512MbX8
Add definitions of Samsung512MbX8 flashes
Signed-off-by Mike Rapoport <[email protected]>
drivers/mtd/nand/pxa3xx_nand.c | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-)
drivers/mtd/nand/pxa3xx_nand.c +24 -0
@@ -291,10 +291,34 @@ static struct pxa3xx_nand_flash micron1GbX16 = { .chip_id = 0xb12c, }; +static struct pxa3xx_nand_timing samsung512MbX8_timing = { + .tCH =25 , + .tCS =44 , + .tWH =32 , + .tWP =44 , + .tRH =32 , + .tRP =44 , + .tR =25000 , + .tWHR =96 , + .tAR =25 , +}; + +static struct pxa3xx_nand_flash samsung512MbX8 = { + .timing = &samsung512MbX8_timing, + .cmdset = &largepage_cmdset, + .page_per_block =64 , + .page_size =2048 , + .flash_width =8 , + .dfc_width =8 , + .num_blocks =4096 , + .chip_id =0xdcec , +}; +static struct pxa3xx_nand_flash *builtin_flash_types[] = { &samsung512MbX16, µn1GbX8, µn1GbX16, + &samsung512MbX8, };#define NDTR0_tCH (c) (min((c), 7) << 19)
Signature · 2 lines
Sincerely yours, Mike.
Quoted 3 lines · Mike Rapoport
Add definitions of Samsung512MbX8 flashes
Signed-off-by Mike Rapoport <[email protected]>
Acked-by Eric Miao <[email protected]>