From 69f7b5d836477cd0d05fa4e82fb7335058317fd7 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Sun, 10 Mar 2019 20:53:30 +0800 Subject: [PATCH] csr: replace with latest generated version Signed-off-by: Sean Cross --- sw/include/generated/csr.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/sw/include/generated/csr.h b/sw/include/generated/csr.h index 8db929c..7a44d60 100644 --- a/sw/include/generated/csr.h +++ b/sw/include/generated/csr.h @@ -365,42 +365,6 @@ static inline unsigned char usb_ep_0_in_ibuf_empty_read(void) { unsigned char r = csr_readl(0xe0004840); return r; } -#define CSR_USB_USB_TRANSFER_O_PID_ADDR 0xe0004844 -#define CSR_USB_USB_TRANSFER_O_PID_SIZE 1 -static inline unsigned char usb_usb_transfer_o_pid_read(void) { - unsigned char r = csr_readl(0xe0004844); - return r; -} -#define CSR_USB_USB_TRANSFER_ERROR_STATE_ADDR 0xe0004848 -#define CSR_USB_USB_TRANSFER_ERROR_STATE_SIZE 1 -static inline unsigned char usb_usb_transfer_error_state_read(void) { - unsigned char r = csr_readl(0xe0004848); - return r; -} -#define CSR_USB_USB_TRANSFER_ERROR_PID_ADDR 0xe000484c -#define CSR_USB_USB_TRANSFER_ERROR_PID_SIZE 1 -static inline unsigned char usb_usb_transfer_error_pid_read(void) { - unsigned char r = csr_readl(0xe000484c); - return r; -} -#define CSR_USB_DBG_LWH_ADDR 0xe0004850 -#define CSR_USB_DBG_LWH_SIZE 1 -static inline unsigned char usb_dbg_lwh_read(void) { - unsigned char r = csr_readl(0xe0004850); - return r; -} -#define CSR_USB_DBG_LWD_ADDR 0xe0004854 -#define CSR_USB_DBG_LWD_SIZE 1 -static inline unsigned char usb_dbg_lwd_read(void) { - unsigned char r = csr_readl(0xe0004854); - return r; -} -#define CSR_USB_DBG_LFP_ADDR 0xe0004858 -#define CSR_USB_DBG_LFP_SIZE 1 -static inline unsigned char usb_dbg_lfp_read(void) { - unsigned char r = csr_readl(0xe0004858); - return r; -} /* constants */ #define NMI_INTERRUPT 0