]> git.dujemihanovic.xyz Git - u-boot.git/commit
elgin-rv1108: Avoid adc_channel_single_shot error
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 13 Mar 2020 17:42:47 +0000 (14:42 -0300)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 26 Mar 2020 14:58:46 +0000 (22:58 +0800)
commit2dcbeb3568e568846d572d8329442f41b4f60a53
tree2572a510802e4cce95372eddf1798efceab5ebb3
parent1ac0d52a9bb2a20e07542ca54c526e35b0f2ffca
elgin-rv1108: Avoid adc_channel_single_shot error

Currently the following error message is seen during boot:

U-Boot 2020.01-08751-g55759ae141 (Mar 09 2020 - 14:44:52 -0300)

Model: Elgin RV1108 R1 board
DRAM:  128 MiB
APLL: 600000000 DPLL:1200000000 GPLL:1188000000
ACLK_BUS: 148500000 ACLK_PERI:148500000 HCLK_PERI:148500000 PCLK_PERI:74250000
MMC:   dwmmc@30110000: 0
Loading Environment from MMC... OK
In:    serial@10210000
Out:   serial@10210000
Err:   serial@10210000
Model: Elgin RV1108 R1 board
rockchip_dnl_key_pressed: adc_channel_single_shot fail!
....

Since the elgin-rv1108 does not use ADC to read the download
key status, select CONFIG_ROCKCHIP_BOOT_MODE_REG=0 to avoid
such error.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/elgin-rv1108_defconfig