zy1000: fix non-JTAG master build

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
__archive__
Øyvind Harboe 2010-09-26 20:37:53 +02:00
parent 9f26aff39c
commit 6468c593c7
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{ {