mx6: mx6sabre common: Enable i.MX thermal DM driver
authorYe.Li <B37916@freescale.com>
Thu, 20 Nov 2014 13:14:15 +0000 (21:14 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Nov 2014 14:30:12 +0000 (15:30 +0100)
commit6c920ee91039ef27fec9e7c5591fa79ad4b4f8d1
tree62e2880f86748f5a259fb1c0b44793e02acb6735
parent7a264168473b8a9ad94352d55a0392ae251676a8
mx6: mx6sabre common: Enable i.MX thermal DM driver

Enable i.MX thermal DM driver to mx6sabre_common.h file. Since the
thermal is used in init_sequence_f, so define the CONFIG_SYS_MALLOC_F_LEN
to support DM driver using in pre relocation phase.

Additional, thermal driver depends on ocotp, make sure to enable
CONFIG_MXC_OCOTP when CONFIG_IMX6_THERMAL is selected.

Signed-off-by: Ye.Li <B37916@freescale.com>
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
include/configs/mx6sabre_common.h