Memtest86+: fix serial_console_setup() end of string check

Coverity spotted an incorrect 'always true' if statement.

	if (*end != '\0' || *end != ' ')
		return;  /* garbage at the end */

The || obviously should be &&.

This code would fail if the #bits was supplied in the baud string.

Change-Id: I58fe87c1ccb767df73ff202df5b1512894307637
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Found-by: Coverity (75573)
Reviewed-on: https://review.coreboot.org/14200
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
1 file changed