Ignore:
Timestamp:
05/24/23 19:53:58 (6 months ago)
Author:
Kinsey Moore <kinsey.moore@…>
Branches:
master
Children:
ea27ada
Parents:
7a14c3df
git-author:
Kinsey Moore <kinsey.moore@…> (05/24/23 19:53:58)
git-committer:
Joel Sherrill <joel@…> (06/08/23 14:48:44)
Message:

bsps/xqspipsu: Use device information from the FCT

Instead of statically defining the device parameters, use the device
information available via the NOR device layer's Flash Configuration
Table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/include/dev/spi/xqspipsu-flash-helper.h

    r7a14c3df r09fd5dd3  
    132132  u8 *ReadBfrPtr
    133133);
     134
     135/*****************************************************************************/
     136/**
     137 *
     138 * This function returns the size of attached flash parts.
     139 *
     140 * @param       QspiPsuPtr is a pointer to the QSPIPSU driver component to use.
     141 *
     142 * @return      The size of attached flash in bytes.
     143 *
     144 ******************************************************************************/
     145u32 QspiPsu_NOR_Get_Device_Size(XQspiPsu *QspiPsuPtr);
     146
     147/*****************************************************************************/
     148/**
     149 *
     150 * This function returns the sector size of attached flash parts.
     151 *
     152 * @param       QspiPsuPtr is a pointer to the QSPIPSU driver component to use.
     153 *
     154 * @return      The sector size of attached flash in bytes.
     155 *
     156 ******************************************************************************/
     157u32 QspiPsu_NOR_Get_Sector_Size(XQspiPsu *QspiPsuPtr);
Note: See TracChangeset for help on using the changeset viewer.