font: increment pointer to fontbuf by font height

Instead of always assuming that the font height is 32 bytes, use
hdr.height to increment our fontbuf pointer. hdr.height is the size of
the chunks we read from the .psf file.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
serial: fix SERIAL directive for ports > 0

There is a bug in the SERIAL directive parsing code that means that
using a port other than the first (SERIAL 0) results in a non-working
serial console. We need to use the serial port number from the config
file to offset the BIOS I/O port base address, otherwise we always
lookup the I/O port address for the first serial port instead of the one
the user specified.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
font: load data as a single block

The only reason for a loop is to interleave data, which we don't need
anymore; instead the data is stored in packed form.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
serial: Clean up and abstract handling of serial ports

The special handling of serial ports 0-3 meaning "look in a BIOS
table" is at least officially BIOS-specific, so create an inline
function and move it to bios.h.

While we are at it, make the function look slightly less like
converted assembly.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
font: write to 'fontbuf', not random memory

commit be5a345d385d ("font: load data as a single block") cleaned up the
loop for reading into the font buffer but made the mistake of dropping
the assignment to 'p', which means that the _fread() call is writing
through a garbage pointer. Since 'p' was only used to keep track while
writing into the font buffer in a loop, we can now delete it and
reference 'fontbuf' directly.

Also delete the unused variable 'i'.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
NEWS: Clarify network stack files

Point users in the right direction when looking for the new and legacy
network stacks.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
NEWS: Mention noteworthy changes in 5.10

Signed-off-by: Matt Fleming <matt.fleming@intel.com>