Re: [U-Boot] Sharing code between Linux and bootloader (U-boot) ?

2016-05-30 Thread Holger Schurig
Sebastian Frias writes: Barebox shares a good amount of code. For example, when you look at SPI at AT24/AT25 you'll see that many things are almost identical. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Sharing code between Linux and bootloader (U-boot) ?

2016-05-23 Thread Sebastian Frias
Hi Tom, On 05/21/2016 03:41 AM, Tom Rini wrote: > On Fri, May 20, 2016 at 04:28:23PM +0200, Sebastian Frias wrote: > >> Hi, >> >> 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

Re: [U-Boot] Sharing code between Linux and bootloader (U-boot) ?

2016-05-20 Thread Tom Rini
On Fri, May 20, 2016 at 04:28:23PM +0200, Sebastian Frias wrote: > Hi, > > 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? I mean, I understand that the > drivers need

[U-Boot] Sharing code between Linux and bootloader (U-boot) ?

2016-05-20 Thread Sebastian Frias
Hi, 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? I mean, I understand that the drivers need to talk to the appropriate API, and such API could be different between Linux