zy1000: fix non-JTAG master build
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>__archive__
parent
9f26aff39c
commit
6468c593c7
|
@ -1589,7 +1589,7 @@ int zy1000_init(void)
|
||||||
{
|
{
|
||||||
#if BUILD_ECOSBOARD
|
#if BUILD_ECOSBOARD
|
||||||
LOG_USER("%s", ZYLIN_OPENOCD_VERSION);
|
LOG_USER("%s", ZYLIN_OPENOCD_VERSION);
|
||||||
#else
|
#elif BUILD_ZY1000_MASTER
|
||||||
int fd;
|
int fd;
|
||||||
if((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1)
|
if((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue