SPI flash refactoring.
Extract common spiflash.c into core. Use spiflash.c in sysparam. Use memcpy in spiflash.c insted of hand-written version. Tests for spiflash.c
This commit is contained in:
parent
2105d5a5cd
commit
e84f47f944
9 changed files with 140 additions and 247 deletions
|
|
@ -36,4 +36,6 @@ typedef struct {
|
|||
uint32_t status_mask;
|
||||
} sdk_flashchip_t;
|
||||
|
||||
extern sdk_flashchip_t sdk_flashchip;
|
||||
|
||||
#endif /* _FLASHCHIP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue