Anastasia Klimchuk submitted this change.

View Change



1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Approvals: build bot (Jenkins): Verified Felix Singer: Looks good to me, approved Angel Pons: Looks good to me, approved
tests/parade_lspcon.c: Replace spaces with tabs

Spaces were accidentally introduced in previous commit, replace
with tabs as it should be.

Change-Id: Ic3a7d3004b8358953917a6666bcf8f1cdade02fd
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/67643
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
---
M tests/parade_lspcon.c
1 file changed, 27 insertions(+), 10 deletions(-)

diff --git a/tests/parade_lspcon.c b/tests/parade_lspcon.c
index a1c9f72..9d7bd23 100644
--- a/tests/parade_lspcon.c
+++ b/tests/parade_lspcon.c
@@ -19,19 +19,19 @@

/* Same macros as in parade_lspcon.c programmer. */
/* FIXME(aklm): should driver register maps be defined in `include/drivers/` for sharing with tests? */
-#define REGISTER_ADDRESS 0x4a
-#define SPISTATUS 0x9e
-#define SPISTATUS_SECTOR_ERASE_FINISHED 0
-#define SWSPICTL 0x93
-#define SWSPICTL_ENABLE_READBACK 0x8
-#define SWSPI_RDATA 0x91
+#define REGISTER_ADDRESS 0x4a
+#define SPISTATUS 0x9e
+#define SPISTATUS_SECTOR_ERASE_FINISHED 0
+#define SWSPICTL 0x93
+#define SWSPICTL_ENABLE_READBACK 0x8
+#define SWSPI_RDATA 0x91
/* Macros for test run. */
-#define DATA_TO_READ 0
-#define MAX_REG_BUF_LEN 2
+#define DATA_TO_READ 0
+#define MAX_REG_BUF_LEN 2

struct parade_lspcon_io_state {
- unsigned long addr; /* Address to read and write */
- uint8_t reg_buf[MAX_REG_BUF_LEN]; /* Last value written to the register address */
+ unsigned long addr; /* Address to read and write */
+ uint8_t reg_buf[MAX_REG_BUF_LEN]; /* Last value written to the register address */
};

static int parade_lspcon_ioctl(void *state, int fd, unsigned long request, va_list args)

To view, visit change 67643. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ic3a7d3004b8358953917a6666bcf8f1cdade02fd
Gerrit-Change-Number: 67643
Gerrit-PatchSet: 3
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Felix Singer <felixsinger@posteo.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged