diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-05-05 15:36:37 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-05-06 18:15:18 +0200 |
commit | 043ee2e65b3925f39983c5a0637dad50b189749f (patch) | |
tree | 7af344de8af7a0b0578db7a607b1fe847bb9a308 /Platform/RaspberryPi/RPi3 | |
parent | 3c29ba327dd2bb77af04c35ea02946ac653354ee (diff) |
Platform/RaspberryPi: query firmware for 16550 input clock at boot on RPi3
Query the firmware for the clock rate that is used to drive the
16550 baud clock, so that we can program the correct baud rate.
Co-authored-by: Pete Batard <pete@akeo.ie>
Co-authored-by: Andrei Warkentin <andrey.warkentin@gmail.com>
Co-authored-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Pete Batard <pete@akeo.ie>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Pete Batard <pete@akeo.ie>
Tested-by: Pete Batard <pete@akeo.ie>
Diffstat (limited to 'Platform/RaspberryPi/RPi3')
-rw-r--r-- | Platform/RaspberryPi/RPi3/RPi3.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc index 96b27400..e6d060fe 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -230,6 +230,7 @@ [BuildOptions]
GCC:*_*_*_CC_FLAGS = -DRPI_MODEL=3
+ GCC:*_*_*_PP_FLAGS = -DRPI_MODEL=3
GCC:*_*_*_ASLPP_FLAGS = -DRPI_MODEL=3
GCC:*_*_*_ASLCC_FLAGS = -DRPI_MODEL=3
GCC:*_*_*_VFRPP_FLAGS = -DRPI_MODEL=3
|