From: Rafał Miłecki Date: Sat, 7 Mar 2015 12:31:42 +0000 (+0000) Subject: bcm53xx: fix printing NAND controller revision X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3bb0b48a5374a460b1ce147ffd6e0bc1c28ebd87;p=openwrt%2Fsvn-archive%2Farchive.git bcm53xx: fix printing NAND controller revision Signed-off-by: Rafał Miłecki SVN-Revision: 44622 --- diff --git a/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch b/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch index 3f082543af..19c8116140 100644 --- a/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch +++ b/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch @@ -1503,7 +1503,7 @@ + bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0); + 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_MINOR)); + diff --git a/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch b/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch index 90a9d96d83..d690dd730b 100644 --- a/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch +++ b/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch @@ -1503,7 +1503,7 @@ + bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0); + 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_MINOR)); +