From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chee, Tien Fong Date: Thu, 14 Feb 2019 06:05:17 +0000 Subject: [U-Boot] [PATCH v8 3/8] fit: Add function declarations to the header file In-Reply-To: <3c3cab03-4302-11d7-7afb-7b6b0e3473bb@denx.de> References: <1550067518-2542-1-git-send-email-tien.fong.chee@intel.com> <1550067518-2542-4-git-send-email-tien.fong.chee@intel.com> <3c3cab03-4302-11d7-7afb-7b6b0e3473bb@denx.de> Message-ID: <1550124317.10728.17.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Wed, 2019-02-13 at 17:11 +0100, Marek Vasut wrote: > On 2/13/19 3:18 PM, tien.fong.chee at intel.com wrote: > > > > From: Tien Fong Chee > > > > Adding some function declarations to the header file, so these > > functions can be referred by other C files. > > > > Signed-off-by: Tien Fong Chee > > --- > >  include/image.h | 4 ++++ > >  1 file changed, 4 insertions(+) > > > > diff --git a/include/image.h b/include/image.h > > index 83a2d41..f839443 100644 > > --- a/include/image.h > > +++ b/include/image.h > > @@ -1041,6 +1041,10 @@ int fit_check_format(const void *fit); > >   > >  int fit_conf_find_compat(const void *fit, const void *fdt); > >  int fit_conf_get_node(const void *fit, const char *conf_uname); > > +int fit_conf_get_prop_node_count(const void *fit, int noffset, > > + const char *prop_name); > > +int fit_conf_get_prop_node_index(const void *fit, int noffset, > > + const char *prop_name, int index); > Squash this patch with a patch adding those functions. Okay. > > > > >  /** > >   * fit_conf_get_prop_node() - Get node refered to by a > > configuration > > >