di: disable cue for g12a [1/2]

PD#SWPL-6142

Problem:
disable cue for g12a

Solution:
disable cue for g12a

Verify:
U212

Change-Id: I276fa0b8605110b709feaceb6d23d9b566c16a44
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
This commit is contained in:
Bencheng Jing
2019-03-20 16:44:37 +08:00
committed by Luke Go
parent 1c948500f1
commit bedb015a25

View File

@@ -726,7 +726,12 @@ static void cue_process_irq(void)
}
void cue_int(void)
{
if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12A)) {
/*confirm with vlsi-liuyanling, G12a cue must be disabled*/
if (is_meson_g12a_cpu()) {
cue_en = false;
cue_glb_mot_check_en = false;
}
if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12B)) {
if (cue_en)
Wr_reg_bits(NR2_CUE_MODE, 3, 10, 2);
}