summaryrefslogtreecommitdiff
path: root/drivers/fastboot
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2012-01-20 17:31:08 +0800
committerRobby Cai <R63905@freescale.com>2012-01-20 17:35:57 +0800
commit1a5fa49e7fc5f3516dfa667371c2be6b57a6ab32 (patch)
tree68ad5f1c4c877892bc1590fff32b825227f75752 /drivers/fastboot
parent630bee9f3f76f5f6724d7b4ce10dd3239ee28553 (diff)
downloadu-boot-imx-1a5fa49e7fc5f3516dfa667371c2be6b57a6ab32.zip
u-boot-imx-1a5fa49e7fc5f3516dfa667371c2be6b57a6ab32.tar.gz
u-boot-imx-1a5fa49e7fc5f3516dfa667371c2be6b57a6ab32.tar.bz2
ENGR00172490: FIX: PMIC registers may not be accessible in u-boot via SPI
The system PMIC registers may not be accessible in u-boot via SPI if function pmic_reg() is called in the latter part of boot up process in u-boot. It is because the imx_spi_slave structure is allocated from malloc() in the spi_setup_slave() function. However, this structure is not completely initialized, which may result in using a dirty control register value at CSPI during transfer. memset() the imx_spi_slave structure after malloc() can resolve this problem Please refer to CT39243849. Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'drivers/fastboot')
0 files changed, 0 insertions, 0 deletions