mirror of https://github.com/hak5/openwrt.git
bcm53xx: fix printing NAND controller revision
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44622lede-17.01
parent
fd17ad3d9a
commit
c3b9b35155
|
@ -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));
|
||||||
+
|
+
|
||||||
|
|
|
@ -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));
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in New Issue