]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: serial: Update to use membuff
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2020 03:36:50 +0000 (20:36 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 14:58:17 +0000 (07:58 -0700)
commit21f9075def91ccbed3620c187cc2e15c0a94bac4
treeafdc5a953b3f1cda3be3d080fdbd4cb1a9fe4a8b
parent1bf0a4021905ed7ab9f1909a8422b7a71147b653
sandbox: serial: Update to use membuff

Rather than implementing our own circular queue, use membuff. This allows
us to read multiple bytes at once into the serial input.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/sandbox.c