summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Armbruster2019-03-08 10:45:59 +0100
committerMarkus Armbruster2019-03-11 22:53:44 +0100
commite7b6274197c5f096860014ca750544d6aca0b9b9 (patch)
tree78bb7bad5ea7177dda420c60c7e97528ffc17bb5 /include
parentpflash_cfi01: Log use of flawed "write to buffer" (diff)
downloadqemu-e7b6274197c5f096860014ca750544d6aca0b9b9.tar.gz
qemu-e7b6274197c5f096860014ca750544d6aca0b9b9.tar.xz
qemu-e7b6274197c5f096860014ca750544d6aca0b9b9.zip
pflash: Rename *CFI_PFLASH* to *PFLASH_CFI*
pflash_cfi01.c and pflash_cfi02.c start their identifiers with pflash_cfi01_ and pflash_cfi02_ respectively, except for CFI_PFLASH01(), TYPE_CFI_PFLASH01, CFI_PFLASH02(), TYPE_CFI_PFLASH02. Rename for consistency. Suggested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20190308094610.21210-5-armbru@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/block/flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/block/flash.h b/include/hw/block/flash.h
index 51d8f60c65..333005d9ff 100644
--- a/include/hw/block/flash.h
+++ b/include/hw/block/flash.h
@@ -7,7 +7,7 @@
/* pflash_cfi01.c */
-#define TYPE_CFI_PFLASH01 "cfi.pflash01"
+#define TYPE_PFLASH_CFI01 "cfi.pflash01"
typedef struct PFlashCFI01 PFlashCFI01;
@@ -24,7 +24,7 @@ MemoryRegion *pflash_cfi01_get_memory(PFlashCFI01 *fl);
/* pflash_cfi02.c */
-#define TYPE_CFI_PFLASH02 "cfi.pflash02"
+#define TYPE_PFLASH_CFI02 "cfi.pflash02"
typedef struct PFlashCFI02 PFlashCFI02;