diff options
| author | Tom Rini <[email protected]> | 2024-10-29 18:45:51 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-29 18:45:51 -0600 |
| commit | 2d79d1004d8d2ec8522c520dc205c8f199fd035e (patch) | |
| tree | ff16500f1889accb9b30a2eb446ec49b95fbb76e /board | |
| parent | e28e70e392306626b750bedb4225bee24db40466 (diff) | |
| parent | ea21cde01de8f6e3ffed75a995123183f411773e (diff) | |
Merge patch series "memory: ti-aemif: Add DM support"
Bastien Curutchet <[email protected]> says:
Hi all,
This patch series aims to add DM support for the AEMIF controller that
can be found in the DaVinci SoCs.
This controller has already a driver used by the Keystone SoCs so I
add my work to it.
As we can now easily import Linux device-trees, I try to stick the
most I can to the Linux bindings of the AEMIF controller. To do so I add
an 'intermediate' driver called 'ti-aemif-cs'. It's in charge of
configuring timings for a given chip select of the AEMIF controller.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'board')
| -rw-r--r-- | board/ti/ks2_evm/board.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index 48547719012..a92aa5cfc67 100644 --- a/board/ti/ks2_evm/board.c +++ b/board/ti/ks2_evm/board.c @@ -49,8 +49,10 @@ int dram_init(void) gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, CFG_MAX_RAM_BANK_SIZE); #if defined(CONFIG_TI_AEMIF) - if (!(board_is_k2g_ice() || board_is_k2g_i1())) + if (!(board_is_k2g_ice() || board_is_k2g_i1())) { + aemif_configs->base = (void *)KS2_AEMIF_CNTRL_BASE; aemif_init(ARRAY_SIZE(aemif_configs), aemif_configs); + } #endif if (!(board_is_k2g_ice() || board_is_k2g_i1())) { |
