]> git.baikalelectronics.ru Git - arm-tf.git/commit
mediatek: mt8192: add uart save and restore api
authorYuchen Huang <yuchen.huang@mediatek.com>
Sat, 1 Aug 2020 08:23:12 +0000 (16:23 +0800)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 7 Dec 2020 23:30:27 +0000 (23:30 +0000)
commitbb28dc7aeaf4207eeaa8b1aca8b8e10e135a1829
treea7299ea591ef306cd0cf820a1c4c17b0d21f2ec9
parent49fd68abe46dbbb69027283527cc5c9d8a81b678
mediatek: mt8192: add uart save and restore api

When system resume, we want to print log as soon as possible.
So we add uart save and restore api, and they will be called
when systtem suspend and resume.

Change-Id: I83b477fd2b39567c9c6b70534ef186993f7053ae
Signed-off-by: Yuchen Huang <yuchen.huang@mediatek.com>
Signed-off-by: Roger Lu <roger.lu@mediatek.com>
plat/mediatek/common/drivers/uart/uart.c [new file with mode: 0644]
plat/mediatek/mt8183/drivers/uart/uart.c [deleted file]
plat/mediatek/mt8183/drivers/uart/uart.h
plat/mediatek/mt8183/platform.mk
plat/mediatek/mt8192/drivers/uart/uart.h [new file with mode: 0644]
plat/mediatek/mt8192/include/platform_def.h
plat/mediatek/mt8192/platform.mk