/* * Copyright (c) 2013 Heiko Stuebner * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include / { chosen { stdout-path = &uart2; environment { compatible = "barebox,environment"; device-path = &mmc0, "partname:barebox-environment"; status = "okay"; }; }; }; &mmc0 { #address-cells = <1>; #size-cells = <1>; partition@0 { label = "barebox"; reg = <0x0 0x80000>; }; partition@80000 { label = "barebox-environment"; reg = <0x80000 0x80000>; }; };