|
|
@ -248,7 +248,7 @@ struct vxbSpiDevInfo qspiDevTbl[] = { |
|
|
|
struct hcfResource qspiResources[] = { |
|
|
|
{ "regBase", HCF_RES_INT, { (void *)(0x28014000) } }, |
|
|
|
{ "capacity", HCF_RES_INT, { (void *)(QSPI_FLASH_CAP_32MB) } }, |
|
|
|
{ "clkDiv", HCF_RES_INT, { (void *)(QSPI_SCK_DIV_128) } }, |
|
|
|
{ "clkDiv", HCF_RES_INT, { (void *)(QSPI_SCK_DIV_32) } }, |
|
|
|
{ "transMode", HCF_RES_INT, { (void *)(QSPI_TRANSFER_1_1_1) } }, |
|
|
|
{ "addrMode", HCF_RES_INT, { (void *)(QSPI_ADDR_SEL_4) } }, |
|
|
|
{ "spiDev", HCF_RES_ADDR, { (void *)&qspiDevTbl[0]} }, |
|
|
@ -518,7 +518,6 @@ struct hcfResource lfsResources[] = { |
|
|
|
{ "mountPoint" , HCF_RES_STRING, {(void *)TFFS_FLASH_MOUNT_POINTOT}}, |
|
|
|
{ "flashName" , HCF_RES_STRING, {(void *)TFFS_PART0_FLASH_NAME}}, |
|
|
|
{ "flashOffset", HCF_RES_INT, {(void *)(TFFS_PART0_FLASH_BOOT_SIZE)}}, |
|
|
|
{ "flashSize" , HCF_RES_INT, {(void *)((TFFS_PART0_FLASH_SIZE) - (TFFS_PART0_FLASH_BOOT_SIZE))}}, |
|
|
|
{ "autoFormat", HCF_RES_INT, {(void *)(1)}}, |
|
|
|
}; |
|
|
|
#define lfsResNum NELEMENTS(lfsResources) |
|
|
|