]> git.baikalelectronics.ru Git - uboot.git/commit
common: console: Fix duplicated CONFIG in silent env callback
authorWilson Lee <wilson.lee@ni.com>
Fri, 25 Aug 2017 07:06:29 +0000 (00:06 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2017 11:19:12 +0000 (07:19 -0400)
commit37f1187bf658d616f69197d4dea810e479de56a3
tree27fa220eda8ee679f2ac419a7cb63030cec56eef
parent61d446f3145309defe9ec1f178cdd045c2dc5636
common: console: Fix duplicated CONFIG in silent env callback

The silent environment callback function does not update the silent
flag during silent env set or unset. That is because of duplicated
CONFIG keyword at preprocessor condition in silent environment
callback function and cause silent env callback unable to work.

This patch is to remove the duplicated CONFIG keywork in silent
environment callback function.

Signed-off-by: Wilson Lee <wilson.lee@ni.com>
Cc: Keng Soon Cheah <keng.soon.cheah@ni.com>
Cc: Chen Yee Chew <chen.yee.chew@ni.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
common/console.c