Commit be96d08d81f83161be6d2e7250445244f7575daf

Authored by Peng Fan
1 parent 6106514f68

MLK-19494 configs: imx8qm mek android audo: correct xen physical memory

XEN tool has changed GUEST_RAM0_BASE to 2GB, since we assigned
3584M RAM to DomU, so reflect the change in configuration file.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 9486251ced24e3bf3ecbff68a8f9476e694e5bf7)
(cherry picked from commit 0278b14507731b465652aa41c4a95dafa66da5d1)
(cherry picked from commit 7041ded231da64df7799c0f74b14f33e2534c723)

Showing 1 changed file with 3 additions and 3 deletions Inline Diff

include/configs/imx8qm_mek_android_auto_xen.h
1 /* 1 /*
2 * Copyright 2018 NXP 2 * Copyright 2018 NXP
3 * 3 *
4 * SPDX-License-Identifier: GPL-2.0+ 4 * SPDX-License-Identifier: GPL-2.0+
5 */ 5 */
6 6
7 #ifndef IMX8QM_MEK_ANDROID_AUTO_XEN_H 7 #ifndef IMX8QM_MEK_ANDROID_AUTO_XEN_H
8 #define IMX8QM_MEK_ANDROID_AUTO_XEN_H 8 #define IMX8QM_MEK_ANDROID_AUTO_XEN_H
9 9
10 #undef CONFIG_SYS_SDRAM_BASE 10 #undef CONFIG_SYS_SDRAM_BASE
11 #undef CONFIG_NR_DRAM_BANKS 11 #undef CONFIG_NR_DRAM_BANKS
12 #undef PHYS_SDRAM_1 12 #undef PHYS_SDRAM_1
13 #undef PHYS_SDRAM_2 13 #undef PHYS_SDRAM_2
14 #undef PHYS_SDRAM_1_SIZE 14 #undef PHYS_SDRAM_1_SIZE
15 #undef PHYS_SDRAM_2_SIZE 15 #undef PHYS_SDRAM_2_SIZE
16 16
17 #define CONFIG_SYS_SDRAM_BASE 0x40000000 17 #define CONFIG_SYS_SDRAM_BASE 0x40000000
18 #define CONFIG_NR_DRAM_BANKS 2 18 #define CONFIG_NR_DRAM_BANKS 2
19 #define PHYS_SDRAM_1 0x40000000 19 #define PHYS_SDRAM_1 0x80000000
20 #define PHYS_SDRAM_2 0x200000000 20 #define PHYS_SDRAM_2 0x200000000
21 #define PHYS_SDRAM_1_SIZE 0xC0000000 /* 3 GB */ 21 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 2 GB */
22 #define PHYS_SDRAM_2_SIZE 0x20000000 /* 512 MB */ 22 #define PHYS_SDRAM_2_SIZE 0x60000000 /* 1536 MB */
23 23
24 #undef CONFIG_LOADADDR 24 #undef CONFIG_LOADADDR
25 #define CONFIG_LOADADDR 0x40280000 25 #define CONFIG_LOADADDR 0x40280000
26 #undef CONFIG_SYS_INIT_SP_ADDR 26 #undef CONFIG_SYS_INIT_SP_ADDR
27 #define CONFIG_SYS_INIT_SP_ADDR 0x40200000 27 #define CONFIG_SYS_INIT_SP_ADDR 0x40200000
28 28
29 #undef CONFIG_REQUIRE_SERIAL_CONSOLE 29 #undef CONFIG_REQUIRE_SERIAL_CONSOLE
30 #undef CONFIG_IMX_SMMU 30 #undef CONFIG_IMX_SMMU
31 31
32 #undef CONFIG_FASTBOOT_USB_DEV 32 #undef CONFIG_FASTBOOT_USB_DEV
33 #define CONFIG_FASTBOOT_USB_DEV 0 /* Use OTG port, not typec port */ 33 #define CONFIG_FASTBOOT_USB_DEV 0 /* Use OTG port, not typec port */
34 34
35 /* This needs to be stay same in iomem in domu.cfg */ 35 /* This needs to be stay same in iomem in domu.cfg */
36 #define SC_IPC_CH 0x15d1d0000 36 #define SC_IPC_CH 0x15d1d0000
37 37
38 #endif /* IMX8QM_MEK_ANDROID_AUTO_XEN_H */ 38 #endif /* IMX8QM_MEK_ANDROID_AUTO_XEN_H */
39 39