summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2009-07-22 17:30:12 +0800
committerFred Fan <r01011@freescale.com>2009-09-10 17:04:16 +0800
commit43ec730ccf4ce59e97b1ceb39c02e51661f1dfbb (patch)
tree0fa5ef8ad000270113e3588ce6c9e195bcbaf0c7 /drivers/spi
parentabf0610e5250ed69cc542e19f19c8a6812f4914e (diff)
downloadu-boot-imx-43ec730ccf4ce59e97b1ceb39c02e51661f1dfbb.zip
u-boot-imx-43ec730ccf4ce59e97b1ceb39c02e51661f1dfbb.tar.gz
u-boot-imx-43ec730ccf4ce59e97b1ceb39c02e51661f1dfbb.tar.bz2
ENGR00114393: Support Atmel AT45DB321D SPI NOR flash.
Support Atmel AT45DB321D SPI NOR flash. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/imx_spi_pmic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/imx_spi_pmic.c b/drivers/spi/imx_spi_pmic.c
index 79d798d..2ed795f 100644
--- a/drivers/spi/imx_spi_pmic.c
+++ b/drivers/spi/imx_spi_pmic.c
@@ -51,7 +51,7 @@ u32 pmic_reg(struct spi_slave *slave, u32 reg, u32 val, u32 write)
return 0;
}
pmic_tx = (write << 31) | (reg << 25) | (val & 0x00FFFFFF);
- printf("reg=0x%x, val=0x%08x\n", reg, pmic_tx);
+ debug("reg=0x%x, val=0x%08x\n", reg, pmic_tx);
if (spi_xfer(slave, 4 << 3, (u8 *)&pmic_tx, (u8 *)&pmic_rx,
SPI_XFER_BEGIN | SPI_XFER_END)) {