[U-Boot] [v2 PATCH 08/14] cmd: qfw: rename qemu_fw_cfg.[c|h] to qfw.[c|h]
Miao Yan
yanmiaobest at gmail.com
Wed May 18 11:39:54 CEST 2016
Make file names aligned with CONFIG_QFW
Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
---
arch/x86/cpu/mp_init.c | 2 +-
arch/x86/cpu/qemu/acpi_table.c | 2 +-
arch/x86/cpu/qemu/cpu.c | 2 +-
arch/x86/cpu/qemu/qemu.c | 2 +-
cmd/qfw.c | 2 +-
drivers/misc/Makefile | 2 +-
drivers/misc/{qemu_fw_cfg.c => qfw.c} | 2 +-
include/{qemu_fw_cfg.h => qfw.h} | 0
8 files changed, 7 insertions(+), 7 deletions(-)
rename drivers/misc/{qemu_fw_cfg.c => qfw.c} (99%)
rename include/{qemu_fw_cfg.h => qfw.h} (100%)
diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c
index c44a286..8207274 100644
--- a/arch/x86/cpu/mp_init.c
+++ b/arch/x86/cpu/mp_init.c
@@ -11,7 +11,7 @@
#include <dm.h>
#include <errno.h>
#include <malloc.h>
-#include <qemu_fw_cfg.h>
+#include <qfw.h>
#include <asm/atomic.h>
#include <asm/cpu.h>
#include <asm/interrupt.h>
diff --git a/arch/x86/cpu/qemu/acpi_table.c b/arch/x86/cpu/qemu/acpi_table.c
index b17fa03..5bb1756 100644
--- a/arch/x86/cpu/qemu/acpi_table.c
+++ b/arch/x86/cpu/qemu/acpi_table.c
@@ -8,7 +8,7 @@
#include <command.h>
#include <errno.h>
#include <malloc.h>
-#include <qemu_fw_cfg.h>
+#include <qfw.h>
#include <asm/io.h>
#include <asm/tables.h>
#include <asm/e820.h>
diff --git a/arch/x86/cpu/qemu/cpu.c b/arch/x86/cpu/qemu/cpu.c
index 4d2989a..b1a965e 100644
--- a/arch/x86/cpu/qemu/cpu.c
+++ b/arch/x86/cpu/qemu/cpu.c
@@ -8,7 +8,7 @@
#include <cpu.h>
#include <dm.h>
#include <errno.h>
-#include <qemu_fw_cfg.h>
+#include <qfw.h>
#include <asm/cpu.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/x86/cpu/qemu/qemu.c b/arch/x86/cpu/qemu/qemu.c
index c29add3..680e558 100644
--- a/arch/x86/cpu/qemu/qemu.c
+++ b/arch/x86/cpu/qemu/qemu.c
@@ -6,7 +6,7 @@
#include <common.h>
#include <pci.h>
-#include <qemu_fw_cfg.h>
+#include <qfw.h>
#include <asm/irq.h>
#include <asm/post.h>
#include <asm/processor.h>
diff --git a/cmd/qfw.c b/cmd/qfw.c
index 37f1aa6..c6730bf 100644
--- a/cmd/qfw.c
+++ b/cmd/qfw.c
@@ -7,7 +7,7 @@
#include <common.h>
#include <command.h>
#include <errno.h>
-#include <qemu_fw_cfg.h>
+#include <qfw.h>
/*
* This function prepares kernel for zboot. It loads kernel data
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 4893086..98704f2 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -43,4 +43,4 @@ obj-$(CONFIG_PCA9551_LED) += pca9551_led.o
obj-$(CONFIG_RESET) += reset-uclass.o
obj-$(CONFIG_FSL_DEVICE_DISABLE) += fsl_devdis.o
obj-$(CONFIG_WINBOND_W83627) += winbond_w83627.o
-obj-$(CONFIG_QFW) += qemu_fw_cfg.o
+obj-$(CONFIG_QFW) += qfw.o
diff --git a/drivers/misc/qemu_fw_cfg.c b/drivers/misc/qfw.c
similarity index 99%
rename from drivers/misc/qemu_fw_cfg.c
rename to drivers/misc/qfw.c
index 0f72549..59d9376 100644
--- a/drivers/misc/qemu_fw_cfg.c
+++ b/drivers/misc/qfw.c
@@ -8,7 +8,7 @@
#include <command.h>
#include <errno.h>
#include <malloc.h>
-#include <qemu_fw_cfg.h>
+#include <qfw.h>
#include <asm/io.h>
#include <linux/list.h>
diff --git a/include/qemu_fw_cfg.h b/include/qfw.h
similarity index 100%
rename from include/qemu_fw_cfg.h
rename to include/qfw.h
--
1.9.1
More information about the U-Boot
mailing list