15 Nov, 2018

2 commits


12 Nov, 2018

1 commit


10 Aug, 2018

1 commit


14 Jun, 2018

1 commit


27 Apr, 2018

3 commits


10 Mar, 2018

2 commits

  • After the UART was initialized, we may still have bogus data in the
    RX queue if it was enabled with incorrect pin muxing before.

    So let's flush the RX queue whenever we initialize baud rates.

    This fixes a regression with the dynamic pinmuxing code when enable_uart=1
    is not set in config.txt on Raspberry Pis that use pl011 for serial.

    Fixes: caf2233b28 ("bcm283x: Add pinctrl driver")
    Reported-by: Göran Lundberg
    Reported-by: Peter Robinson
    Signed-off-by: Alexander Graf
    Tested-by: Peter Robinson
    Tested-by: Tuomas Tynkkynen

    Alexander Graf
     
  • After the UART was initialized, we may still have bogus data in the
    RX queue if it was enabled with incorrect pin muxing before.

    So let's flush the RX queue whenever we initialize baud rates.

    This fixes a regression with the dynamic pinmuxing code when enable_uart=1
    is not set in config.txt.

    Fixes: caf2233b28 ("bcm283x: Add pinctrl driver")
    Reported-by: Göran Lundberg
    Reported-by: Peter Robinson
    Signed-off-by: Alexander Graf
    Tested-by: Peter Robinson
    Tested-by: Tuomas Tynkkynen

    Alexander Graf
     

23 Feb, 2018

1 commit


16 Feb, 2018

1 commit


29 Jan, 2018

12 commits


28 Jan, 2018

2 commits


26 Jan, 2018

1 commit


25 Jan, 2018

3 commits


24 Jan, 2018

1 commit


20 Jan, 2018

1 commit


16 Jan, 2018

1 commit


10 Jan, 2018

1 commit


30 Nov, 2017

1 commit


28 Nov, 2017

1 commit


17 Nov, 2017

1 commit

  • In U-boot, serial_tstc was use to determine is there have a character in
    serial console that pending for read. If there is no "pending" function
    implemented in serial driver, the serial-uclass will return "true(1)"
    to indicate there have a character pending to read.

    Thus, read a character from nulldev serial will result in continuous
    getting -EAGAIN return which might lead system to hang.

    This commit is to fix a bug in nulldev serial which implement "pending"
    function in nulldev serial to always indicate there is no character in
    console that pending for read.

    Signed-off-by: Wilson Lee
    Cc: Joe Hershberger
    Cc: Keng Soon Cheah
    Cc: Chen Yee Chew
    Cc: Bin Meng

    Wilson Lee
     

06 Nov, 2017

2 commits


16 Oct, 2017

1 commit