summaryrefslogtreecommitdiffstats
path: root/common/cros_ec.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-18 17:41:01 +0900
committerTom Rini <trini@ti.com>2014-06-19 11:18:49 -0400
commit972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898 (patch)
tree6db718883ab779284f377e3493c91256d69fc9fd /common/cros_ec.c
parentbc6ed0f9dc56fe1738646e6882a0b87e6766eaaa (diff)
downloadtalos-obmc-uboot-972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898.tar.gz
talos-obmc-uboot-972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898.zip
fdt_support: refactor fdt_fixup_stdout() function
- Do not use a deep indentation. We have only 80-character on each line and 1 indentation consumes 8 spaces. Before the code moves far to the right, you should consider to fix your code. See Linux Documentation/CodingStyle. - Add CONFIG_OF_STDOUT_VIA_ALIAS and OF_STDOUT_PATH macros only to their definition. Do not add them to both callee and caller. This is a tip to avoid using #ifdef everywhere. - OF_STDOUT_PATH and CONFIG_OF_STDOUT_VIA_ALIAS are exclusive. If both are defined, the former takes precedence. Do not try to fix-up "linux,stdout-path" property twice. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cros_ec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud