sb/amd/pi/hudson: Fix UART address math
commit500d81a95a694ddf827f20b853a76de7fd84e1b5
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Thu, 6 Dec 2018 00:30:44 +0000 (5 17:30 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 7 Dec 2018 11:34:13 +0000 (7 11:34 +0000)
tree855e6d1950b91742500cc745c9a9ba6f90956af0
parentbaa4c07ed4146bf744f47cbb8569a7b91d84edfe
sb/amd/pi/hudson: Fix UART address math

Correct a build error that occurs when HUDSON_UART is selected.
Replace sizeof() of a nonexistent variable with the intended type.
This was introduced in
   bd48b23 "southbridge//hudson: Get rid of void pointer math".

BUG=b:118484178
TEST=Build Bettong with Chipset/"UART controller for Kern"

Change-Id: Icc0ff9d80c3f5cab9ab837cf1cd0cd8eb0753284
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30072
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
src/southbridge/amd/pi/hudson/early_setup.c