MA-15282-2 Set AIY display as 720p mode
authorJi Luo <ji.luo@nxp.com>
Mon, 5 Aug 2019 01:24:51 +0000 (09:24 +0800)
committerJi Luo <ji.luo@nxp.com>
Mon, 5 Aug 2019 11:31:03 +0000 (19:31 +0800)
Change the density for 1GB DDR AIY to 160 tvdpi
to match 720p display mode.

Test: boot.

Change-Id: Ie4d30023f66af028d1e3ad7fbeb5b4f7169d2e6c
Signed-off-by: Ji Luo <ji.luo@nxp.com>
board/freescale/imx8mq_aiy/imx8m_aiy.c

index c6a413c..c3f87a3 100644 (file)
@@ -439,9 +439,9 @@ int board_late_init(void)
        if ((baseboard_id == AIY_MICRON_1G) ||
                        (baseboard_id == AIY_HYNIX_1G)) {
                /* 1G DDR size */
-               env_set("bootargs_ram_capacity", "cma=296M galcore.contiguousSize=33554432 androidboot.displaymode=720p");
+               env_set("bootargs_ram_capacity", "cma=296M galcore.contiguousSize=33554432 androidboot.displaymode=720p androidboot.lcd_density=160");
        } else {
-               env_set("bootargs_ram_capacity", "cma=384M");
+               env_set("bootargs_ram_capacity", "cma=384M androidboot.lcd_density=213");
        }
 
        return 0;