diff options
author | Robby Cai <R63905@freescale.com> | 2012-01-20 17:31:08 +0800 |
---|---|---|
committer | Robby Cai <R63905@freescale.com> | 2012-01-20 17:35:57 +0800 |
commit | 1a5fa49e7fc5f3516dfa667371c2be6b57a6ab32 (patch) | |
tree | 68ad5f1c4c877892bc1590fff32b825227f75752 /include | |
parent | 630bee9f3f76f5f6724d7b4ce10dd3239ee28553 (diff) | |
download | u-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 'include')
0 files changed, 0 insertions, 0 deletions