public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 0/2] android: colibri_imx7: reserve DDR memory for Cortex-M4
@ 2019-07-12 10:50 Igor Opaniuk
  2019-07-12 10:50 ` [U-Boot] [PATCH v1 1/2] common: fdt_support: add support for setting usable memory Igor Opaniuk
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Igor Opaniuk @ 2019-07-12 10:50 UTC (permalink / raw)
  To: u-boot

i.MX 7's Cortex-M4 core can run from DDR and uses DDR memory for
the rpmsg communication. Both use cases need a fixed location of
memory reserved. For the rpmsg use case the reserved area needs
to be in sync with the kernel's hardcoded vring descriptor location.

Introduce support for adding linux,usable-memory property to carve
out 1MB of memory in case the M4 core is running. Also make sure
that the i.MX 7 specific rpmsg driver does not get loaded in case
we do not carve out memory.

Igor Opaniuk (2):
  common: fdt_support: add support for setting usable memory
  board: colibri_imx7: reserve DDR memory for Cortex-M4

 arch/arm/include/asm/mach-imx/sys_proto.h |  2 ++
 board/toradex/colibri_imx7/colibri_imx7.c | 37 +++++++++++++++++++++++
 common/fdt_support.c                      | 35 +++++++++++++++++++++
 include/fdt_support.h                     |  2 ++
 4 files changed, 76 insertions(+)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-12-04  8:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-12 10:50 [U-Boot] [PATCH v1 0/2] android: colibri_imx7: reserve DDR memory for Cortex-M4 Igor Opaniuk
2019-07-12 10:50 ` [U-Boot] [PATCH v1 1/2] common: fdt_support: add support for setting usable memory Igor Opaniuk
2019-07-12 11:14   ` Oleksandr Suvorov
2019-10-14 12:40   ` sbabic at denx.de
     [not found]   ` <5da46cc1.1c69fb81.5f0ce.bea2SMTPIN_ADDED_MISSING@mx.google.com>
2019-11-28 15:23     ` Igor Opaniuk
2019-12-03  9:28       ` Stefano Babic
2019-12-04  8:39         ` Igor Opaniuk
2019-07-12 10:50 ` [U-Boot] [PATCH v1 2/2] board: colibri_imx7: reserve DDR memory for Cortex-M4 Igor Opaniuk
2019-07-12 11:23   ` Oleksandr Suvorov
2019-10-14 12:40   ` sbabic at denx.de
     [not found]   ` <5da46cd0.1c69fb81.5d82a.9621SMTPIN_ADDED_MISSING@mx.google.com>
2019-11-28 15:21     ` Igor Opaniuk
2019-07-12 10:55 ` [U-Boot] [PATCH v1 0/2] android: " Igor Opaniuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox