bcm53xx: fix printing NAND controller revision

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44622
This commit is contained in:
Rafał Miłecki 2015-03-07 12:31:42 +00:00
parent fd17ad3d9a
commit c3b9b35155
2 changed files with 2 additions and 2 deletions

View file

@ -1503,7 +1503,7 @@
+ bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0); + bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0);
+ udelay(10); + udelay(10);
+ +
+ dev_info(dev, "NAND Controller rev %d.%d\n", + dev_info(dev, "NAND Controller rev %d.%02d\n",
+ bcmnand_reg_read(ctrl, NANDC_REV_MAJOR), + bcmnand_reg_read(ctrl, NANDC_REV_MAJOR),
+ bcmnand_reg_read(ctrl, NANDC_REV_MINOR)); + bcmnand_reg_read(ctrl, NANDC_REV_MINOR));
+ +

View file

@ -1503,7 +1503,7 @@
+ bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0); + bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0);
+ udelay(10); + udelay(10);
+ +
+ dev_info(dev, "NAND Controller rev %d.%d\n", + dev_info(dev, "NAND Controller rev %d.%02d\n",
+ bcmnand_reg_read(ctrl, NANDC_REV_MAJOR), + bcmnand_reg_read(ctrl, NANDC_REV_MAJOR),
+ bcmnand_reg_read(ctrl, NANDC_REV_MINOR)); + bcmnand_reg_read(ctrl, NANDC_REV_MINOR));
+ +