altera: max_10 -> max10
This commit is contained in:
parent
ab8bed3f26
commit
5f673c6f14
|
|
@ -401,7 +401,7 @@ void Altera::max10_program()
|
|||
|
||||
|
||||
// Start!
|
||||
max_10_flow_enable();
|
||||
max10_flow_enable();
|
||||
|
||||
max10_flow_erase();
|
||||
max10_dsm_verify();
|
||||
|
|
@ -454,7 +454,7 @@ void Altera::max10_program()
|
|||
max10_dsm_verify();
|
||||
|
||||
/* disable ISC flow */
|
||||
max_10_flow_disable();
|
||||
max10_flow_disable();
|
||||
_jtag->set_state(Jtag::RUN_TEST_IDLE);
|
||||
}
|
||||
|
||||
|
|
@ -563,7 +563,7 @@ uint32_t Altera::verifyxFM(const uint8_t *cfg_data, uint32_t base_addr, uint32_t
|
|||
return errors;
|
||||
}
|
||||
|
||||
void Altera::max_10_flow_enable()
|
||||
void Altera::max10_flow_enable()
|
||||
{
|
||||
const int enable_delay = 350000120 / _clk_period; // must be 1 tck
|
||||
const uint8_t cmd[2] = MAX10_ISC_ENABLE;
|
||||
|
|
@ -573,7 +573,7 @@ void Altera::max_10_flow_enable()
|
|||
_jtag->toggleClk(enable_delay);
|
||||
}
|
||||
|
||||
void Altera::max_10_flow_disable()
|
||||
void Altera::max10_flow_disable()
|
||||
{
|
||||
// ISC_DISABLE WAIT 100.0e-3)
|
||||
// BYPASS WAIT 305.0e-6
|
||||
|
|
|
|||
|
|
@ -101,8 +101,8 @@ class Altera: public Device, SPIInterface {
|
|||
void max10_dsm_program_success(const uint32_t pgm_success_addr);
|
||||
void max10_flow_program_donebit(const uint32_t done_bit_addr);
|
||||
void max10_addr_shift(uint32_t addr);
|
||||
void max_10_flow_enable();
|
||||
void max_10_flow_disable();
|
||||
void max10_flow_enable();
|
||||
void max10_flow_disable();
|
||||
void max10_flow_erase();
|
||||
void max10_dsm_program(const uint8_t *dsm_data, const uint32_t dsm_len);
|
||||
bool max10_dsm_verify();
|
||||
|
|
|
|||
Loading…
Reference in New Issue