better imx support

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>