[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 9/9] hw/sd: sd.h: Cosmetic change of using spaces
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 9/9] hw/sd: sd.h: Cosmetic change of using spaces |
Date: |
Sun, 24 Jan 2021 21:11:06 +0100 |
From: Bin Meng <bin.meng@windriver.com>
QEMU coding convention prefers spaces over tabs.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210123104016.17485-15-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
include/hw/sd/sd.h | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/include/hw/sd/sd.h b/include/hw/sd/sd.h
index 59d108d4535..05ef9b73e56 100644
--- a/include/hw/sd/sd.h
+++ b/include/hw/sd/sd.h
@@ -33,27 +33,27 @@
#include "hw/qdev-core.h"
#include "qom/object.h"
-#define OUT_OF_RANGE (1 << 31)
-#define ADDRESS_ERROR (1 << 30)
-#define BLOCK_LEN_ERROR (1 << 29)
-#define ERASE_SEQ_ERROR (1 << 28)
-#define ERASE_PARAM (1 << 27)
-#define WP_VIOLATION (1 << 26)
-#define CARD_IS_LOCKED (1 << 25)
-#define LOCK_UNLOCK_FAILED (1 << 24)
-#define COM_CRC_ERROR (1 << 23)
-#define ILLEGAL_COMMAND (1 << 22)
-#define CARD_ECC_FAILED (1 << 21)
-#define CC_ERROR (1 << 20)
-#define SD_ERROR (1 << 19)
-#define CID_CSD_OVERWRITE (1 << 16)
-#define WP_ERASE_SKIP (1 << 15)
-#define CARD_ECC_DISABLED (1 << 14)
-#define ERASE_RESET (1 << 13)
-#define CURRENT_STATE (7 << 9)
-#define READY_FOR_DATA (1 << 8)
-#define APP_CMD (1 << 5)
-#define AKE_SEQ_ERROR (1 << 3)
+#define OUT_OF_RANGE (1 << 31)
+#define ADDRESS_ERROR (1 << 30)
+#define BLOCK_LEN_ERROR (1 << 29)
+#define ERASE_SEQ_ERROR (1 << 28)
+#define ERASE_PARAM (1 << 27)
+#define WP_VIOLATION (1 << 26)
+#define CARD_IS_LOCKED (1 << 25)
+#define LOCK_UNLOCK_FAILED (1 << 24)
+#define COM_CRC_ERROR (1 << 23)
+#define ILLEGAL_COMMAND (1 << 22)
+#define CARD_ECC_FAILED (1 << 21)
+#define CC_ERROR (1 << 20)
+#define SD_ERROR (1 << 19)
+#define CID_CSD_OVERWRITE (1 << 16)
+#define WP_ERASE_SKIP (1 << 15)
+#define CARD_ECC_DISABLED (1 << 14)
+#define ERASE_RESET (1 << 13)
+#define CURRENT_STATE (7 << 9)
+#define READY_FOR_DATA (1 << 8)
+#define APP_CMD (1 << 5)
+#define AKE_SEQ_ERROR (1 << 3)
enum SDPhySpecificationVersion {
SD_PHY_SPECv1_10_VERS = 1,
--
2.26.2
- [PULL 0/9] SD/MMC patches for 2021-01-24, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 1/9] hw/sd: ssi-sd: Fix incorrect card response sequence, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 2/9] hw/sd: sd: Support CMD59 for SPI mode, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 3/9] hw/sd: sd: Drop sd_crc16(), Philippe Mathieu-Daudé, 2021/01/24
- [PULL 4/9] util: Add CRC16 (CCITT) calculation routines, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 5/9] hw/sd: ssi-sd: Suffix a data block with CRC16, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 6/9] hw/sd: ssi-sd: Add a state representing Nac, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 7/9] hw/sd: ssi-sd: Fix the wrong command index for STOP_TRANSMISSION, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 8/9] hw/sd: ssi-sd: Use macros for the dummy value and tokens in the transfer, Philippe Mathieu-Daudé, 2021/01/24
- [PULL 9/9] hw/sd: sd.h: Cosmetic change of using spaces,
Philippe Mathieu-Daudé <=
- Re: [PULL 0/9] SD/MMC patches for 2021-01-24, Peter Maydell, 2021/01/25