/* Reset the flash controller */
static uint16_t denali_nand_reset(struct denali_nand_info *denali)
{
- uint32_t i;
+ int i;
dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
__FILE__, __LINE__, __func__);
{
uint16_t status = PASS;
uint32_t id_bytes[8], addr;
- uint8_t i, maf_id, device_id;
+ uint8_t maf_id, device_id;
+ int i;
dev_dbg(denali->dev,
"%s, Line %d, Function: %s\n",
const uint8_t *buf,
int len)
{
- uint32_t i, *buf32;
+ uint32_t *buf32;
+ int i;
/*
* verify that the len is a multiple of 4.
uint8_t *buf,
int len)
{
- uint32_t i, *buf32;
+ uint32_t *buf32;
+ int i;
/*
* we assume that len will be a multiple of 4, if not it would be nice