diff options
author | Francois Retief <fgretief@spaceteq.co.za> | 2015-10-28 08:35:12 (GMT) |
---|---|---|
committer | Francois Retief <fgretief@spaceteq.co.za> | 2015-11-13 08:23:32 (GMT) |
commit | a50adb7b4d86b924789dbe437ae92006d2f654f8 (patch) | |
tree | f2ea8c19a9c1e41f6b54562862b8674aacef7793 /arch/sparc/lib | |
parent | c33759aebdb390ba20fa40a97e9d6f3cd19371f6 (diff) | |
download | u-boot-a50adb7b4d86b924789dbe437ae92006d2f654f8.tar.xz |
sparc: Update LEON serial drivers to use readl/writel macros
Update the LEON2/3 serial driver to make use of the readl and writel
macros as well as the WATCHDOG_RESET() macro.
Add readl/writel and friends to the asm/io.h file.
Introduce the gd->arch.uart variable to store register address.
Lastly, remove baudrate scaler macro variables from board config. It
is now calculated in the serial driver using the global data variable.
Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
Diffstat (limited to 'arch/sparc/lib')
0 files changed, 0 insertions, 0 deletions