summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/uart.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-24 14:04:07 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-29 08:47:58 +0000
commit318e5830dbed98e6ae7574812b4d8b5b6496341c (patch)
tree5fb6937be5cca7b3f214f767cd7f674903fb5265 /src/soc/amd/picasso/uart.c
parentd4ef9a44857cde949dff3ba2bb468eb5910f75ac (diff)
soc/amd/picasso: Use a helper to set bits in PSP_SOFTFUSE
This change updates Makefile.inc to use a helper function set-bit to set a bit for the soft fuses. It gets rid of the different checks that were done to set soft fuses to magic values in different places. This is still not the best way to handle the fuses and instead this logic should be embedded within the amdfwtool by making it aware of specific platforms. But until that happens, we want to avoid having to add PSP_SOFTFUSE setting in various places with different values. BUG=b:154880818 TEST=Verified that the softfuse values are same with and without this change. Change-Id: I73887eb9c56ca5bb1c08d298fa818d698da1080b Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40700 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/uart.c')
0 files changed, 0 insertions, 0 deletions