Move the luns field to the end of the struct, for serendipitous packing.
(I was supposed to do this before committing it initially.)
This commit is contained in:
parent
3d4d08a4a0
commit
97c1344519
@ -236,7 +236,6 @@ struct onfi_params {
|
||||
CTASSERT(sizeof(struct onfi_params) == 256);
|
||||
|
||||
struct onfi_chip_params {
|
||||
uint8_t luns;
|
||||
uint32_t blocks_per_lun;
|
||||
uint32_t pages_per_block;
|
||||
uint32_t bytes_per_page;
|
||||
@ -247,6 +246,7 @@ struct onfi_chip_params {
|
||||
uint16_t t_ccs;
|
||||
uint16_t features;
|
||||
uint8_t address_cycles;
|
||||
uint8_t luns;
|
||||
};
|
||||
|
||||
struct nand_ecc_data {
|
||||
|
Loading…
x
Reference in New Issue
Block a user