From d77b82b0db30650b26fe716035cbbae623d753f7 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 19 Aug 2012 16:40:13 +0200 Subject: Add initial incomplete tuna support. Signed-off-by: Denis 'GNUtoo' Carikli --- utils/bcm4751_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils/bcm4751_test.c') 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; -- cgit v1.2.3