aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2020-01-28 10:58:13 -0700
committerAaron Durbin <adurbin@chromium.org>2020-01-31 17:11:53 +0000
commit3bee7df954fd4285f8445c54de90b8a12fdbc9fd (patch)
treeddda7792158d9ec40b4ec058ead28b7527b19265 /src/soc/amd/picasso/include
parent178d644d62866728dcce6ec8c4b8552e61dc4647 (diff)
soc/amd/picasso: use SMBus speed in compilation unit
The fixed bus speed of 400 kHz doesn't need to reside in a header file. Just move the assumption into the code itself. Change-Id: I8bb68607070d0daeae2ad3bcd79f49d5c20048fd Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38613 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/amd/picasso/include')
-rw-r--r--src/soc/amd/picasso/include/soc/smbus.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/include/soc/smbus.h b/src/soc/amd/picasso/include/soc/smbus.h
index c4bc28fdf2..60b8bfa055 100644
--- a/src/soc/amd/picasso/include/soc/smbus.h
+++ b/src/soc/amd/picasso/include/soc/smbus.h
@@ -19,8 +19,6 @@
#include <stdint.h>
#include <soc/iomap.h>
-#define SMB_SPEED_400KHZ (66000000 / (400000 * 4))
-
/*
* Between 1-10 seconds, We should never timeout normally
* Longer than this is just painful when a timeout condition occurs.