diff --git a/hwconf.c b/hwconf.c index 1241122..f810dcc 100644 --- a/hwconf.c +++ b/hwconf.c @@ -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_32) } }, + { "clkDiv", HCF_RES_INT, { (void *)(QSPI_SCK_DIV_128) } }, { "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]} }, diff --git a/vxbLfsLib.c b/vxbLfsLib.c index 44d9de3..a3c8187 100644 --- a/vxbLfsLib.c +++ b/vxbLfsLib.c @@ -531,6 +531,9 @@ LOCAL void lfsDevShow(VXB_DEVICE_ID pDev, int verbose) printf(" read_size: %d\n", pDrvCtrl->lfsConfig.read_size); printf(" prog_size: %d\n", pDrvCtrl->lfsConfig.prog_size); printf(" block_size: %d\n", pDrvCtrl->lfsConfig.block_size); + printf(" flashOffset: 0x%x\n", pDrvCtrl->flashOffset); + printf(" partSize: 0x%x\n", pDrvCtrl->flashSize); + printf(" blkNum: 0x%x\n", pDrvCtrl->blkNum); if (pDrvCtrl->mtd) { printf(" flashChip: %s\n", pDrvCtrl->mtd->chipName); }