coreboot-kgpe-d16/payloads/libpayload/drivers/serial
Thomas Heijligen 2332d29ba9 libpayload: Fix compiler warnings
Following warnings occur when compiling with
`i386-elf-gcc (coreboot toolchain v2022-09-18_c8870b1334) 11.2.0`

drivers/serial/8250.c:75: [-Werror=unused-variable]
  Move variable declaration inside the
  `#if !CONFIG(LP_PL011_SERIAL_CONSOLE)` block

drivers/udc/dwc2.c:505: [-Werror=format=]
  use `%zd` to match type `size_t`

Change-Id: Id285c24cba790f181fa203f3117e5df35bed27c4
Signed-off-by: Thomas Heijligen <src@posteo.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69764
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2022-11-21 21:08:30 +00:00
..
8250.c libpayload: Fix compiler warnings 2022-11-21 21:08:30 +00:00
ipq40xx.c libpayload: Cache physical location of serial-console struct 2020-08-24 09:13:09 +00:00
ipq806x.c treewide: Unify Google branding 2022-07-04 14:02:26 +00:00
qcom_qupv3_serial.c payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
qcs405.c libpayload: Cache physical location of serial-console struct 2020-08-24 09:13:09 +00:00
s5p.c libpayload: Cache physical location of serial-console struct 2020-08-24 09:13:09 +00:00
serial.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00