Skip to content

Commit f190547

Browse files
danieldegrassefabiobaltieri
authored andcommitted
docs: migration-guide-3.5: add note about ramdisk instantiation
Add note to migration guide describing how to instantiate a ramdisk using devicetree, and calling out Kconfig options that have been removed with this change Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent b8e6da0 commit f190547

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/releases/migration-guide-3.5.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,19 @@ Device Drivers and Device Tree
227227
suffix ``dig`` added. For example, ``iomuxc_snvs_wakeup_gpio13_io00`` has
228228
been renamed to ``iomuxc_snvs_wakeup_dig_gpio13_io00``
229229

230+
* Ramdisk drivers are now instantiated using devicetree. Kconfig options
231+
``CONFIG_DISK_RAM_VOLUME_NAME`` and ``CONFIG_DISK_RAM_VOLUME_SIZE`` have
232+
been removed. Instead, instantiate a ramdisk within devicetree like so:
233+
234+
.. code-block:: devicetree
235+
236+
ramdisk0 {
237+
compatible = "zephyr,ram-disk";
238+
disk-name = "RAM";
239+
sector-size = <512>;
240+
sector-count = <128>;
241+
};
242+
230243
Power Management
231244
================
232245

0 commit comments

Comments
 (0)