URL
https://opencores.org/ocsvn/openarty/openarty/trunk
[/] [openarty/] [trunk/] [sw/] [host/] [flashdrvr.cpp] - Diff between revs 30 and 32
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 30 |
Rev 32 |
Line 165... |
Line 165... |
|
|
#define VCONF_VALUE 0x8b
|
#define VCONF_VALUE 0x8b
|
|
|
bool FLASHDRVR::verify_config(void) {
|
bool FLASHDRVR::verify_config(void) {
|
unsigned cfg = m_fpga->readio(R_QSPI_VCONF);
|
unsigned cfg = m_fpga->readio(R_QSPI_VCONF);
|
printf("CFG = %02x\n", cfg);
|
// printf("CFG = %02x\n", cfg);
|
return (cfg == VCONF_VALUE);
|
return (cfg == VCONF_VALUE);
|
}
|
}
|
|
|
void FLASHDRVR::set_config(void) {
|
void FLASHDRVR::set_config(void) {
|
// There is some delay associated with these commands, but it should
|
// There is some delay associated with these commands, but it should
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.