Skip to content
  • Macpaul Lin's avatar
    ftpmu010: fix relocation and enhance features · caddb8e4
    Macpaul Lin authored
    1. ftpmu010.h: fix and add definitions
       Enhanced for more features and asm related support
       according to datasheet.
    
       Note:
        - FTPMU010_PDLLCR0_HCLKOUTDIS is "incorrect" in datasheet.
        - FTPMU010_PDLLCR0_DLLFRANG is only 1 bit at bit #19. (not 20-19)
        - FTPMU010_PDLLCR0_HCLKOUTDIS is 4 bits at bit #20
    
    . (not 24-21)
    
    2. ftpmu010.c: enhance features and fix relocation
       - The following functions is added for pmu features.
         ftpmu010_mfpsr_select_dev()
         ftpmu010_sdramhtc_set()
       - This patch also fix the declare statement for relocation.
    
    Signed-off-by: default avatarMacpaul Lin <macpaul@andestech.com>
    caddb8e4