This patch is doing two things: - it is removing the fallback on the path. This is not possible anymore since the DT binding file is now actually requiring the 'zephyr,memory-region' property to be present from which the region name is obtained. - it is sanitizing the name when CONFIG_CMAKE_LINKER_GENERATOR is used or not. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
31 lines
818 B
Plaintext
31 lines
818 B
Plaintext
/*
|
|
* Copyright (c) 2021, Commonwealth Scientific and Industrial Research
|
|
* Organisation (CSIRO) ABN 41 687 119 230.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Application overlay for testing the devicetree.h extension API's.
|
|
*
|
|
* Names in this file should be chosen in a way that won't conflict
|
|
* with real-world devicetree nodes, to allow these tests to run on
|
|
* (and be extended to test) real hardware.
|
|
*/
|
|
|
|
/ {
|
|
test {
|
|
#address-cells = < 0x1 >;
|
|
#size-cells = < 0x1 >;
|
|
|
|
test_sram1: sram@20000000 {
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
|
reg = < 0x20000000 0x1000 >;
|
|
zephyr,memory-region = "SRAM_REGION";
|
|
};
|
|
test_sram2: sram@20001000 {
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
|
reg = < 0x20001000 0x1000 >;
|
|
zephyr,memory-region = "SRAM@REGION#2";
|
|
};
|
|
};
|
|
};
|