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
5 changed files with 26164 additions and 23832 deletions
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…
Add table
Add a link
Reference in a new issue