diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2019-04-12 11:52:20 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-04-19 13:59:55 -0700 |
commit | 5852b1365df4414523210e444ac7df1dec09acb4 (patch) | |
tree | e23c7301e84f915ecfddd7abc762adfafef3d19e /arch/x86/include/asm/string.h | |
parent | c06e64407e031e71c67f45f07981510ca4c880a1 (diff) | |
download | linux-5852b1365df4414523210e444ac7df1dec09acb4.tar.bz2 |
clk: zynqmp: use structs for clk query responses
The driver retrieves the clock tree by querying the ATF for the clock
names, the clock topology, the parents and other attributes. The driver
needs to unmarshal the responses.
The definition of the fields in the firmware responses to the queries is
inconsistent. Some are specified as a mask, some as a shift, and by the
length of the previous field.
Define C structs for the entire firmware responses to avoid passing
pointers to arrays of an implicit size and make the format of the
responses to the queries obvious.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Jolly Shah <jolly.shah@xilinx.com>
[sboyd@kernel.org: Drop 0 initializers because sparse complains]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/string.h')
0 files changed, 0 insertions, 0 deletions