1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 14:27:48 +00:00

16 Commits

Author SHA1 Message Date
Denys Dmytriyenko 924bfd2361 cmem.inc: add arm64 support for cmem injection
Since cmem 4.16 now supports arm64, update cmem injection code accordingly
to work with arm64 DTS files.

Cc: Sam Nelson <sam.nelson@ti.com>
Cc: Jacob Stiffler <j-stiffler@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-01-09 13:35:44 +00:00
Jacob Stiffler d6193d615a linux: cmem: add am574x injection for am57xx-hs-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-12-05 21:55:06 +00:00
Djordje Senicic 9b33394ac9 linux-ti-staging: Increase CMEM for am574x only
* CMEM increased to 384MB is required by TIDL to run both DSP and EVEs concurrently

Signed-off-by: Djordje Senicic <x0157990@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-08-21 17:09:41 +00:00
Denys Dmytriyenko 195d3f7b93 meta-ti: cleanup use of d.getVar()
1. drop use of True as second parameter, which is default, to align with master
2. there were instances of incorrectly passing 'd' as second parameter from
previous conversion from bb.data.getVar() usage

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-07-10 05:50:44 +00:00
Jacob Stiffler 8f90618aa2 linux: cmem: update device trees for kernel 4.14
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-04-30 16:18:34 -04:00
Jacob Stiffler 7fc46f40ee linux: cmem: flag dependent variables
* Flag variables used in setup_cmem to force it to re-run when one changes.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-04-30 16:18:31 -04:00
Hongmei Gou 9d21efe136 linux: cmem: add support for am574x
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-12-05 19:36:44 -05:00
Jacob Stiffler 72af0624e4 linux: cmem: update KERNEL_DEVICETREE lists
* Update the device tree lists with the latest DTB names from the
  machine configuration.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-06-13 12:45:03 -04:00
Denys Dmytriyenko e022e00e66 cmem.inc: only mangle SRC_URI in do_unpack instead of anon function
Avoid taskhash mismatch errors.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-21 13:23:38 -05:00
Denys Dmytriyenko 195c04aac1 cmem: add support for memory carveouts of dra71 variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:25:35 -05:00
Sam Nelson 79a8691f60 Revert "linux/cmem: patch keystone dtsi files to co-exist with new sram driver"
This reverts commit b9dbc83d76.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:44:22 -05:00
Denys Dmytriyenko b9dbc83d76 linux/cmem: patch keystone dtsi files to co-exist with new sram driver
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-18 11:28:56 -05:00
Denys Dmytriyenko 108f5ee0ec cmem: add special handling for dra72x variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 14:32:28 -05:00
Jacob Stiffler 0623707d80 linux: add new method for cmem injection
* Add new method to perform CMEM DT injection as it is required to
  customize at a finer level than machine.
* Now CMEM injection can be performed per DT.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:01 -04:00
Jacob Stiffler 1010d17019 linux: cmem.inc: Implement way to configure more complex CMEM config
* Supply the entire cmem.dtsi per machine
  - Disabled by default
  - Currently only supported for dra7xx and k2hk-evm
* Enable by setting RESERVE_CMEM = "1"

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-29 15:39:56 -04:00
Jacob Stiffler 3ae905f31e linux/cmem.inc: Support reserving memory for CMEM.
To reserve contiguous memory for CMEM:
* include the "recipes-kernel/linux/cmem.inc"
* Set CMEM_BASE and CMEM_SIZE to the physical memory address and size,
  respectively, to reserve for CMEM.

Currently limited to reserving a single memory region used to create
a single buffer pool of a single buffer.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-19 15:31:05 -04:00