spl: spi: Do not hardcode fixed size for header
authorMichal Simek <michal.simek@xilinx.com>
Thu, 4 Oct 2018 07:30:20 +0000 (09:30 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 6 Oct 2018 18:09:42 +0000 (14:09 -0400)
commit51c12319b44a9fdb12192cb2d97efe32fce8ca49
tree67435a8fb781549454ea66e4918efd5cb1fb193a
parent83a64560dd4f352832fbfc508a9c8904809f55d1
spl: spi: Do not hardcode fixed size for header

Find out size directly from header structure.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/spl/spl_spi.c