diff options
author | Jia Hongtao <[email protected]> | 2012-08-03 18:14:10 +0800 |
---|---|---|
committer | Kumar Gala <[email protected]> | 2012-09-12 14:57:09 -0500 |
commit | 688ba1dbee8a49a2efe507cd9ae69634d92bb640 (patch) | |
tree | f795ef7757957fd04bd2938a8a1a5b33b30b0795 /lib/mpi/mpi-inline.h | |
parent | 39be5b4a7f232870aad0b3c130791eacd0d34347 (diff) |
powerpc/swiotlb: Enable at early stage and disable if not necessary
Remove the dependency on PCI initialization for SWIOTLB initialization.
So that PCI can be initialized at proper time.
SWIOTLB is partly determined by PCI inbound/outbound map which is assigned
in PCI initialization. But swiotlb_init() should be done at the stage of
mem_init() which is much earlier than PCI initialization. So we reserve the
memory for SWIOTLB first and free it if not necessary.
All boards are converted to fit this change.
Signed-off-by: Jia Hongtao <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Acked-by: Tony Breeds <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions