summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/bcm4751_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/bcm4751_test.c b/utils/bcm4751_test.c
index 9e17af9..538978c 100644
--- a/utils/bcm4751_test.c
+++ b/utils/bcm4751_test.c
@@ -144,8 +144,8 @@ int main(int argc, char *argv[])
usleep(250000);
- printf("Opening /dev/s3c2410_serial1\n");
- serial_fd = open("/dev/s3c2410_serial1", O_RDWR|O_NOCTTY|O_NONBLOCK);
+ printf("Opening /dev/ttyO0\n");
+ serial_fd = open("/dev/ttyO0", O_RDWR|O_NOCTTY|O_NONBLOCK);
if(serial_fd < 0) {
printf("Serial fd is wrong, aborting\n");
@@ -156,8 +156,8 @@ int main(int argc, char *argv[])
ioctl(serial_fd, TCFLSH, 0x2);
cfmakeraw(&termios);
- cfsetispeed(&termios, B115200);
- cfsetospeed(&termios, B115200);
+ cfsetispeed(&termios, B460800);
+ cfsetospeed(&termios, B460800);
// This is the magic to contact the chip
termios.c_cflag = 0x800018b2;