We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccfe847 commit 1d1793dCopy full SHA for 1d1793d
firmware/programmer/nand_programmer.c
@@ -117,6 +117,7 @@ typedef struct __attribute__((__packed__))
117
typedef struct __attribute__((__packed__))
118
{
119
np_cmd_t cmd;
120
+ uint8_t hal;
121
uint32_t page_size;
122
uint32_t block_size;
123
uint32_t total_size;
@@ -1091,6 +1092,7 @@ static int np_cmd_nand_conf(np_prog_t *prog)
1091
1092
np_fill_chip_info(conf_cmd, prog);
1093
np_print_chip_info(prog);
1094
1095
+ prog->hal = conf_cmd->hal;
1096
hal[prog->hal]->init(&prog->chip_info);
1097
1098
nand_bad_block_table_init();
0 commit comments