diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-11-08 19:13:32 +0100 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2020-12-08 22:27:13 +0000 |
commit | 605767475ec42f4250edbfd10be7e605f7d3aa1d (patch) | |
tree | dfacfaa401d6d610586cb0f344d052f80d8e3f0e /.gitignore | |
parent | 77990838a4486bc266377243af3e328c0daa9f3e (diff) | |
download | trusted-firmware-a-605767475ec42f4250edbfd10be7e605f7d3aa1d.tar.gz |
rcar_gen3: drivers: console: Treat log as device memory
The BL31 log driver is registered before the xlat tables are initialized,
at that point the log memory is configured as device memory and can only
be accessed with up-to-32bit aligned accesses. Adjust the driver to do
just that.
The memset() call has to be replaced by a loop of 32bit writes to the log,
the memcpy() is trivial to replace with a single 32bit write of the entire
TLOG word. In the end, this even simplifies the code.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ie9152e782e67d93e7236069a294df812e2b873bf
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions