diff options
| author | Lokesh Vutla <lokeshvutla@ti.com> | 2013-03-16 11:46:48 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 13:18:13 -0700 |
| commit | f57f27bc6ed7106276004dd224aaeeb160a5b4b8 (patch) | |
| tree | 91467ef4a24198697de7074b45d7eaa9553bf443 /arch/sparc/kernel/leon_pci_grpci2.c | |
| parent | f02503b2ff73d3b09ca27335304611a206d2b54a (diff) | |
| download | olio-linux-3.10-f57f27bc6ed7106276004dd224aaeeb160a5b4b8.tar.xz olio-linux-3.10-f57f27bc6ed7106276004dd224aaeeb160a5b4b8.zip | |
memory: emif: Load the correct custom config values from dt
of_get_property returns value in Big Endian format.
Before using this value it should be converted to little endian
using be32_to_cpup().
Custom configs of emif are read from dt using of_get_property,
but these are not converted to litte endian format.
Correcting the same here.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/kernel/leon_pci_grpci2.c')
0 files changed, 0 insertions, 0 deletions