1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-13 05:56:28 +02:00
Files
u-boot-megous/common
Masahiro Yamada 739a01ed8e fdt_support: fix an endian bug of fdt_fixup_memory_banks
Data written to DTB must be converted to big endian order.
It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc.

fdt_fixup_memory_banks() invoked write_cell(), which always
swaps byte order.
It means the function only worked on little endian architectures.

This commit adds and uses a new helper function, fdt_pack_reg(),
which works on both big endian and little endian architrectures.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-06-19 11:18:51 -04:00
..
2013-04-01 16:33:52 -04:00
2014-05-12 15:20:05 -04:00
2014-05-29 17:49:33 -04:00
2014-06-11 16:25:47 -04:00
2014-06-11 16:25:47 -04:00
2014-06-11 16:25:47 -04:00
2014-02-04 16:32:20 +01:00
2014-05-27 10:21:32 -04:00
2014-05-27 10:21:32 -04:00
2014-06-05 14:38:38 -04:00
2013-08-16 13:45:15 -04:00
2014-03-22 14:47:22 -06:00
2013-05-31 17:12:03 -05:00
2014-05-12 15:19:46 -04:00
2014-02-21 11:33:19 -05:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2014-01-14 09:01:06 -05:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2014-01-14 09:01:06 -05:00
2014-04-17 17:44:36 -04:00
2014-05-09 11:50:14 +02:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2014-03-17 20:05:49 -06:00
2014-05-29 17:52:03 -04:00
2014-05-29 17:45:31 -04:00