bl33: init some env in uboot [1/1]
PD#SWPL-197386
Problem:
some env not init
Solution:
set powermode on defaultly
set suspend off defaultly
Verify:
T950D5
Change-Id: Ia8003652db01850351d0406a179bf3762f1e845a
Signed-off-by: Yan Fang1 <yan.fang1@amlogic.com>
diff --git a/board/amlogic/configs/t6d_br301.h b/board/amlogic/configs/t6d_br301.h
index 5fa7c7c..ee4d1f0 100644
--- a/board/amlogic/configs/t6d_br301.h
+++ b/board/amlogic/configs/t6d_br301.h
@@ -109,7 +109,6 @@
"dv_fw_dir=/reserved/firmware/dovi_fw.bin\0"\
"hdr_policy=0\0"\
"frac_rate_policy=1\0"\
- "ffv_wake=off\0"\
#ifndef CONFIG_PXP_DDR
#define CONFIG_PREBOOT \
diff --git a/board/amlogic/configs/t6d_br309.h b/board/amlogic/configs/t6d_br309.h
index 452a77e..00c6d0c 100644
--- a/board/amlogic/configs/t6d_br309.h
+++ b/board/amlogic/configs/t6d_br309.h
@@ -111,7 +111,6 @@
"dv_fw_dir=/reserved/firmware/dovi_fw.bin\0"\
"hdr_policy=0\0"\
"frac_rate_policy=1\0"\
- "ffv_wake=off\0"\
#ifndef CONFIG_PXP_DDR
#define CONFIG_PREBOOT \
diff --git a/board/amlogic/configs/t6d_skt.h b/board/amlogic/configs/t6d_skt.h
index 961536c..d4b00e3 100644
--- a/board/amlogic/configs/t6d_skt.h
+++ b/board/amlogic/configs/t6d_skt.h
@@ -101,7 +101,6 @@
"dv_fw_dir=/reserved/firmware/dovi_fw.bin\0"\
"hdr_policy=0\0"\
"frac_rate_policy=1\0"\
- "ffv_wake=off\0"\
#ifndef CONFIG_PXP_DDR
#define CONFIG_PREBOOT \
diff --git a/board/amlogic/configs/t6d_t335.h b/board/amlogic/configs/t6d_t335.h
index 138a360..82275a5 100644
--- a/board/amlogic/configs/t6d_t335.h
+++ b/board/amlogic/configs/t6d_t335.h
@@ -123,7 +123,8 @@
"run upgrade_key;" \
"bcb uboot-command;"\
"run switch_bootmode;"\
- "run switch_usbmode;"
+ "run switch_usbmode;"\
+ "run reset_suspend;"
#else
#define CONFIG_PREBOOT "echo preboot"
diff --git a/board/amlogic/env/android_multidisplay.env b/board/amlogic/env/android_multidisplay.env
index ba3c4d9..f93d704 100644
--- a/board/amlogic/env/android_multidisplay.env
+++ b/board/amlogic/env/android_multidisplay.env
@@ -53,6 +53,9 @@
fs_type=rootfstype=ramfs
fastboot_step=0
usb_status=detach
+ffv_wake=off
+powermode=on
+suspend=off
#ifdef CONFIG_NOVERBOSE_BUILD
loglevel=2
diff --git a/board/amlogic/env/android_tv.env b/board/amlogic/env/android_tv.env
index e92e2d7..e9e0910 100644
--- a/board/amlogic/env/android_tv.env
+++ b/board/amlogic/env/android_tv.env
@@ -64,6 +64,9 @@
ddr_size=0
fs_type=rootfstype=ramfs
fastboot_step=0
+ffv_wake=off
+powermode=on
+suspend=off
#ifdef CONFIG_NOVERBOSE_BUILD
loglevel=2
diff --git a/board/amlogic/env/linux.env b/board/amlogic/env/linux.env
index 7ba6577..43a4b7e 100644
--- a/board/amlogic/env/linux.env
+++ b/board/amlogic/env/linux.env
@@ -36,6 +36,9 @@
fb_addr=0x00300000
fastboot_step=0
default_governor=performance
+ffv_wake=off
+powermode=on
+suspend=off
#ifdef CONFIG_NOVERBOSE_BUILD
loglevel=2
diff --git a/board/amlogic/env/pxp.env b/board/amlogic/env/pxp.env
index ad5856c..b4c54ca 100644
--- a/board/amlogic/env/pxp.env
+++ b/board/amlogic/env/pxp.env
@@ -31,6 +31,9 @@
write_boot=0
fastboot_step=0
default_governor=performance
+ffv_wake=off
+powermode=on
+system=off
#ifdef CONFIG_KNL_LOG_LEVEL
loglevel=CONFIG_KNL_LOG_LEVEL