diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-02-19 08:38:23 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-02-22 16:34:03 +0000 |
commit | 487015fb23c1a40f0d05240cadde4faf979483ee (patch) | |
tree | 763a9d420d39c543b42d212bfe9625b30858d142 /Platform/96Boards/Include/Protocol/Mezzanine.h | |
parent | 33d1b85bae277a8a78f2ab15ab6a0d9f0c9e5d79 (diff) | |
download | edk2-platforms-487015fb23c1a40f0d05240cadde4faf979483ee.tar.xz |
Silicon/Atmel: add support for AtSha204a RNG
This adds support for using the random number generator in the Atmel
AtSha204a over I2C. Other functionality of the chip is currently
unsupported.
Note that the the I2C support in this device essentially violates the
protocol layering, by requiring that the device is woken up by driving
SDA low for a certain amount of time, which is something that cannot be
expressed in terms of an I2C packet sent to the device's slave address.
Instead, the slave address 0x0 is added to the device's address array,
and the wake is sent by sending a dummy write to address 0x0, and
ignoring the subsequent error. This requires the I2C bus to be clocked
at 100 kHz.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform/96Boards/Include/Protocol/Mezzanine.h')
0 files changed, 0 insertions, 0 deletions