ENGR00254091 fastboot: add reboot command for quick fastboot

Quick fastboot just support download and flash commands.
Add reboot command support when launch fastboot by "fastboot q"

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
ENGR00255481 mx6: Update equation for thermal sensor

Use universal equation and 25C's calibration data to
get thermal sensor's ratio.

Signed-off-by: Anson Huang <b20788@freescale.com>
ENGR00256543 mx6: Update equation for thermal sensor on i.MX6DL

Use universal equation and 25C's calibration data to
get thermal sensor's ratio on i.MX6DL.

Signed-off-by: Anson Huang <b20788@freescale.com>
ENGR00254470-1 mx6q-sd:sata device can't work properly on most boards

Revert "ENGR00241595-1 mx6q-sabresd:Enable SATA PHY PDDQ default"

This reverts commit 9cb937432d1dc8d2c31afa5194f1ef0d8bdc0392.

Reasons:
* according to SATA Power mode (in SATA protocol) PHY TX/RX/CLK is
powered down automatically according to SATA controller
power mode SATA port support Disable/Slumber/Partial/Enabled(OOB)

The SATA PHY PDDQ mode is one-shot and recommeded to be used for test,
SATA would not work properly if the PHY PDDQ mode is enabled in U-boot.

Signed-off-by: Richard Zhu <r65037@freescale.com>
ENGR00254470-2 mx6q-arm2:sata device can't work properly on most boards

Revert "ENGR00241595-2 mx6q-arm2:Enable SATA PHY PDDQ default"

This reverts commit b10e0c4559602adacb22670506a1956a50cfd247.

Reasons:
* according to SATA Power mode (in SATA protocol) PHY TX/RX/CLK is
powered down automatically according to SATA controller
power mode SATA port support Disable/Slumber/Partial/Enabled(OOB)

The SATA PHY PDDQ mode is one-shot and recommeded to be used for test,
SATA would not work properly if the PHY PDDQ mode is enabled in U-boot.

Signed-off-by: Richard Zhu <r65037@freescale.com>
ENGR00254470-3 mx6q-sabreauto:sata device can't work properly on most boards

Revert "ENGR00241595-3 mx6q-sabreauto:Enable SATA PHY PDDQ default"

This reverts commit 027af67a25773a0872659788eab0c09b72e2bbe0.

Reasons:
* according to SATA Power mode (in SATA protocol) PHY TX/RX/CLK is
powered down automatically according to SATA controller
power mode SATA port support Disable/Slumber/Partial/Enabled(OOB)

The SATA PHY PDDQ mode is one-shot and recommeded to be used for test,
SATA would not work properly if the PHY PDDQ mode is enabled in U-boot.

Signed-off-by: Richard Zhu <r65037@freescale.com>
ENGR00254470-4 mx6q-hdmidongle:sata device can't work properly on most boards

Revert "ENGR00241595-4 mx6q-hdmidongle:Enable SATA PHY PDDQ default"

This reverts commit d33eefe083563a082840a46ec9cac21f98fad550.

Reasons:
* according to SATA Power mode (in SATA protocol) PHY TX/RX/CLK is
powered down automatically according to SATA controller
power mode SATA port support Disable/Slumber/Partial/Enabled(OOB)

The SATA PHY PDDQ mode is one-shot and recommeded to be used for test,
SATA would not work properly if the PHY PDDQ mode is enabled in U-boot.

Signed-off-by: Richard Zhu <r65037@freescale.com>
ENGR00255977 mx6sl: correct the information for chip and board revision

mx6sl chip revision is from different-offset register in anatop module
comparing to other mx6 series. This patch fixes it and also uses board
'RevC' to indicate the latest board revision if this information can not
be obtained from fuse.

Signed-off-by: Robby Cai <R63905@freescale.com>
(cherry picked from commit 39e36b5e5a7cfe53fd6e286d9fe9024b365f1a29)
ENGR00258651 mx6: update thermal equation for i.MX6sl

New thermal equation is working for all i.MX6 series
SOCs, so update it for i.MX6SL as well.

Signed-off-by: Anson Huang <b20788@freescale.com>
ENGR00260356: i.MX6SL: uboot: reset can NOT work on TO1.2

Boot ROM fix the "glitchless mux" issue on TO1.2 which will mask
MMDC_CH0_MASK in CCM_CCDR, it will cause different behavior of
reset, need to clear this MMDC_CHx_MASK field to make sure
all the i.MX6 series SOCs have same behavior of reset.

Signed-off-by: Anson Huang <b20788@freescale.com>
ENGR00231572 mx6solo: Add Android solo uboot configure

Add fastboot and recovery, add default
bootargs and bootcmd for Android.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
ENGR00265720 Enlarge command line buffer size

Align mx6q_sabreauto_nand config to other mx6q_* config
for command line buffer size
The buffer size is too short for dule display nand config

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
ENGR00266247 Do not limit HAB code for closed systems only

1. It is very useful to print the HAB event details
when the system is not closed to help debug issues
before blowing the fuse to secure the system.
2. Also need to authenticate a signed uImage in a open
system to help debug issues.

Signed-off-by: Mahesh Mahadevan <Mahesh.Mahadevan@freescale.com>
ENGR00267118-1 IPU disp:Align setting with kernel

To align with kernel display setting so that we may
avoid a blank interval during smooth UI transition
from uboot to Android desktop on LVDS0(LVDS1 is OK).
The code change refers to the following CR:

"ENGR00127358 ipuv3: make display data signal negative
during blanking period"

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
ENGR00267118-2 IPU disp:Align setting with kernel

To align with kernel display setting so that we may
avoid a blank interval during smooth UI transition
from uboot to Android desktop on LVDS0(LVDS1 is OK).
The code change refers to the following CR:

"ENGR00214565 MX6x, IPUv3: Display lack last horizontal
pixel"

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
ENGR00266869-1 imx6x sarebsd: Fix recovery fail issue on SD

Correct the recovery environment setting when boot from SD card on
sabresd board

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
ENGR00266869-2 imx6x sabresd: correct the bootargs for android

The original design set the boot params default for eMMC on sabrsd
This patch corrects env setting according boot device which is selected.

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
ENGR00268063 imx6x android: Fix build error

Fix build error when build Android

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
ENGR00255779 mx6dl/sabreauto: change the u-boot prompt from SOLO to DL

change the mx6dl/sabreauto u-boot prompt from SOLO to DL for better indication

Signed-off-by: Jason Liu <r64343@freescale.com>
ENGR00272558 fastboot_dev and bootcmd cannot be configured for i.MX6 SabreSD

Only init the fastboot_dev and bootcmd env in the first boot

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>