]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx9: trdc: introduce trdc_mbc_blk_num
authorPeng Fan <peng.fan@nxp.com>
Thu, 19 Sep 2024 04:01:36 +0000 (12:01 +0800)
committerFabio Estevam <festevam@gmail.com>
Thu, 19 Sep 2024 03:12:41 +0000 (00:12 -0300)
commit0c2f9cbbb5828ea277575f618a45340066afb754
tree93c3fa1e689c70a7c41e4272a4a2d8b15b214920
parent5da0629d13eb42597988e472d788a2613a3a0698
imx9: trdc: introduce trdc_mbc_blk_num

Add trdc_mbc_blk_num to get num blks in a MBC mem slot, then drop
the hardcoded value '40' for NIC OCRAM configuration.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/trdc.c