Hi Masahiro, On 23.12.2015 04:52, Masahiro Yamada wrote: [..] > I guess Linux sorts headers from global to local. > > #include <linux/*.h> global in the project > #include <asm/*.h> arch-specific > #include "foo.h" local in the directory > > > Likewise, the following makes sense for U-Boot > > #include <common.h> > #include <*.h> global in the project (U-boot orignal) > #include <linux/*.h> global in the project (come from Linux) > #include <asm/*.h> arch-specific > #include <asm/arch/*.h> SoC-specific > #include "foo.h" local in the directory > > if I am not missing something... > >
Is it OK with you if for V1 (I'd like to post it soon) I'll use order proposed by Simon (and U-Boot page in general), and then depending on your discussion will swap (or not). Regards, Mateusz _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot