mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-23 23:33:01 +00:00
drivers/ddr/fsl: Enable detection of one DDR controller operation for LSCH3
Freescale LSCH3 platforms use two DDR controlers interleaving mode out of reset. It can be configured to disable one controller. To support this operation, the driver needs to detect and skip the disabled controller. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
7023100971
commit
61bd2f75f5
4 changed files with 49 additions and 0 deletions
|
@ -813,6 +813,7 @@ phys_size_t fsl_ddr_sdram(void)
|
|||
info.board_need_mem_reset = board_need_mem_reset;
|
||||
info.board_mem_reset = board_assert_mem_reset;
|
||||
info.board_mem_de_reset = board_deassert_mem_reset;
|
||||
remove_unused_controllers(&info);
|
||||
|
||||
return __fsl_ddr_sdram(&info);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue