]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>
Tue, 24 Aug 2021 09:44:19 +0000 (17:44 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Oct 2021 14:53:50 +0000 (16:53 +0200)
commit0f328fcc4ccfdf575794987799eee008ae4ca3bf
tree75d73cdb899a1dc2eccfefed68eadea6472ba557
parentd9a6f0eed66a39206b13513ec914f14084c3bb73
arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size

When purchasing imx8mm-cl-iot-gate it is able to customize the
memory size. It could be 1GB, 2GB and 4GB. We implement
board_phys_sdram_size() to detect the memory size for usage.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Frieder Schrempf <frieder.schrempf@kontron.de>
Cc: uboot-imx <uboot-imx@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c