]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx:mx6dlsabresd fix error detecting thermal
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 10 Mar 2015 07:33:24 +0000 (15:33 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Mar 2015 12:19:18 +0000 (13:19 +0100)
commitb02d9acb3c38033e2803fdb81a5c067e6ae841a7
treeb68aab551b5da50488f68be89761d20df1b44187
parent058d23168752c2a2ec0a6c3b50296cb5b91ec6d0
imx:mx6dlsabresd fix error detecting thermal

Before add CONFIG_SYS_MALLOC_F and CONFIG_SYS_MALLOC_F_LEN,
uboot will complains "CPU:   Temperature: Can't find sensor device".
This is because DM and DM_THERMAL are enabled, but SYS_MALLOC_F
is not configured.

After applying this patch, uboot can correctly detect the temperature.
"
U-Boot 2015.04-rc2-00146-g48b6e30-dirty (Mar 09 2015 - 13:04:36)

CPU:   Freescale i.MX6DL rev1.1 at 792 MHz
CPU:   Temperature 44 C
"

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
configs/mx6dlsabresd_defconfig