spiflash: cleanup unnecessary parenthesis

This commit is contained in:
Yann Sionneau 2015-05-15 11:02:16 +02:00 committed by Sebastien Bourdeauducq
parent d50bb8c55e
commit 3f7e161867
1 changed files with 6 additions and 6 deletions

View File

@ -4,17 +4,17 @@
#include <spiflash.h>
#define PAGE_PROGRAM_CMD (0x02)
#define WRDI_CMD (0x04)
#define RDSR_CMD (0x05)
#define WREN_CMD (0x06)
#define SE_CMD (0x20)
#define PAGE_PROGRAM_CMD 0x02
#define WRDI_CMD 0x04
#define RDSR_CMD 0x05
#define WREN_CMD 0x06
#define SE_CMD 0x20
#define BITBANG_CLK (1 << 1)
#define BITBANG_CS_N (1 << 2)
#define BITBANG_DQ_INPUT (1 << 3)
#define SR_WIP (1)
#define SR_WIP 1
static void flash_write_byte(unsigned char b);
static void flash_write_addr(unsigned int addr);