diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-04-18 17:41:01 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 11:18:49 -0400 |
commit | 972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898 (patch) | |
tree | 6db718883ab779284f377e3493c91256d69fc9fd /board/comelit | |
parent | bc6ed0f9dc56fe1738646e6882a0b87e6766eaaa (diff) | |
download | u-boot-imx-972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898.zip u-boot-imx-972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898.tar.gz u-boot-imx-972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898.tar.bz2 |
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 'board/comelit')
0 files changed, 0 insertions, 0 deletions