Fix ONFI chip detection.
Submitted by: Alexander Fedorov <alexander.fedorov@rtlservice.com>
This commit is contained in:
parent
b0dcf6c59c
commit
0242992132
@ -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 */
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user