Commit 00c200f137b60a04b137e0c7f9097f87ea2ee755
Committed by
Tom Rini
1 parent
df4dbb5df6
Exists in
v2017.01-smarct4x
and in
40 other branches
fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()
The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Tom Rini <trini@ti.com>
Showing 2 changed files with 12 additions and 0 deletions Side-by-side Diff
common/image-fdt.c
include/fdt_support.h
... | ... | @@ -63,6 +63,13 @@ |
63 | 63 | #endif |
64 | 64 | |
65 | 65 | void ft_board_setup(void *blob, bd_t *bd); |
66 | +/* | |
67 | + * The keystone2 SOC requires all 32 bit aliased addresses to be converted | |
68 | + * to their 36 physical format. This has to happen after all fdt nodes | |
69 | + * are added or modified by the image_setup_libfdt(). The ft_board_setup_ex() | |
70 | + * called at the end of the image_setup_libfdt() is to do that convertion. | |
71 | + */ | |
72 | +void ft_board_setup_ex(void *blob, bd_t *bd); | |
66 | 73 | void ft_cpu_setup(void *blob, bd_t *bd); |
67 | 74 | void ft_pci_setup(void *blob, bd_t *bd); |
68 | 75 |