forked from Minki/linux
4ceaa148b0
This patch moves assigning reserved memory regions from each board dts to common exynos-mfc-reserved-memory.dtsi file, where those regions are defined. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
36 lines
734 B
Plaintext
36 lines
734 B
Plaintext
/*
|
|
* Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition.
|
|
*
|
|
* Copyright (c) 2016 Samsung Electronics Co., Ltd
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/ {
|
|
reserved-memory {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
mfc_left: region_mfc_left {
|
|
compatible = "shared-dma-pool";
|
|
no-map;
|
|
size = <0x1000000>;
|
|
alignment = <0x100000>;
|
|
};
|
|
|
|
mfc_right: region_mfc_right {
|
|
compatible = "shared-dma-pool";
|
|
no-map;
|
|
size = <0x800000>;
|
|
alignment = <0x100000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&mfc {
|
|
memory-region = <&mfc_left>, <&mfc_right>;
|
|
};
|