Functions
BOOT Configuration Functions
Boot Configuration

Functions

CSL_IDEF_INLINE void CSL_BootCfgGetRevisionInfo (Uint32 *info)
CSL_IDEF_INLINE void CSL_BootCfgGetDeviceId (Uint32 *id)
CSL_IDEF_INLINE Bool CSL_BootCfgIsLittleEndian (void)
CSL_IDEF_INLINE Uint16 CSL_BootCfgGetBootMode (void)
CSL_IDEF_INLINE void CSL_BootCfgSetBootMode (Uint16 bootMode)
CSL_IDEF_INLINE void CSL_BootCfgUnlockKicker (void)
CSL_IDEF_INLINE void CSL_BootCfgLockKicker (void)
CSL_IDEF_INLINE Uint32 CSL_BootCfgGetDSPBootAddress (Uint8 coreIdx)
CSL_IDEF_INLINE void CSL_BootCfgSetDSPBootAddress (Uint8 coreIdx, Uint32 bootAddress)
CSL_IDEF_INLINE void CSL_BootCfgGetMacIdentifier (Uint32 *macId0, Uint32 *macId1)
CSL_IDEF_INLINE Bool CSL_BootCfgIsBootComplete (Uint8 coreIdx)
CSL_IDEF_INLINE void CSL_BootCfgSetBootComplete (Uint8 coreIdx)
CSL_IDEF_INLINE Uint32 CSL_BootCfgGetBootProgress (void)
CSL_IDEF_INLINE void CSL_BootCfgSetBootProgress (Uint32 bootProgress)
CSL_IDEF_INLINE Bool CSL_BootCfgIsCoreLocalReset (Uint8 coreIdx)
CSL_IDEF_INLINE void CSL_BootCfgClearLocalReset (Uint8 coreIdx)
CSL_IDEF_INLINE Bool CSL_BootCfgIsGlobalReset (void)
CSL_IDEF_INLINE void CSL_BootCfgClearGlobalReset (void)
CSL_IDEF_INLINE void CSL_BootCfgGetNMILocalResetStatus (Uint8 coreIdx, Uint8 *nmiStatus, Uint8 *localStatus)
CSL_IDEF_INLINE void CSL_BootCfgClearNMILocalResetStatus (Uint8 coreIdx, Uint8 nmiStatus, Uint8 localStatus)
CSL_IDEF_INLINE Bool CSL_BootCfgIsSysClockEnabled (void)
CSL_IDEF_INLINE void CSL_BootCfgEnableSysClock (void)
CSL_IDEF_INLINE void CSL_BootCfgDisableSysClock (void)
CSL_IDEF_INLINE void CSL_BootCfgGetPowerStatus (Uint8 *standby, Uint8 *hibernation, Uint8 *hibernationMode, Uint32 *generalPurpose)
CSL_IDEF_INLINE void CSL_BootCfgSetPowerStatus (Uint8 standby, Uint8 hibernation, Uint8 hibernationMode, Uint32 generalPurpose)
CSL_IDEF_INLINE void CSL_BootCfgGenerateNMIEvent (Uint8 coreNum)
CSL_IDEF_INLINE void CSL_BootCfgGenerateInterDSPInterrupt (Uint8 coreNum, Uint32 sourceId)
CSL_IDEF_INLINE Uint16 CSL_BootCfgGetTimerInputSelection (void)
CSL_IDEF_INLINE void CSL_BootCfgSetTimerInputSelection (Uint16 timerInput)
CSL_IDEF_INLINE void CSL_BootCfgGetTimerOutputSelection (Uint8 *timerOutputSel0, Uint8 *timerOutputSel1)
CSL_IDEF_INLINE void CSL_BootCfgSetTimerOutputSelection (Uint8 timerOutputSel0, Uint8 timerOutputSel1)
CSL_IDEF_INLINE void CSL_BootCfgGetResetMuxLockStatus (Uint8 coreIdx, Uint8 *lockStatus)
CSL_IDEF_INLINE void CSL_BootCfgSetResetMuxLockStatus (Uint8 coreIdx, Uint8 lockStatus)
CSL_IDEF_INLINE void CSL_BootCfgGetResetMuxOutputMode (Uint8 coreIdx, Uint8 *outputMode)
CSL_IDEF_INLINE void CSL_BootCfgSetResetMuxOutputMode (Uint8 coreIdx, Uint8 outputMode)
CSL_IDEF_INLINE void CSL_BootCfgGetResetMuxDelay (Uint8 coreIdx, Uint8 *delay)
CSL_IDEF_INLINE void CSL_BootCfgSetResetMuxDelay (Uint8 coreIdx, Uint8 delay)
CSL_IDEF_INLINE Bool CSL_BootCfgIsResetMuxEventDetected (Uint8 coreIdx)
CSL_IDEF_INLINE void CSL_BootCfgClearResetMuxEvent (Uint8 coreIdx)
CSL_IDEF_INLINE void CSL_BootCfgGetCOREPLLConfiguration (Uint32 *mainPLLConfig0, Uint32 *mainPLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgSetCOREPLLConfiguration (Uint32 mainPLLConfig0, Uint32 mainPLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgGetDDR3PLLConfiguration (Uint32 *ddr3APLLConfig0, Uint32 *ddr3APLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgSetDDR3PLLConfiguration (Uint32 ddr3APLLConfig0, Uint32 ddr3APLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgGetDDR3BPLLConfiguration (Uint32 *ddr3BPLLConfig0, Uint32 *ddr3BPLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgSetDDR3BPLLConfiguration (Uint32 ddr3BPLLConfig0, Uint32 ddr3BPLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgGetPAPLLConfiguration (Uint32 *paPLLConfig0, Uint32 *paPLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgSetPAPLLConfiguration (Uint32 paPLLConfig0, Uint32 paPLLConfig1)
CSL_IDEF_INLINE void CSL_BootCfgGetLEDPassDoneStatus (Uint8 coreIdx, Uint8 *pass, Uint8 *done, Uint8 *idle, Uint8 *waitLoop)
CSL_IDEF_INLINE void CSL_BootCfgSetLEDPassDoneStatus (Uint8 coreIdx, Uint8 pass, Uint8 done, Uint8 idle, Uint8 waitLoop)
CSL_IDEF_INLINE void CSL_BootCfgGetLEDPassDone1Status (Uint8 coreIdx, Uint8 *pass, Uint8 *done, Uint8 *idle, Uint8 *waitLoop)
CSL_IDEF_INLINE void CSL_BootCfgSetLEDPassDone1Status (Uint8 coreIdx, Uint8 pass, Uint8 done, Uint8 idle, Uint8 waitLoop)
CSL_IDEF_INLINE Bool CSL_BootCfgIsLEDPLLLocked (void)
CSL_IDEF_INLINE void CSL_BootCfgLockLEDPLL (void)
CSL_IDEF_INLINE void CSL_BootCfgUnlockLEDPLL (void)
CSL_IDEF_INLINE void CSL_BootCfgGetLEDChipPassDoneStatus (Uint8 *pass, Uint8 *done)
CSL_IDEF_INLINE void CSL_BootCfgSetLEDChipPassDoneStatus (Uint8 pass, Uint8 done)
CSL_IDEF_INLINE void CSL_BootCfgGetROMChecksum (Uint32 *romLSBChecksum, Uint32 *romMSBChecksum)
CSL_IDEF_INLINE void CSL_BootCfgGetCorePLLObservationClockControl (Uint8 *selection, Uint8 *enable)
CSL_IDEF_INLINE void CSL_BootCfgSetCorePLLObservationClockControl (Uint8 selection, Uint8 enable)
CSL_IDEF_INLINE void CSL_BootCfgGetDDR3BPLLObservationClockControl (Uint8 *enable)
CSL_IDEF_INLINE void CSL_BootCfgSetDDR3BPLLObservationClockControl (Uint8 enable)
CSL_IDEF_INLINE void CSL_BootCfgGetDDR3PLLObservationClockControl (Uint8 *selection, Uint8 *enable)
CSL_IDEF_INLINE void CSL_BootCfgSetDDR3PLLObservationClockControl (Uint8 selection, Uint8 enable)
CSL_IDEF_INLINE void CSL_BootCfgGetPAPLLObservationClockControl (Uint8 *selection, Uint8 *enable)
CSL_IDEF_INLINE void CSL_BootCfgSetPAPLLObservationClockControl (Uint8 selection, Uint8 enable)
CSL_IDEF_INLINE void CSL_BootCfgGetQMPriority (Uint8 *qmprio)
CSL_IDEF_INLINE void CSL_BootCfgSetQMPriority (Uint8 qmprio)
CSL_IDEF_INLINE Bool CSL_BootCfgIsMSMCParityResetBlocked (void)
CSL_IDEF_INLINE void CSL_BootCfgBlockMSMCParityReset (void)
CSL_IDEF_INLINE void CSL_BootCfgUnblockMSMCParityReset (void)

Function Documentation

CSL_IDEF_INLINE void CSL_BootCfgBlockMSMCParityReset ( void  )

============================================================================
CSL_BootCfgBlockMSMCParityReset

Description
The function enables the MSMC Parity RAM block bit, thus preventing the MSMC parity RAM from being reset.

Arguments
None

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_CHIP_MISC_CHIP_MISC_MSMC_BLOCK_PARITY_RST=1

Example


        // Block MSMC parity RAM from reset
        CSL_BootCfgBlockMSMCParityReset();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgClearGlobalReset ( void  )

============================================================================
CSL_BootCfgClearGlobalReset

Description
The function is used to clear the global reset state of the specified core

Arguments

        coreIdx - Core Index for which the global reset state is to be cleared
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_RESET_STAT_GRST_STAT

Example


        // Is device globally reset?
        if (CSL_BootCfgIsGlobalReset () == TRUE)
        {
            // Device is global reset
            ...
            // Clear the global reset flag
            CSL_BootCfgClearGlobalReset();
        }
        else
        {
            // Device is NOT global reset
        }

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgClearLocalReset ( Uint8  coreIdx)

============================================================================
CSL_BootCfgClearLocalReset

Description
The function is used to clear the local reset state of the specified core

Arguments

        coreIdx - Core Index for which the local reset state is to be cleared
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_RESET_STAT_CLR_LRST_STAT_0_CLR;BOOTCFG_RESET_STAT_CLR_LRST_STAT_1_CLR;
BOOTCFG_RESET_STAT_CLR_LRST_STAT_2_CLR;BOOTCFG_RESET_STAT_CLR_LRST_STAT_3_CLR;
BOOTCFG_RESET_STAT_CLR_LRST_STAT_4_CLR;BOOTCFG_RESET_STAT_CLR_LRST_STAT_5_CLR;
BOOTCFG_RESET_STAT_CLR_LRST_STAT_6_CLR;BOOTCFG_RESET_STAT_CLR_LRST_STAT_7_CLR

Affects
BOOTCFG_RESET_STAT_LRST_STAT0=0;BOOTCFG_RESET_STAT_LRST_STAT1=0;
BOOTCFG_RESET_STAT_LRST_STAT2=0;BOOTCFG_RESET_STAT_LRST_STAT3=0;
BOOTCFG_RESET_STAT_LRST_STAT4=0;BOOTCFG_RESET_STAT_LRST_STAT5=0;
BOOTCFG_RESET_STAT_LRST_STAT6=0;BOOTCFG_RESET_STAT_LRST_STAT7=0

Example


        // Is Core 0 locally reset?
        if (CSL_BootCfgIsCoreLocalReset (0) == TRUE)
        {
            // Core 0 is locally reset.
            ...
            // Clear Core 0 local reset.
            CSL_BootCfgClearLocalReset (0);
        }
        else
        {
            // Core 0 is not locally reset.
        }

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgClearNMILocalResetStatus ( Uint8  coreIdx,
Uint8  nmiStatus,
Uint8  localStatus 
)

============================================================================
CSL_BootCfgClearNMILocalResetStatus

Description
The function is used to clear the NMI & Local reset status for a specific core.

Arguments

        coreIdx     - Core Index for which the status is required
        nmiStatus   - NMI Status to be cleared
        localStatus - Local Reset Status to be cleared
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_0_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_0_CLR;
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_1_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_1_CLR;
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_2_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_2_CLR;
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_3_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_3_CLR;
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_4_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_4_CLR;
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_5_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_5_CLR;
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_6_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_6_CLR;
BOOTCFG_LRSTNMISTAT_CLR_NMI_STAT_7_CLR,BOOTCFG_LRSTNMISTAT_CLR_LRESET_STAT_7_CLR;

Affects
BOOTCFG_LRSTNMISTAT_NMI_STAT0=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT0=0;
BOOTCFG_LRSTNMISTAT_NMI_STAT1=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT1=0;
BOOTCFG_LRSTNMISTAT_NMI_STAT2=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT2=0;
BOOTCFG_LRSTNMISTAT_NMI_STAT3=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT3=0;
BOOTCFG_LRSTNMISTAT_NMI_STAT4=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT4=0;
BOOTCFG_LRSTNMISTAT_NMI_STAT5=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT5=0;
BOOTCFG_LRSTNMISTAT_NMI_STAT6=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT6=0;
BOOTCFG_LRSTNMISTAT_NMI_STAT7=0,BOOTCFG_LRSTNMISTAT_LRESET_STAT7=0;

Example


        Uint8   nmiStatus;
        Uint8   localStatus;

        // Get the NMI and Local Reset Status for core 1
        CSL_BootCfgGetNMILocalResetStatus (1, &nmiStatus, &localStatus);
        ...
        // Clear the status
        CSL_BootCfgClearNMILocalResetStatus (1, nmiStatus, localStatus);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgClearResetMuxEvent ( Uint8  coreIdx)

============================================================================
CSL_BootCfgClearResetMuxEvent

Description
The function is to used clear the detected event in the reset mux block

Arguments

        coreIdx     - Core Index
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_RSTMUX0_RSTMUX_EVSTAT_CLR0

Example


        // Check if there is an event detected or not for core 1
        if (CSL_BootCfgIsResetMuxEventDetected (1) == TRUE)
        {
            // Reset Event has been detected
            ...
            // Clear the reset event
            CSL_BootCfgClearResetMuxEvent(1);
        }
        else
        {
            // Reset Event has NOT been detected
        }

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgDisableSysClock ( void  )

============================================================================
CSL_BootCfgDisableSysClock

Description
The function is used to disable the sys clock

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_DEVCFG_SYSCLKOUTEN=0

Example


        CSL_BootCfgDisableSysClock();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgEnableSysClock ( void  )

============================================================================
CSL_BootCfgEnableSysClock

Description
The function is used to enable the sys clock

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_DEVCFG_SYSCLKOUTEN=1

Example


        CSL_BootCfgEnableSysClock();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGenerateInterDSPInterrupt ( Uint8  coreNum,
Uint32  sourceId 
)

============================================================================
CSL_BootCfgGenerateInterDSPInterrupt

Description
The function is used to generate an inter-DSP interrupt.

Arguments

        coreNum  - Core Number to which the interrupt is directed.
        sourceId - Source Id which identifies the entity generating the interrupt
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_IPCGR0_IPCGR0_SRC, BOOTCFG_IPCGR0_IPCGR0_REG=1;
BOOTCFG_IPCGR1_IPCGR1_SRC, BOOTCFG_IPCGR1_IPCGR1_REG=1;
BOOTCFG_IPCGR2_IPCGR2_SRC, BOOTCFG_IPCGR2_IPCGR2_REG=1;
BOOTCFG_IPCGR3_IPCGR3_SRC, BOOTCFG_IPCGR3_IPCGR3_REG=1;
BOOTCFG_IPCGR3_IPCGR4_SRC, BOOTCFG_IPCGR3_IPCGR4_REG=1;
BOOTCFG_IPCGR3_IPCGR5_SRC, BOOTCFG_IPCGR3_IPCGR5_REG=1;
BOOTCFG_IPCGR3_IPCGR6_SRC, BOOTCFG_IPCGR3_IPCGR6_REG=1;
BOOTCFG_IPCGR3_IPCGR7_SRC, BOOTCFG_IPCGR3_IPCGR7_REG=1;

Example


        // Generate Inter-DSP Interrupt to Core 1 with the Source Id as 4
        CSL_BootCfgGenerateInterDSPInterrupt(1, 4);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGenerateNMIEvent ( Uint8  coreNum)

============================================================================
CSL_BootCfgGenerateNMIEvent

Description
The function is used to generate a NMI event to a specific core.

Arguments

        coreNum    - Core Number on which the NMI event is to be generated.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_NMIGR_0_NMIGR_0_REG;BOOTCFG_NMIGR_1_NMIGR_1_REG;
BOOTCFG_NMIGR_2_NMIGR_2_REG;BOOTCFG_NMIGR_3_NMIGR_3_REG;
BOOTCFG_NMIGR_4_NMIGR_4_REG;BOOTCFG_NMIGR_5_NMIGR_5_REG;
BOOTCFG_NMIGR_6_NMIGR_6_REG;BOOTCFG_NMIGR_7_NMIGR_7_REG

Example


        // Generate NMI Event on Core 0
        CSL_BootCfgGenerateNMIEvent(0);

     

=============================================================================

CSL_IDEF_INLINE Uint16 CSL_BootCfgGetBootMode ( void  )

============================================================================
CSL_BootCfgGetBootMode

Description
The function returns the boot mode which is latched at POR or RESETFULL.

Arguments

        None
     

Return Value
Boot mode

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_DEVSTAT_BOOTMODE

Example


        Uint16 bootMode;

        // Get the boot mode.
        bootMode = CSL_BootCfgGetBootMode();

     

=============================================================================

CSL_IDEF_INLINE Uint32 CSL_BootCfgGetBootProgress ( void  )

============================================================================
CSL_BootCfgGetBootProgress

Description
The function is used to get the boot progress.

Arguments

        None
     

Return Value
Boot progress contents.

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_BOOT_PROGRESS

Example

        Uint32  bootProgress;

        // Get the boot progress
        bootProgress = CSL_BootCfgGetBootProgress ();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetCOREPLLConfiguration ( Uint32 *  mainPLLConfig0,
Uint32 *  mainPLLConfig1 
)

============================================================================
CSL_BootCfgGetCOREPLLConfiguration

Description
The function is to used get the MAIN PLL configuration.

Arguments

        mainPLLConfig0    - MAIN PLL Configuration0.
        mainPLLConfig1    - MAIN PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_MAIN_PLL_CTL0, BOOTCFG_MAIN_PLL_CTL1

Example


        Uint32  mainPLLConfig0;
        Uint32  mainPLLConfig1;

        // Get the MAIN PLL Configuration
        CSL_BootCfgGetCOREPLLConfiguration (&mainPLLConfig0, &mainPLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetCorePLLObservationClockControl ( Uint8 *  selection,
Uint8 *  enable 
)

============================================================================
CSL_BootCfgGetCorePLLObservationClockControl

Description
The function is to used to get the core PLL observation clock control

Arguments

        selection - Controls which clock is output
        enable    - Status of the Core PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_OBSCLK_CTL_CORE_PLL_OBSCLK_SEL,BOOTCFG_OBSCLK_CTL_CORE_PLL_OBSCLK_EN

Example


        Uint8   selection;
        Uint8   enable;

        // Get the Core PLL Observation Clock Control 
        CSL_BootCfgGetCorePLLObservationClockControl(&selection, &enable);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetDDR3BPLLConfiguration ( Uint32 *  ddr3BPLLConfig0,
Uint32 *  ddr3BPLLConfig1 
)

============================================================================
CSL_BootCfgGetDDR3BPLLConfiguration

Description
The function is to used get the DDR3B PLL configuration.

Arguments

        ddr3BPLLConfig0    - DDR3B PLL Configuration0.
        ddr3BPLLConfig1    - DDR3B PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_DDR3B_PLL_CTL0, BOOTCFG_DDR3B_PLL_CTL1

Example


        Uint32  ddr3BPLLConfig0;
        Uint32  ddr3BPLLConfig1;

        // Get the DDR3B PLL Configuration
        CSL_BootCfgGetDDR3BPLLConfiguration (&ddr3BPLLConfig0, &ddr3BPLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetDDR3BPLLObservationClockControl ( Uint8 *  enable)

============================================================================
CSL_BootCfgGetDDR3BPLLObservationClockControl

Description
The function is to used to get the DDR3B PLL observation clock control

Arguments

        enable    - Status of the DDR3B PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_OBSCLK_CTL_DDR3B_PLL_OBSCLK_EN

Example


        Uint8   enable;

        // Get the DDR3B PLL Observation Clock Control 
        CSL_BootCfgGetDDR3BPLLObservationClockControl(&enable);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetDDR3PLLConfiguration ( Uint32 *  ddr3APLLConfig0,
Uint32 *  ddr3APLLConfig1 
)

============================================================================
CSL_BootCfgGetDDR3PLLConfiguration

Description
The function is to used get the DDR3A PLL configuration.

Arguments

        ddr3APLLConfig0    - DDR3A PLL Configuration0.
        ddr3APLLConfig1    - DDR3A PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_DDR3A_PLL_CTL0, BOOTCFG_DDR3A_PLL_CTL1

Example


        Uint32  ddr3APLLConfig0;
        Uint32  ddr3APLLConfig1;

        // Get the DDR3A PLL Configuration
        CSL_BootCfgGetDDR3PLLConfiguration (&ddr3APLLConfig0, &ddr3APLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetDDR3PLLObservationClockControl ( Uint8 *  selection,
Uint8 *  enable 
)

============================================================================
CSL_BootCfgGetDDR3PLLObservationClockControl

Description
The function is to used to get the DDR3A PLL observation clock control

Arguments

        selection - Controls which clock is output
        enable    - Status of the DDR3A PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_OBSCLK_CTL_DDR3A_PLL_OBSCLK_SEL,BOOTCFG_OBSCLK_CTL_DDR3A_PLL_OBSCLK_EN

Example


        Uint8   selection;
        Uint8   enable;

        // Get the DDR3A PLL Observation Clock Control 
        CSL_BootCfgGetDDR3PLLObservationClockControl(&selection, &enable);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetDeviceId ( Uint32 *  id)

============================================================================
CSL_BootCfgGetDeviceId

Description
The function is used to get the device (JTAG) identifier.

Arguments

        id    Device (JTAG) Identifier populated by this API
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_JTAG_ID_REG0

Example

        Uint32  id;

        // Get the device identifier.
        CSL_BootCfgGetDeviceId (&id);

     

=============================================================================

CSL_IDEF_INLINE Uint32 CSL_BootCfgGetDSPBootAddress ( Uint8  coreIdx)

============================================================================
CSL_BootCfgGetDSPBootAddress

Description
The function is used to get the initial fetch address of each GEM core

Arguments

        coreIdx -   Index of the core for which the fecth address is required
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_BOOTADDR_GEM0_REG_BOOTADDR_GEM0

Example

        Uint32  bootAddress;

        // Get the Boot configuration DSP Boot Address for Core 1
        bootAddress = CSL_BootCfgGetDSPBootAddress(1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetLEDChipPassDoneStatus ( Uint8 *  pass,
Uint8 *  done 
)

============================================================================
CSL_BootCfgGetLEDChipPassDoneStatus

Description
The function is to used to get the LED Chip Pass Done Status

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_LED_CHIP_PASSDONE_CHIP_PASS,BOOTCFG_LED_CHIP_PASSDONE_CHIP_DONE

Example


        Uint8   pass;
        Uint8   done;

        // Get the LED Chip Pass Done 
        CSL_BootCfgGetLEDChipPassDoneStatus(&pass, &done);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetLEDPassDone1Status ( Uint8  coreIdx,
Uint8 *  pass,
Uint8 *  done,
Uint8 *  idle,
Uint8 *  waitLoop 
)

============================================================================
CSL_BootCfgGetLEDPassDone1Status

Description
The function is used to get the LED pass done (1) status for a specific core

Arguments

        coreIdx     - Index of the core for which the status is required.
        pass        - Pass Status Flag
        done        - Done Status Flag
        idle        - Idle Status Flag
        waitLoop    - Function Wait Loop Flag
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_LED_CORE_PASSDONE1_P0,BOOTCFG_LED_CORE_PASSDONE1_D0,
BOOTCFG_LED_CORE_PASSDONE1_I0,BOOTCFG_LED_CORE_PASSDONE1_L0;
BOOTCFG_LED_CORE_PASSDONE1_P1,BOOTCFG_LED_CORE_PASSDONE1_D1,
BOOTCFG_LED_CORE_PASSDONE1_I1,BOOTCFG_LED_CORE_PASSDONE1_L1;
BOOTCFG_LED_CORE_PASSDONE1_P2,BOOTCFG_LED_CORE_PASSDONE1_D2,
BOOTCFG_LED_CORE_PASSDONE1_I2,BOOTCFG_LED_CORE_PASSDONE1_L2;
BOOTCFG_LED_CORE_PASSDONE1_P3,BOOTCFG_LED_CORE_PASSDONE1_D3,
BOOTCFG_LED_CORE_PASSDONE1_I3,BOOTCFG_LED_CORE_PASSDONE1_L3;

Example


        Uint8  pass, 
        Uint8  done, 
        Uint8  idle, 
        Uint8  waitLoop

        // Get the LED Pass Done 0 Status for Core 1
        CSL_BootCfgGetLEDPassDone1Status (1, &pass, &done, &idle, &waitLoop);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetLEDPassDoneStatus ( Uint8  coreIdx,
Uint8 *  pass,
Uint8 *  done,
Uint8 *  idle,
Uint8 *  waitLoop 
)

============================================================================
CSL_BootCfgGetLEDPassDoneStatus

Description
The function is used to get the LED pass done (0) status for a specific core

Arguments

        coreIdx     - Index of the core for which the status is required.
        pass        - Pass Status Flag
        done        - Done Status Flag
        idle        - Idle Status Flag
        waitLoop    - Function Wait Loop Flag
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_LED_CORE_PASSDONE0_P0,BOOTCFG_LED_CORE_PASSDONE0_D0,
BOOTCFG_LED_CORE_PASSDONE0_I0,BOOTCFG_LED_CORE_PASSDONE0_L0;
BOOTCFG_LED_CORE_PASSDONE0_P1,BOOTCFG_LED_CORE_PASSDONE0_D1,
BOOTCFG_LED_CORE_PASSDONE0_I1,BOOTCFG_LED_CORE_PASSDONE0_L1;
BOOTCFG_LED_CORE_PASSDONE0_P2,BOOTCFG_LED_CORE_PASSDONE0_D2,
BOOTCFG_LED_CORE_PASSDONE0_I2,BOOTCFG_LED_CORE_PASSDONE0_L2;
BOOTCFG_LED_CORE_PASSDONE0_P3,BOOTCFG_LED_CORE_PASSDONE0_D3,
BOOTCFG_LED_CORE_PASSDONE0_I3,BOOTCFG_LED_CORE_PASSDONE0_L3;
BOOTCFG_LED_CORE_PASSDONE0_P4,BOOTCFG_LED_CORE_PASSDONE0_D4,
BOOTCFG_LED_CORE_PASSDONE0_I4,BOOTCFG_LED_CORE_PASSDONE0_L4;
BOOTCFG_LED_CORE_PASSDONE0_P5,BOOTCFG_LED_CORE_PASSDONE0_D5,
BOOTCFG_LED_CORE_PASSDONE0_I5,BOOTCFG_LED_CORE_PASSDONE0_L5;
BOOTCFG_LED_CORE_PASSDONE0_P6,BOOTCFG_LED_CORE_PASSDONE0_D6,
BOOTCFG_LED_CORE_PASSDONE0_I6,BOOTCFG_LED_CORE_PASSDONE0_L6;
BOOTCFG_LED_CORE_PASSDONE0_P7,BOOTCFG_LED_CORE_PASSDONE0_D7,
BOOTCFG_LED_CORE_PASSDONE0_I7,BOOTCFG_LED_CORE_PASSDONE0_L7;

Example


        Uint8  pass, 
        Uint8  done, 
        Uint8  idle, 
        Uint8  waitLoop

        // Get the LED Pass Done 0 Status for Core 1
        CSL_BootCfgGetLEDPassDoneStatus (1, &pass, &done, &idle, &waitLoop);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetMacIdentifier ( Uint32 *  macId0,
Uint32 *  macId1 
)

============================================================================
CSL_BootCfgGetMacIdentifier

Description
The function is used to get the MAC address for this device derived from the EFUSE.

Arguments

        macId0  -   Contents of the MAC ID0 register
        macId1  -   Contents of the MAC ID1 register
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_MAC_ID0,BOOTCFG_MAC_ID1

Example

        Uint32  macId0;
        Uint32  macId1;

        // Get the MAC Identifier
        CSL_BootCfgGetMacIdentifier(&macId0, &macId1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetNMILocalResetStatus ( Uint8  coreIdx,
Uint8 *  nmiStatus,
Uint8 *  localStatus 
)

============================================================================
CSL_BootCfgGetNMILocalResetStatus

Description
The function is used to get the NMI & Local reset status for a specific core.

Arguments

        coreIdx     - Core Index for which the status is required
        nmiStatus   - NMI Status populated by this API
        localStatus - Local Reset Status populated by this API
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_LRSTNMISTAT_NMI_STAT0,BOOTCFG_LRSTNMISTAT_LRESET_STAT0;
BOOTCFG_LRSTNMISTAT_NMI_STAT1,BOOTCFG_LRSTNMISTAT_LRESET_STAT1;
BOOTCFG_LRSTNMISTAT_NMI_STAT2,BOOTCFG_LRSTNMISTAT_LRESET_STAT2;
BOOTCFG_LRSTNMISTAT_NMI_STAT3,BOOTCFG_LRSTNMISTAT_LRESET_STAT3;
BOOTCFG_LRSTNMISTAT_NMI_STAT4,BOOTCFG_LRSTNMISTAT_LRESET_STAT4;
BOOTCFG_LRSTNMISTAT_NMI_STAT5,BOOTCFG_LRSTNMISTAT_LRESET_STAT5;
BOOTCFG_LRSTNMISTAT_NMI_STAT6,BOOTCFG_LRSTNMISTAT_LRESET_STAT6;
BOOTCFG_LRSTNMISTAT_NMI_STAT7,BOOTCFG_LRSTNMISTAT_LRESET_STAT7;

Example


        Uint8   nmiStatus;
        Uint8   localStatus;

        // Get the NMI and Local Reset Status for core 1
        CSL_BootCfgGetNMILocalResetStatus (1, &nmiStatus, &localStatus);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetPAPLLConfiguration ( Uint32 *  paPLLConfig0,
Uint32 *  paPLLConfig1 
)

============================================================================
CSL_BootCfgGetPAPLLConfiguration

Description
The function is to used get the PA PLL configuration.

Arguments

        paPLLConfig0    - PA PLL Configuration0.
        paPLLConfig1    - PA PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_PASS_PLL_CTL0, BOOTCFG_PASS_PLL_CTL1

Example


        Uint32  paPLLConfig0;
        Uint32  paPLLConfig1;

        // Get the PA PLL Configuration
        CSL_BootCfgGetPAPLLConfiguration (&paPLLConfig0, &paPLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetPAPLLObservationClockControl ( Uint8 *  selection,
Uint8 *  enable 
)

============================================================================
CSL_BootCfgGetPAPLLObservationClockControl

Description
The function is to used to get the PA PLL observation clock control

Arguments

        selection - Controls which clock is output
        enable    - Status of the PA PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_OBSCLK_CTL_PA_PLL_OBSCLK_SEL,BOOTCFG_OBSCLK_CTL_PA_PLL_OBSCLK_EN

Example


        Uint8   selection;
        Uint8   enable;

        // Get the PA PLL Observation Clock Control 
        CSL_BootCfgGetPAPLLObservationClockControl(&selection, &enable);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetPowerStatus ( Uint8 *  standby,
Uint8 *  hibernation,
Uint8 *  hibernationMode,
Uint32 *  generalPurpose 
)

============================================================================
CSL_BootCfgGetPowerStatus

Description
The function gets the Power status

Arguments

        standbyStatus       - Indicates whether in Standby mode or not
        hibernationStatus   - Indicates whether in Hibernation mode or not
        hibernationMode     - Indicates whether in Hibernation mode1 or mode2
        generalPurpose      - General Purpose value in the register
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_PWR_STAT_STANDBY,BOOTCFG_PWR_STAT_HIBERNATION,
BOOTCFG_PWR_STAT_HIBERNATION_MODE,BOOTCFG_PWR_STAT_PWR_STAT_GENERAL

Example


        Uint8  standby;
        Uint8  hibernation;
        Uint8  hibernationMode;
        Uint32 generalPurpose;

        // Get the power status.
        CSL_BootCfgGetPowerStatus(&standby, &hibernation, &hibernationMode, &generalPurpose);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetQMPriority ( Uint8 *  qmprio)

============================================================================
CSL_BootCfgGetQMPriority

Description
The function is to used to get QM Master port transactions priority.

Arguments

        qmprio  -   QM Master port transaction priority read.
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_CHIP_MISC_CHIP_MISC_QM_PRI

Example


        Uint8   qmprio;

        // Get the QM Priority from Chip Misc Control register
        CSL_BootCfgGetQMPriority(&qmprio);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetResetMuxDelay ( Uint8  coreIdx,
Uint8 *  delay 
)

============================================================================
CSL_BootCfgGetResetMuxDelay

Description
The function gets the reset mux delay between NMI & IReset

Arguments

        coreIdx     - Core Index
        delay       - Delay populated by this API
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_RSTMUX0_RSTMUX_DELAY0

Example


        Uint8   delay;

        // Get the delay for core 0
        CSL_BootCfgGetResetMuxOutputMode (0, &delay);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetResetMuxLockStatus ( Uint8  coreIdx,
Uint8 *  lockStatus 
)

============================================================================
CSL_BootCfgGetResetMuxLockStatus

Description
The function gets the reset mux block lock status

Arguments

        coreIdx     - Core Index
        lockStatus  - Status of the register fields lock 
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_RSTMUX0_RSTMUX_LOCK0

Example


        Uint8   lockStatus;

        // Get the lock status for core 0
        CSL_BootCfgGetResetMuxLockStatus (0, &lockStatus);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetResetMuxOutputMode ( Uint8  coreIdx,
Uint8 *  outputMode 
)

============================================================================
CSL_BootCfgGetResetMuxOutputMode

Description
The function gets the reset mux block output mode

Arguments

        coreIdx     - Core Index
        outputMode  - Output Mode populated by this API
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_RSTMUX0_RSTMUX_OMODE0

Example


        Uint8   outputMode;

        // Get the output mode for core 0
        CSL_BootCfgGetResetMuxOutputMode (0, &outputMode);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetRevisionInfo ( Uint32 *  info)

============================================================================
CSL_BootCfgGetRevisionInfo

Description
The function is used to get the revision information for the boot configuration module.

Arguments

        info    Revision information populated by this API
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_REVISION_REG

Example

        Uint32  info;

        // Get the boot configuration revision information.
        CSL_BootCfgGetRevisionInfo (&info);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetROMChecksum ( Uint32 *  romLSBChecksum,
Uint32 *  romMSBChecksum 
)

============================================================================
CSL_BootCfgGetROMChecksum

Description
The function is to used to get the ROM checksum

Arguments

        romLSBChecksum     - LSB of 64-bit ROM Checksum
        romMSBChecksum     - MSB of 64-bit ROM Checksum
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_EFUSE_SECROM_CHKSUM0,BOOTCFG_EFUSE_SECROM_CHKSUM1

Example


        Uint32   romLSBChecksum;
        Uint32   romMSBChecksum;

        // Get the ROM Checksum
        CSL_BootCfgGetROMChecksum(&romLSBChecksum, &romMSBChecksum);

     

=============================================================================

CSL_IDEF_INLINE Uint16 CSL_BootCfgGetTimerInputSelection ( void  )

============================================================================
CSL_BootCfgGetTimerInputSelection

Description
The function gets the timer input selection

Arguments

        None
     

Return Value
Timer Input Selection

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_TINPSEL_TINPSEL

Example


        Uint16 timerInput;

        // Get the timer input selection 
        timerInput = CSL_BootCfgGetTimerInputSelection();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgGetTimerOutputSelection ( Uint8 *  timerOutputSel0,
Uint8 *  timerOutputSel1 
)

============================================================================
CSL_BootCfgGetTimerOutputSelection

Description
The function gets the timer output selection

Arguments

        timerOutputSel0 -   Timer output selection 0
        timerOutputSel1 -   Timer output selection 1
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_TOUTSEL_TOUTSEL0,BOOTCFG_TOUTSEL_TOUTSEL1

Example


        Uint8 timerOutputSel0;
        Uint8 timerOutputSel1;

        // Get the timer output selections
        CSL_BootCfgGetTimerOutputSelection(&timerOutputSel0, &timerOutputSel1);

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsBootComplete ( Uint8  coreIdx)

============================================================================
CSL_BootCfgIsBootComplete

Description
The function is used to check if the booting is complete for a specific core or not?

Arguments

        coreIdx     - Core index which is to be checked
     

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_BOOT_COMPLETE_GEM0_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM1_COMPLETE;
BOOTCFG_BOOT_COMPLETE_GEM2_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM3_COMPLETE;
BOOTCFG_BOOT_COMPLETE_GEM4_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM5_COMPLETE;
BOOTCFG_BOOT_COMPLETE_GEM6_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM7_COMPLETE

Example


        // Check if the booting is complete or not for core 2?
        if (CSL_BootCfgIsBootComplete(2) == TRUE)
        {
            // Booting is done
        }
        else
        {
            // Booting is not done.        
        }

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsCoreLocalReset ( Uint8  coreIdx)

============================================================================
CSL_BootCfgIsCoreLocalReset

Description
The function is used to check if the core is locally reset or not?

Arguments

        coreIdx - Core Index for which the reset status is needed
     

Return Value
TRUE - Core is locally reset.
FALSE - Core is not locally reset.

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_RESET_STAT_LRST_STAT0;BOOTCFG_RESET_STAT_LRST_STAT1;
BOOTCFG_RESET_STAT_LRST_STAT2;BOOTCFG_RESET_STAT_LRST_STAT3;
BOOTCFG_RESET_STAT_LRST_STAT4;BOOTCFG_RESET_STAT_LRST_STAT5;
BOOTCFG_RESET_STAT_LRST_STAT6;BOOTCFG_RESET_STAT_LRST_STAT7

Example


        // Is Core 0 locally reset?
        if (CSL_BootCfgIsCoreLocalReset (0) == TRUE)
        {
            // Core 0 is locally reset.
        }
        else
        {
            // Core 0 is not locally reset.
        }

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsGlobalReset ( void  )

============================================================================
CSL_BootCfgIsGlobalReset

Description
The function is used to check if the device is globally reset or not?

Arguments

        None
     

Return Value
TRUE - Device is global reset.
FALSE - Device is not globally reset.

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_RESET_STAT_GRST_STAT

Example


        // Is device globally reset?
        if (CSL_BootCfgIsGlobalReset () == TRUE)
        {
            // Device is global reset
        }
        else
        {
            // Device is NOT global reset
        }

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsLEDPLLLocked ( void  )

============================================================================
CSL_BootCfgIsLEDPLLLocked

Description
The function is to used check if the LED PLL is locked or not?

Arguments

        None
     

Return Value
TRUE - LED PLL Locked
FALSE - LED PLL is not Locked

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_LED_PLLLOCK0_PLLLOCK

Example


        // Is the LED PLL Locked or not?
        if (CSL_BootCfgIsLEDPLLLocked () == TRUE)
        {
            // LED PLL is locked
        }
        else
        {
            // LED PLL is not locked.
        }

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsLittleEndian ( void  )

============================================================================
CSL_BootCfgIsLittleEndian

Description
The function checks if the device is running in little endian mode or not?

Arguments

        None
     

Return Value
TRUE - Device is in Little Endian Mode
FALSE - Device is in Big Endian Mode

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_DEVSTAT_LENDIAN

Example


        // Check if device is in little endian mode or not?
        if (CSL_BootCfgIsLittleEndian () == TRUE)
        {
            // Little Endian
        }
        else
        {
            // Big Endian
        }

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsMSMCParityResetBlocked ( void  )

============================================================================
CSL_BootCfgIsMSMCParityResetBlocked

Description
The function is to used to get the MSMC parity RAM reset block status from the Chip Miscellaneous Control register.

Arguments
None

Return Value
None

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_CHIP_MISC_CHIP_MISC_MSMC_BLOCK_PARITY_RST

Example


        // Get the MSMC parity block status from Chip Misc Control register
        if (CSL_BootCfgIsMSMCParityResetBlocked() == TRUE)
        {
            // MSMC parity RAM reset is blocked.
        }
        else
        {
            // MSMC parity RAM reset is un-blocked.
        }

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsResetMuxEventDetected ( Uint8  coreIdx)

============================================================================
CSL_BootCfgIsResetMuxEventDetected

Description
The function checks if an event is detected by the Result Mux block

Arguments

        coreIdx     - Core Index
     

Return Value
TRUE - Event has been detected
FALSE - Event has not been detected

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_RSTMUX0_RSTMUX_EVSTAT0

Example


        // Check if there is an event detected or not for core 1
        if (CSL_BootCfgIsResetMuxEventDetected (1) == TRUE)
        {
            // Reset Event has been detected
        }
        else
        {
            // Reset Event has NOT been detected
        }

     

=============================================================================

CSL_IDEF_INLINE Bool CSL_BootCfgIsSysClockEnabled ( void  )

============================================================================
CSL_BootCfgIsSysClockEnabled

Description
The function checks if the system clock is enabled or not?

Arguments

        None
     

Return Value
TRUE - Clock output enabled
FALSE - No Clock Output

Pre Condition
None

Post Condition
None

Reads
BOOTCFG_DEVCFG_SYSCLKOUTEN

Example


        // Is System clock is enabled or not?
        if (CSL_BootCfgIsSysClockEnabled () == TRUE)
        {
            // Clock output is Enabled
        }
        else
        {
            // No Clock Output
        }

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgLockKicker ( void  )

============================================================================
CSL_BootCfgLockKicker

Description
The function is used to lock the kicker mechanism which will ensure that all subequent writes to the Boot configuration MMR are now blocked

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_KICK_REG0=0x1, BOOTCFG_KICK_REG1=0x1

Example


        // Unlock the kicker to ensure Boot configuration MMR is writeable
        CSL_BootCfgUnlockKicker();
        ...
        // Lock the kicker mechanism
        CSL_BootCfgLockKicker();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgLockLEDPLL ( void  )

============================================================================
CSL_BootCfgLockLEDPLL

Description
The function is to used lock the LED PLL

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_LED_PLLLOCK0_STICKY_EN_LOCK=1

Example


        // Lock the LED PLL 
        CSL_BootCfgLockLEDPLL();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetBootComplete ( Uint8  coreIdx)

============================================================================
CSL_BootCfgSetBootComplete

Description
The function is used to set the boot complete. This can be done only once by the software.

Arguments

        coreIdx     - Core index which for which boot complete is to be set
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_BOOT_COMPLETE_GEM0_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM1_COMPLETE;
BOOTCFG_BOOT_COMPLETE_GEM2_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM3_COMPLETE;
BOOTCFG_BOOT_COMPLETE_GEM4_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM5_COMPLETE;
BOOTCFG_BOOT_COMPLETE_GEM6_COMPLETE;BOOTCFG_BOOT_COMPLETE_GEM7_COMPLETE

Example


        // Booting is done for core 0
        CSL_BootCfgSetBootComplete (0);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetBootMode ( Uint16  bootMode)

============================================================================
CSL_BootCfgSetBootMode

Description
The function sets the boot mode

Arguments

        bootMode    - Boot Mode to be configured.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_DEVSTAT_BOOTMODE

Example


        // Set the boot mode.
        CSL_BootCfgSetBootMode(0x10);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetBootProgress ( Uint32  bootProgress)

============================================================================
CSL_BootCfgSetBootProgress

Description
The function is used to set the boot progress.

Arguments

        None
     

Return Value
Boot progress contents.

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_BOOT_PROGRESS

Example


        // Set the boot progress
        CSL_BootCfgSetBootProgress (0xDEAD);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetCOREPLLConfiguration ( Uint32  mainPLLConfig0,
Uint32  mainPLLConfig1 
)

============================================================================
CSL_BootCfgSetCOREPLLConfiguration

Description
The function is to used set the MAIN PLL configuration.

Arguments

        mainPLLConfig0    - MAIN PLL Configuration0.
        mainPLLConfig1    - MAIN PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_MAIN_PLL_CTL0, BOOTCFG_MAIN_PLL_CTL1

Example


        Uint32  mainPLLConfig0;
        Uint32  mainPLLConfig1;

        // Get the MAIN PLL Configuration
        CSL_BootCfgGetCOREPLLConfiguration (&mainPLLConfig0, &mainPLLConfig1);
        ...
        // Set the MAIN PLL Configuration
        CSL_BootCfgSetCOREPLLConfiguration (mainPLLConfig0, mainPLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetCorePLLObservationClockControl ( Uint8  selection,
Uint8  enable 
)

============================================================================
CSL_BootCfgSetCorePLLObservationClockControl

Description
The function is to used to set the core PLL observation clock control

Arguments

        selection - Controls which clock is output
        enable    - Status of the Core PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_OBSCLK_CTL_CORE_PLL_OBSCLK_SEL,BOOTCFG_OBSCLK_CTL_CORE_PLL_OBSCLK_EN

Example


        Uint8   selection;
        Uint8   enable;

        // Get the Core PLL Observation Clock Control 
        CSL_BootCfgGetCorePLLObservationClockControl(&selection, &enable);
        
        // IO Clock buffer is enabled.
        CSL_BootCfgSetCorePLLObservationClockControl(selection, 1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetDDR3BPLLConfiguration ( Uint32  ddr3BPLLConfig0,
Uint32  ddr3BPLLConfig1 
)

============================================================================
CSL_BootCfgSetDDR3BPLLConfiguration

Description
The function is to used set the DDR3B PLL configuration.

Arguments

        ddr3BPLLConfig0    - DDR3B PLL Configuration0.
        ddr3BPLLConfig1    - DDR3B PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_DDR3B_PLL_CTL0, BOOTCFG_DDR3B_PLL_CTL1

Example


        Uint32  ddr3BPLLConfig0;
        Uint32  ddr3BPLLConfig1;

        // Get the DDR3B PLL Configuration
        CSL_BootCfgGetDDR3BPLLConfiguration (&ddr3BPLLConfig0, &ddr3BPLLConfig1);
        ...
        // Set the DDR3B PLL Configuration
        CSL_BootCfgSetDDR3BPLLConfiguration (ddr3BPLLConfig0, ddr3BPLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetDDR3BPLLObservationClockControl ( Uint8  enable)

============================================================================
CSL_BootCfgSetDDR3BPLLObservationClockControl

Description
The function is to used to set the DDR3B PLL observation clock control

Arguments

        enable    - Status of the DDR3B PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_OBSCLK_CTL_DDR3B_PLL_OBSCLK_EN

Example


        Uint8   enable;

        // Get the DDR3B PLL Observation Clock Control 
        CSL_BootCfgGetDDR3BPLLObservationClockControl(&enable);

        // DDR3B IO Clock Buffer is disabled.
        CSL_BootCfgSetDDR3BPLLObservationClockControl(0);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetDDR3PLLConfiguration ( Uint32  ddr3APLLConfig0,
Uint32  ddr3APLLConfig1 
)

============================================================================
CSL_BootCfgSetDDR3PLLConfiguration

Description
The function is to used set the DDR3A PLL configuration.

Arguments

        ddr3APLLConfig0    - DDR3A PLL Configuration0.
        ddr3APLLConfig1    - DDR3A PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_DDR3A_PLL_CTL0, BOOTCFG_DDR3A_PLL_CTL1

Example


        Uint32  ddr3APLLConfig0;
        Uint32  ddr3APLLConfig1;

        // Get the DDR3A PLL Configuration
        CSL_BootCfgGetDDR3PLLConfiguration (&ddr3APLLConfig0, &ddr3APLLConfig1);
        ...
        // Set the DDR3A PLL Configuration
        CSL_BootCfgSetDDR3PLLConfiguration (ddr3APLLConfig0, ddr3APLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetDDR3PLLObservationClockControl ( Uint8  selection,
Uint8  enable 
)

============================================================================
CSL_BootCfgSetDDR3PLLObservationClockControl

Description
The function is to used to set the DDR3A PLL observation clock control

Arguments

        selection - Controls which clock is output
        enable    - Status of the DDR3A PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_OBSCLK_CTL_DDR3A_PLL_OBSCLK_SEL,BOOTCFG_OBSCLK_CTL_DDR3A_PLL_OBSCLK_EN

Example


        Uint8   selection;
        Uint8   enable;

        // Get the DDR3A PLL Observation Clock Control 
        CSL_BootCfgGetDDR3PLLObservationClockControl(&selection, &enable);

        // DDR3A IO Clock Buffer is disabled.
        CSL_BootCfgSetDDR3PLLObservationClockControl(selection, 0);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetDSPBootAddress ( Uint8  coreIdx,
Uint32  bootAddress 
)

============================================================================
CSL_BootCfgSetDSPBootAddress

Description
The function is used to set the initial fetch address of each GEM core This can be done only for non-secure devices.

Arguments

        coreIdx     - Index of the core for which the fetch address is configured
        bootAddress - Boot Address to be configured
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_BOOTADDR_GEM0_REG_BOOTADDR_GEM0

Example

        Uint32  bootAddress;

        // Set the Boot configuration DSP Boot Address for Core 1
        CSL_BootCfgSetDSPBootAddress(1, 0x20B00000);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetLEDChipPassDoneStatus ( Uint8  pass,
Uint8  done 
)

============================================================================
CSL_BootCfgSetLEDChipPassDoneStatus

Description
The function is to used to set the LED Chip Pass Done Status

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_LED_CHIP_PASSDONE_CHIP_PASS,BOOTCFG_LED_CHIP_PASSDONE_CHIP_DONE

Example


        // Set the LED Chip Pass Done flags 
        CSL_BootCfgSetLEDChipPassDoneStatus(1, 1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetLEDPassDone1Status ( Uint8  coreIdx,
Uint8  pass,
Uint8  done,
Uint8  idle,
Uint8  waitLoop 
)

============================================================================
CSL_BootCfgSetLEDPassDone1Status

Description
The function is used to set the LED pass done (1) status for a specific core

Arguments

        coreIdx     - Index of the core for which the status is required.
        pass        - Pass Status Flag
        done        - Done Status Flag
        idle        - Idle Status Flag
        waitLoop    - Function Wait Loop Flag
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_LED_CORE_PASSDONE1_P0,BOOTCFG_LED_CORE_PASSDONE1_D0,
BOOTCFG_LED_CORE_PASSDONE1_I0,BOOTCFG_LED_CORE_PASSDONE1_L0;
BOOTCFG_LED_CORE_PASSDONE1_P1,BOOTCFG_LED_CORE_PASSDONE1_D1,
BOOTCFG_LED_CORE_PASSDONE1_I1,BOOTCFG_LED_CORE_PASSDONE1_L1;
BOOTCFG_LED_CORE_PASSDONE1_P2,BOOTCFG_LED_CORE_PASSDONE1_D2,
BOOTCFG_LED_CORE_PASSDONE1_I2,BOOTCFG_LED_CORE_PASSDONE1_L2;
BOOTCFG_LED_CORE_PASSDONE1_P3,BOOTCFG_LED_CORE_PASSDONE1_D3,
BOOTCFG_LED_CORE_PASSDONE1_I3,BOOTCFG_LED_CORE_PASSDONE1_L3;

Example


        Uint8  pass, 
        Uint8  done, 
        Uint8  idle, 
        Uint8  waitLoop

        // Get the LED Pass Done (1) Status for Core 0
        CSL_BootCfgGetLEDPassDone1Status (0, &pass, &done, &idle, &waitLoop);
        ...
        // Set the PASS Flag for core 0
        CSL_BootCfgSetLEDPassDone1Status(0, 1, done, idle, waitLoop);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetLEDPassDoneStatus ( Uint8  coreIdx,
Uint8  pass,
Uint8  done,
Uint8  idle,
Uint8  waitLoop 
)

============================================================================
CSL_BootCfgSetLEDPassDoneStatus

Description
The function is used to set the LED pass done status for a specific core

Arguments

        coreIdx     - Index of the core for which the status is required.
        pass        - Pass Status Flag
        done        - Done Status Flag
        idle        - Idle Status Flag
        waitLoop    - Function Wait Loop Flag
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_LED_CORE_PASSDONE0_P0,BOOTCFG_LED_CORE_PASSDONE0_D0,
BOOTCFG_LED_CORE_PASSDONE0_I0,BOOTCFG_LED_CORE_PASSDONE0_L0;
BOOTCFG_LED_CORE_PASSDONE0_P1,BOOTCFG_LED_CORE_PASSDONE0_D1,
BOOTCFG_LED_CORE_PASSDONE0_I1,BOOTCFG_LED_CORE_PASSDONE0_L1;
BOOTCFG_LED_CORE_PASSDONE0_P2,BOOTCFG_LED_CORE_PASSDONE0_D2,
BOOTCFG_LED_CORE_PASSDONE0_I2,BOOTCFG_LED_CORE_PASSDONE0_L2;
BOOTCFG_LED_CORE_PASSDONE0_P3,BOOTCFG_LED_CORE_PASSDONE0_D3,
BOOTCFG_LED_CORE_PASSDONE0_I3,BOOTCFG_LED_CORE_PASSDONE0_L3;
BOOTCFG_LED_CORE_PASSDONE0_P4,BOOTCFG_LED_CORE_PASSDONE0_D4,
BOOTCFG_LED_CORE_PASSDONE0_I4,BOOTCFG_LED_CORE_PASSDONE0_L4;
BOOTCFG_LED_CORE_PASSDONE0_P5,BOOTCFG_LED_CORE_PASSDONE0_D5,
BOOTCFG_LED_CORE_PASSDONE0_I5,BOOTCFG_LED_CORE_PASSDONE0_L5;
BOOTCFG_LED_CORE_PASSDONE0_P6,BOOTCFG_LED_CORE_PASSDONE0_D6,
BOOTCFG_LED_CORE_PASSDONE0_I6,BOOTCFG_LED_CORE_PASSDONE0_L6;
BOOTCFG_LED_CORE_PASSDONE0_P7,BOOTCFG_LED_CORE_PASSDONE0_D7,
BOOTCFG_LED_CORE_PASSDONE0_I7,BOOTCFG_LED_CORE_PASSDONE0_L7;

Example


        Uint8  pass, 
        Uint8  done, 
        Uint8  idle, 
        Uint8  waitLoop

        // Get the LED Pass Done Status for Core 0
        CSL_BootCfgGetLEDPassDoneStatus (0, &pass, &done, &idle, &waitLoop);
        ...
        // Set the PASS Flag for core 0
        CSL_BootCfgSetLEDPassDoneStatus(0, 1, done, idle, waitLoop);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetPAPLLConfiguration ( Uint32  paPLLConfig0,
Uint32  paPLLConfig1 
)

============================================================================
CSL_BootCfgSetPAPLLConfiguration

Description
The function is to used set the PA PLL configuration.

Arguments

        paPLLConfig0    - PA PLL Configuration0.
        paPLLConfig1    - PA PLL Configuration1.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_PASS_PLL_CTL0, BOOTCFG_PASS_PLL_CTL1

Example


        Uint32  paPLLConfig0;
        Uint32  paPLLConfig1;

        // Get the PA PLL Configuration
        CSL_BootCfgGetPAPLLConfiguration (&paPLLConfig0, &paPLLConfig1);
        ...
        // Set the PA PLL Configuration
        CSL_BootCfgSetPAPLLConfiguration (paPLLConfig0, paPLLConfig1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetPAPLLObservationClockControl ( Uint8  selection,
Uint8  enable 
)

============================================================================
CSL_BootCfgSetPAPLLObservationClockControl

Description
The function is to used to set the PA PLL observation clock control

Arguments

        selection - Controls which clock is output
        enable    - Status of the PA PLL IO Clock buffer.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_OBSCLK_CTL_PA_PLL_OBSCLK_SEL,BOOTCFG_OBSCLK_CTL_PA_PLL_OBSCLK_EN

Example


        Uint8   selection;
        Uint8   enable;

        // Get the PA PLL Observation Clock Control 
        CSL_BootCfgGetPAPLLObservationClockControl(&selection, &enable);

        // PA IO Clock Buffer is disabled.
        CSL_BootCfgSetPAPLLObservationClockControl(selection, 0);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetPowerStatus ( Uint8  standby,
Uint8  hibernation,
Uint8  hibernationMode,
Uint32  generalPurpose 
)

============================================================================
CSL_BootCfgSetPowerStatus

Description
The function sets the Power status

Arguments

        standbyStatus       - Status of the standby to be configured
        hibernationStatus   - Hibernation Status to be configured
        hibernationMode     - Hibernation mode to be configured
        generalPurpose      - General Purpose value to be configured
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_PWR_STAT_STANDBY,BOOTCFG_PWR_STAT_HIBERNATION,
BOOTCFG_PWR_STAT_HIBERNATION_MODE,BOOTCFG_PWR_STAT_PWR_STAT_GENERAL

Example


        Uint8  standby;
        Uint8  hibernation;
        Uint8  hibernationMode;
        Uint32 generalPurpose;

        // Get the power status.
        CSL_BootCfgGetPowerStatus(&standby, &hibernation, &hibernationMode, &generalPurpose);
        ...
        // Set the power status to be in standby mode
        CSL_BootCfgSetPowerStatus (1, hibernation, hibernationMode, generalPurpose);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetQMPriority ( Uint8  qmprio)

============================================================================
CSL_BootCfgSetQMPriority

Description
The function is to used to set up QM Master port transactions priority.

Arguments

        qmprio  -   QM Master port transaction priority to configure.
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_CHIP_MISC_CHIP_MISC_QM_PRI

Example


        Uint8   qmprio = 1;

        // Set the QM Priority in Chip Misc Control register
        CSL_BootCfgSetQMPriority(qmprio);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetResetMuxDelay ( Uint8  coreIdx,
Uint8  delay 
)

============================================================================
CSL_BootCfgSetResetMuxDelay

Description
The function sets the reset mux delay between NMI & IReset

Arguments

        coreIdx     - Core Index
        delay       - Delay to be configured
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_RSTMUX0_RSTMUX_DELAY0

Example


        // Set the delay for core 0 to be 2048 CPU/6 cycles delay between NMI & lreset
        CSL_BootCfgSetResetMuxDelay (0, 0x3);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetResetMuxLockStatus ( Uint8  coreIdx,
Uint8  lockStatus 
)

============================================================================
CSL_BootCfgSetResetMuxLockStatus

Description
The function sets the reset mux block lock status

Arguments

        coreIdx     - Core Index
        lockStatus  - Status of the register fields lock 
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_RSTMUX0_RSTMUX_LOCK0

Example


        // Lock registers for Core 0
        CSL_BootCfgSetResetMuxLockStatus (0, 1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetResetMuxOutputMode ( Uint8  coreIdx,
Uint8  outputMode 
)

============================================================================
CSL_BootCfgSetResetMuxOutputMode

Description
The function sets the reset mux block output mode

Arguments

        coreIdx     - Core Index
        outputMode  - Output Mode to be configured
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_RSTMUX0_RSTMUX_OMODE0

Example


        // Set the output mode for core 0 to ensure that the WD Timer generates a local reset
        CSL_BootCfgSetResetMuxOutputMode (0, 2);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetTimerInputSelection ( Uint16  timerInput)

============================================================================
CSL_BootCfgSetTimerInputSelection

Description
The function sets the timer input selection

Arguments

        timerInput  - Timer Input selection to be configured
     

Return Value
Timer Input Selection

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_TINPSEL_TINPSEL

Example


        // Set the timer input selection 
        CSL_BootCfgSetTimerInputSelection(0x1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgSetTimerOutputSelection ( Uint8  timerOutputSel0,
Uint8  timerOutputSel1 
)

============================================================================
CSL_BootCfgSetTimerOutputSelection

Description
The function sets the timer output selection

Arguments

        timerOutputSel0 -   Timer output selection 0
        timerOutputSel1 -   Timer output selection 1
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_TOUTSEL_TOUTSEL0,BOOTCFG_TOUTSEL_TOUTSEL1

Example


        // Set the timer output selections
        CSL_BootCfgGetTimerOutputSelection(0x0, 0x1);

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgUnblockMSMCParityReset ( void  )

============================================================================
CSL_BootCfgUnblockMSMCParityReset

Description
The function disables the MSMC Parity RAM block bit, thus enabling the MSMC parity RAM reset control.

Arguments
None

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_CHIP_MISC_CHIP_MISC_MSMC_BLOCK_PARITY_RST=0

Example


        // Un-Block MSMC parity RAM from reset
        CSL_BootCfgUnblockMSMCParityReset();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgUnlockKicker ( void  )

============================================================================
CSL_BootCfgUnlockKicker

Description
The function is used to unlock the kicker mechanism which will allow the Boot configuration MMR registers to be come writeable.

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_KICK_REG0=0x83e70b13, BOOTCFG_KICK_REG1=0x95a4f1e0

Example


        // Unlock the kicker to ensure Boot configuration MMR is writeable
        CSL_BootCfgUnlockKicker();

     

=============================================================================

CSL_IDEF_INLINE void CSL_BootCfgUnlockLEDPLL ( void  )

============================================================================
CSL_BootCfgUnlockLEDPLL

Description
The function is to used unlock the LED PLL (0)

Arguments

        None
     

Return Value
None

Pre Condition
None

Post Condition
None

Writes
BOOTCFG_LED_PLLLOCK0_STICKY_EN_LOCK=0

Example


        // Lock the LED PLL 
        CSL_BootCfgLockLEDPLL();

     

=============================================================================


Copyright 2014, Texas Instruments Incorporated