]> git.dujemihanovic.xyz Git - u-boot.git/commit
toradex: colibri_imx6: overwrite CMA memory set in device tree
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Fri, 8 Feb 2019 17:42:24 +0000 (18:42 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:09 +0000 (20:30 +0200)
commitbee73083a4f131ac585eb57ac9ae496f32c10de2
tree154f6ddd2784512fc4b6763725324cfddb38009a
parent6218d4bdce1f928bbe58c32b4d560a962228a9d0
toradex: colibri_imx6: overwrite CMA memory set in device tree

Make sure CMA memory is not greater than 50% of available physical
memory.

Allow user to change the CMA memory via 'cma-size' U-Boot environment
variable.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/colibri_imx6/colibri_imx6.c