一、SBL阶段
代码流程如下:
boot_images\core\storage\flash\src\dal\flash_nand_init.c
nand_probe
->nand_intialize_primary_hal_device
->>nand_get_device_list_supported
boot_images\core\storage\flash\src\dal\flash_nand_config.c
->>>flash_nand_get_configs
->>>>support_nand_cfgs
support_nand_cfgs
中需要关注supported_nand_devices
,它是nand flash支持列表,以ESMT为例&