Fix ONFI chip detection.

Submitted by:	Alexander Fedorov <alexander.fedorov@rtlservice.com>
This commit is contained in:
Grzegorz Bernacki 2013-05-27 06:24:31 +00:00
parent b0dcf6c59c
commit 0242992132
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ struct onfi_params {
uint16_t vendor_rev;
uint8_t vendor_spec[8];
uint16_t crc;
};
}__attribute__((packed));
struct nand_ecc_data {
int eccsize; /* Number of data bytes per ECC step */

View File

@ -331,7 +331,7 @@ static int
nand_probe_onfi(device_t bus, uint8_t *onfi_compliant)
{
device_t nfc;
char onfi_id[] = {'o', 'n', 'f', 'i', '\0'};
char onfi_id[] = {'O', 'N', 'F', 'I', '\0'};
int i;
nand_debug(NDBG_BUS,"probing ONFI");