How to add user defined function in U-Boot?
<p>Here i just want to add one function in u-boot. I need to call one function in start_armboot(). For example,</p>

<p><strong>This is hell.h header file.</strong></p>

<pre><code>extern void hello(void);
</code></pre>

<p><strong>This is hell.c file.</strong></p>

<pre><code>#include&lt;stdio.h&gt;
    #include&lt;hell.h&gt;

void hello(void)
{
    printf("Hello world");
}
</code></pre>

<p>This hell.c is added into the common folder,and hell.h is added into the include folder. And then i include this hell.h into lib_arm/board.c. Finally i called hello() function from start_armboot() in lib_arm/board.c. Whenever i compiling it will show the error.</p>

<pre><code>lib_arm/libarm.a(board.o): In function `start_armboot':
/home/davinci-evm/U-Boot/lib_arm/board.c:389: undefined reference to `hello'
make: *** [u-boot] Error 1
</code></pre>

<p>Is there any other procedure to add function in u-boot other than this? please help me out.</p>