]> git.dujemihanovic.xyz Git - u-boot.git/commit
ftpmu010: fix relocation and enhance features
authorMacpaul Lin <macpaul@andestech.com>
Sun, 20 Mar 2011 23:44:06 +0000 (23:44 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 27 Apr 2011 17:38:08 +0000 (19:38 +0200)
commitcaddb8e41e178d3a27aebf6a15bb5e201481d93b
tree8076388a5ccab8a48deb9e2369e6132c12e84ace
parent286a5b253a5a154d8b0a1403258bc8b99600fc98
ftpmu010: fix relocation and enhance features

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: Macpaul Lin <macpaul@andestech.com>
drivers/power/ftpmu010.c
include/faraday/ftpmu010.h