refactor: move FPGA_BITSTREAM_* to fpga.h

This commit is contained in:
douniwan5788 2024-08-26 02:06:29 +08:00
commit 8928883f2d
5 changed files with 15 additions and 6 deletions

View file

@ -20,6 +20,7 @@
#define __FPGALOADER_H
#include "common.h"
#include "fpga.h"
#define FpgaDisableSscDma(void) AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTDIS;
#define FpgaEnableSscDma(void) AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN;