diff options
author | stroese <stroese> | 2005-05-03 06:12:20 +0000 |
---|---|---|
committer | stroese <stroese> | 2005-05-03 06:12:20 +0000 |
commit | 81b83c9ecc5dc9044d805221a44f2eec82b8d57d (patch) | |
tree | 693dfacbf7b61bf13c4ec54080d3f2685ca23883 /common | |
parent | dcb2f95a60c094d482574fa9fb01001b2e711a4e (diff) | |
download | u-boot-imx-81b83c9ecc5dc9044d805221a44f2eec82b8d57d.zip u-boot-imx-81b83c9ecc5dc9044d805221a44f2eec82b8d57d.tar.gz u-boot-imx-81b83c9ecc5dc9044d805221a44f2eec82b8d57d.tar.bz2 |
* Patch by Matthias Fuchs, 03 May 2005:
Added missing variable declaration in cmd_nand.c
Modified CFG_PCI_PTM1MS in configs/PLU405.h to map 128MB ram
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_nand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 6057dd1..dc268c8 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -1218,6 +1218,8 @@ static int nand_write_page (struct nand_chip *nand, } if (nand->bus16) { for (i = 0; i < nand->oobsize; i += 2) { + u16 val; + val = READ_NAND (nand->IO_ADDR); nand->data_buf[i] = val & 0xff; nand->data_buf[i + 1] = val >> 8; |