diff options
author | Weiyi Lu <weiyi.lu@mediatek.com> | 2020-04-09 11:59:50 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-09-16 07:48:20 +0000 |
commit | 0fed84b8c42dcfc76cbc9fbdd1fa53b3c4ae62d1 (patch) | |
tree | 50e3bfd3f462cca139f379e6dbba5be174d8865d /src/soc/mediatek/common | |
parent | d121a117ccf8727623eef32337d70c8f802c623c (diff) |
soc/mediatek: move power status bits under each chip
The power status bits of display and audio of MT8192 are different
from the bits of MT8173 & MT8183, so move those under each chip.
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Change-Id: Iaa211b8db733d8aa52d93af9e507042bf0984d55
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45393
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/common')
-rw-r--r-- | src/soc/mediatek/common/mtcmos.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/mediatek/common/mtcmos.c b/src/soc/mediatek/common/mtcmos.c index cbec250176..cfd148c7fa 100644 --- a/src/soc/mediatek/common/mtcmos.c +++ b/src/soc/mediatek/common/mtcmos.c @@ -21,11 +21,6 @@ enum { PWR_RST_B = 1U << 0 }; -enum { - DISP_PWR_STA_MASK = 0x1 << 3, - AUDIO_PWR_STA_MASK = 0x1 << 24, -}; - static void mtcmos_power_on(const struct power_domain_data *pd) { write32(&mtk_spm->poweron_config_set, |