]> git.baikalelectronics.ru Git - uboot.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)
commitd2da156a07b05f79b613ad48a8f40111be1d203d
tree75d73cdb899a1dc2eccfefed68eadea6472ba557
parent143e380b46779bc6a91c5117487162b6d55967fe
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