mtd: bcm63xxpart: use size macro for CFE block size
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Aug 5 16:59:02 EDT 2013
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=c88fd9d9705506b5d75757735745183e5f2ff2cd
Commit: c88fd9d9705506b5d75757735745183e5f2ff2cd
Parent: b966a40a3854e1263b3528ef95bc9e6017e8e515
Author: Jonas Gorski <jogo at openwrt.org>
AuthorDate: Sat Mar 23 14:07:47 2013 +0100
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Aug 5 18:58:31 2013 +0100
mtd: bcm63xxpart: use size macro for CFE block size
Signed-off-by: Jonas Gorski <jogo at openwrt.org>
Acked-by: Florian Fainelli <florian at openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/bcm63xxpart.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/bcm63xxpart.c b/drivers/mtd/bcm63xxpart.c
index 6eeb84c..fc3d7d0 100644
--- a/drivers/mtd/bcm63xxpart.c
+++ b/drivers/mtd/bcm63xxpart.c
@@ -27,6 +27,7 @@
#include <linux/crc32.h>
#include <linux/module.h>
#include <linux/kernel.h>
+#include <linux/sizes.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/mtd/mtd.h>
@@ -37,7 +38,7 @@
#define BCM63XX_EXTENDED_SIZE 0xBFC00000 /* Extended flash address */
-#define BCM63XX_CFE_BLOCK_SIZE 0x10000 /* always at least 64KiB */
+#define BCM63XX_CFE_BLOCK_SIZE SZ_64K /* always at least 64KiB */
#define BCM63XX_CFE_MAGIC_OFFSET 0x4e0
More information about the linux-mtd-cvs
mailing list