]> git.ipfire.org Git - people/ms/u-boot.git/commit
sunxi: Split up long Kconfig lines
authorChen-Yu Tsai <wens@csie.org>
Thu, 2 Mar 2017 08:03:06 +0000 (16:03 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Apr 2017 11:30:00 +0000 (13:30 +0200)
commit301791c9b07425497d170abae6fdcc289340bc6e
tree77ebba482f35ed3ee0ca8d4be1efbc9dca07c90c
parent7095f864186350dd5773a0bda2df19a1fa8d0aeb
sunxi: Split up long Kconfig lines

Currently we have some lines in board/sunxi/Kconfig that are very long.
These line either provide default values for a set of SoCs, or limit
some option to a subset of sunxi SoCs.

Fortunately Kconfig makes it easy to split them. The Kconfig language
document states

    If multiple dependencies are defined, they are connected with '&&'.

This means we can split existing dependencies at "&&" symbols. This
applies to both the "depends on" lines and "if" expressions.

This patch splits them up to one symbol per line. This will make it
easier to add, remove, or modify one item at a time.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
board/sunxi/Kconfig