From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sat, 18 Oct 2014 00:20:43 +0200 Subject: [U-Boot] [PATCH 08/11] fdt: Add ft_system_setup() function for system device tree additions In-Reply-To: <1413360341-25828-8-git-send-email-sjg@chromium.org> References: <1413360341-25828-1-git-send-email-sjg@chromium.org> <1413360341-25828-8-git-send-email-sjg@chromium.org> Message-ID: <20141018002043.7a76c93e@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Wed, 15 Oct 2014 02:05:38 -0600 Simon Glass wrote: > Add an additional function for adding information to the device tree before > booting. This permits additions which are not board-specific. > > Signed-off-by: Simon Glass > --- > > README | 9 ++++++++- > common/cmd_fdt.c | 15 +++++++++++++++ > common/image-fdt.c | 6 ++++++ > include/fdt_support.h | 12 ++++++++++++ > include/image.h | 6 ++++++ > 5 files changed, 47 insertions(+), 1 deletion(-) One minor comment below. Otherwise Acked-by: Anatolij Gustschin > diff --git a/README b/README > index 46def00..6ecb3e0 100644 > --- a/README > +++ b/README > @@ -670,6 +670,13 @@ The following options need to be configured: > Board code has addition modification that it wants to make > to the flat device tree before handing it off to the kernel > > + CONFIG_OF_SYSTEM_SETUP > + > + Other code has addition modification that it wants to make > + to the flat device tree before handing it off to the kernel > + This causes ft_board_setup() to be called before booting the ft_system_setup() Thanks, Anatolij