aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_nand.c
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-10-01 13:43:13 -0700
committerXavier Ducrohet <xav@android.com>2009-10-01 13:54:30 -0700
commitacbee3546b9a380a4eb33daef3dccfac87c56b0b (patch)
tree02dedde1889bfcdd625ac6fdf8a0330cfe65d362 /hw/goldfish_nand.c
parentf9c07534fd5c3cf54592db4771ac27df3a13522d (diff)
downloadexternal_qemu-acbee3546b9a380a4eb33daef3dccfac87c56b0b.zip
external_qemu-acbee3546b9a380a4eb33daef3dccfac87c56b0b.tar.gz
external_qemu-acbee3546b9a380a4eb33daef3dccfac87c56b0b.tar.bz2
Move NAND size warning to debug log.
Change-Id: I67152761977b330e3f4c1bbe3d8eb99e48e2e7e7
Diffstat (limited to 'hw/goldfish_nand.c')
-rw-r--r--hw/goldfish_nand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/goldfish_nand.c b/hw/goldfish_nand.c
index e84a58b..2d23baa 100644
--- a/hw/goldfish_nand.c
+++ b/hw/goldfish_nand.c
@@ -18,8 +18,8 @@
#define DEBUG 1
#if DEBUG
-# define D(...) VERBOSE_PRINT(nand,__VA_ARGS__)
-# define D_ACTIVE VERBOSE_CHECK(nand)
+# define D(...) VERBOSE_PRINT(init,__VA_ARGS__)
+# define D_ACTIVE VERBOSE_CHECK(init)
# define T(...) VERBOSE_PRINT(nand_limits,__VA_ARGS__)
# define T_ACTIVE VERBOSE_CHECK(nand_limits)
#else
@@ -593,7 +593,7 @@ void nand_add_dev(const char *arg)
pad = dev_size % dev->erase_size;
if (pad != 0) {
dev_size += (dev->erase_size - pad);
- XLOG("rounding devsize up to a full eraseunit, now %llx\n", dev_size);
+ D("rounding devsize up to a full eraseunit, now %llx\n", dev_size);
}
dev->devname = devname;
dev->devname_len = devname_len;