Something went wrong on our end
-
Haavard Skinnemoen authored
The ATSTK1000-specific flash driver intializes bi_flashstart, bi_flashsize and bi_flashoffset, but other flash drivers, like the CFI driver, don't. Initialize these in board_init_r instead so that things will still be set up correctly when we switch to the CFI driver. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
Haavard Skinnemoen authoredThe ATSTK1000-specific flash driver intializes bi_flashstart, bi_flashsize and bi_flashoffset, but other flash drivers, like the CFI driver, don't. Initialize these in board_init_r instead so that things will still be set up correctly when we switch to the CFI driver. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>