]> git.baikalelectronics.ru Git - uboot.git/commit
board: synquacer: Initialize SCBM SMMU at board_init()
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Mon, 12 Jul 2021 10:35:44 +0000 (19:35 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jul 2021 22:53:45 +0000 (18:53 -0400)
commit09e07b00131b561a554e4664ab324325c144366c
tree0c7170850a8564d67adc31c2764e9c672a672101
parent8b0f0f0f4eed32daaa872b08b65d73d3d2627ddf
board: synquacer: Initialize SCBM SMMU at board_init()

Since the SCBM SMMU is not only connected to the NETSEC
but also shared with the F_SDH30 (eMMC controller), that
should be initialized at board level instead of NETSEC.

Move the SMMU initialization code into board support
and call it from board_init().

Without this fix, if the NETSEC is disabled, the Linux
eMMC ADMA cause an error because SMMU is not initialized.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
board/socionext/developerbox/developerbox.c
drivers/net/sni_netsec.c