From: Igor Opaniuk <igor.opaniuk@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 0/2] android: colibri_imx7: reserve DDR memory for Cortex-M4
Date: Tue, 3 Dec 2019 14:04:45 +0200 [thread overview]
Message-ID: <20191203120447.24820-1-igor.opaniuk@gmail.com> (raw)
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.
v2:
- fixed build where CONFIG_ARCH_FIXUP_FDT_MEMORY is not set.
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 | 1 +
4 files changed, 75 insertions(+)
--
2.17.1
next reply other threads:[~2019-12-03 12:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-03 12:04 Igor Opaniuk [this message]
2019-12-03 12:04 ` [PATCH v2 1/2] common: fdt_support: add support for setting usable memory Igor Opaniuk
2019-12-03 15:02 ` Joakim Tjernlund
2019-12-04 8:38 ` Igor Opaniuk
2019-12-03 12:04 ` [PATCH v2 2/2] board: colibri_imx7: reserve DDR memory for Cortex-M4 Igor Opaniuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191203120447.24820-1-igor.opaniuk@gmail.com \
--to=igor.opaniuk@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox