MLK-14752 common/console.c: remove CONFIG_IS_ENABLED()
authorFugang Duan <fugang.duan@nxp.com>
Wed, 26 Apr 2017 09:06:05 +0000 (17:06 +0800)
committerFugang Duan <fugang.duan@nxp.com>
Wed, 26 Apr 2017 10:13:31 +0000 (18:13 +0800)
commitc3c78f1969377e9dce05c8d082ff0fdb7aa673ca
treea422ae7a17b5058e135cf937fd0b24f8d178026b
parenta8a1132e1f2d1f8fe0f53758fd5be5673310225e
MLK-14752 common/console.c: remove CONFIG_IS_ENABLED()

Remove CONFIG_IS_ENABLED() macro in the driver, it seems the macro don't work
in the config build for mx6sxsabreauto_config platform.

And CONFIG_IS_ENABLED(FOO) evaluates to
 *  1 if CONFIG_SPL_BUILD is undefined and CONFIG_FOO is set to 'y' or 'm',
 *  1 if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y' or 'm'

If enable CONFIG_SPL_BUILD, then CONFIG_FOO doesn't work.

Now remove the CONFIG_IS_ENABLED() in the driver.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
common/console.c