dts: keep clock-names and clocks in SPL DTB if SPL_CLK is enabled
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 3 Feb 2016 11:51:36 +0000 (20:51 +0900)
committerSimon Glass <sjg@chromium.org>
Thu, 25 Feb 2016 04:06:19 +0000 (20:06 -0800)
commit5f3f7b79dbe83144ef5562fa212266c86cd639e2
treec5d03a04e4a93589918b624dbf3d3220a7a3327e
parent52dd704bf8eda7ca039cdb398ec0b6895c3ef939
dts: keep clock-names and clocks in SPL DTB if SPL_CLK is enabled

These two properties are necessary for SPL to get clocks from DT.

Note:
For now, only clock look-up by index is supported (clk_get_by_index()
function), so "clock-names" is never parsed in U-Boot.  However, we
may want to support something like clk_get_by_name() in the future,
so let's keep "clock-names" as well as "clocks".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
dts/Kconfig