mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Enable DIO by default
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#pragma constseg BANK1
|
||||
|
||||
extern __code struct machine machine;
|
||||
extern __xdata uint16_t mpos;
|
||||
extern __xdata uint8_t stpEnabled;
|
||||
extern __code uint8_t log_to_phys_port[9];
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ __xdata uint8_t outbuf[TCP_OUTBUF_SIZE];
|
||||
__xdata uint8_t entry;
|
||||
__xdata uint16_t slen;
|
||||
__xdata uint16_t o_idx;
|
||||
__xdata uint16_t mpos;
|
||||
__xdata uint16_t len_left;
|
||||
__xdata uint16_t cont_len;
|
||||
__xdata uint32_t cont_addr;
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
#include "rtl837x_sfr.h"
|
||||
|
||||
__xdata uint8_t dio_enabled;
|
||||
__xdata uint8_t markbuf[16];
|
||||
extern __xdata uint16_t mpos;
|
||||
__xdata struct flash_region_t flash_region;
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1738,7 +1738,7 @@ void bootloader(void)
|
||||
|
||||
print_string("\nStarting up...\n");
|
||||
print_string(" Flash controller\n");
|
||||
flash_init(0);
|
||||
flash_init(1);
|
||||
|
||||
// Reset NIC
|
||||
reg_bit_set(RTL837X_REG_RESET, RESET_NIC_BIT);
|
||||
|
||||
Reference in New Issue
Block a user