mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
drivers: rk_nand: support spectek L84C/L84D/L05B NAND FLASH
1. support spectek L84C/L84D/L05B NAND FLASH 2. support SKhynix 16nm 4GB NAND FLASH 3. support upgrade loader by write idb data to lba 64 Change-Id: Ie0296622d8ad13f2f4282b1b7726a5c699164e67 Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This commit is contained in:
parent
d596425525
commit
6e708ed708
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -633,6 +633,13 @@ static int nand_remove_dev(struct nand_blk_dev *dev)
|
|||
|
||||
int nand_blk_add_whole_disk(void)
|
||||
{
|
||||
struct nand_part part;
|
||||
|
||||
part.offset = 0;
|
||||
part.size = rk_ftl_get_capacity();
|
||||
part.type = 0;
|
||||
strncpy(part.name, "rknand", sizeof(part.name));
|
||||
nand_add_dev(&mytr, &part);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user