lkml.org 
[lkml]   [2016]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Sharing code between Linux and bootloader (U-boot) ?
Date
On 2016-05-20, Sebastian Frias <sf84@laposte.net> wrote:

> Some bootloaders (like U-boot) support several HW devices: serial,
> network, NAND, USB, etc. most of which are also supported by Linux.
>
> So the question is: is code shared?

A little bit -- sort of. I've seen chunks of code that have been
copied from Linux to U-Boot, and chunks of code in Linux and U-Boot
that appear to have come from the same place at some silicon vendor or
other. And there are bits of code I've written that ended up in both
places.

But Linux and U-Boot don't share actual files, and any changes to the
"common" code has to be done twice.

--
Grant Edwards grant.b.edwards Yow! Are we THERE yet?
at
gmail.com

\
 
 \ /
  Last update: 2016-05-20 17:21    [W:0.078 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site