dev: Use the new ByteOrder param type in SimpleUart
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 24 Aug 2020 16:55:45 +0000 (17:55 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 10 Sep 2020 14:27:09 +0000 (14:27 +0000)
commit492585555776bb6f51bb623c34218b7c17cdb2a4
treeea8d24cc9928d3a74397be23fdff8d767fb01e35
parent5eb3e44f5478c543015131d18e61947a188c06b1
dev: Use the new ByteOrder param type in SimpleUart

Use the new ByteOrder param type in SimpleUart. The default value is
currently little endian. However, it is expected that most users of
this device will use single-byte accesses which aren't affected by
endianness.

Change-Id: I3f5d4ea566e5127474cff976332bd53c5b49b9e2
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33295
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/dev/serial/Uart.py
src/dev/serial/simple.cc