This series contains several startup related cleanups like getting rid of ifdefs, making locally used stuff static, remove unnecessary includes. Sascha ---------------------------------------------------------------- Sascha Hauer (10): startup: call a barebox_main function pointer at the end of the startup move struct action_data to the only file using it make file_*_action static move prototypes for envfs_* to envfs.h scripts: remove now unnecessary include startup: use IS_ENABLED instead of ifdef startup: Use IS_ENABLED for loading environment startup: add __noreturn to start_barebox defaultenv loading: rework to use less ifdefs/defines filetype: Make buf in file_detect_type const arch/arm/boards/beaglebone/board.c | 2 +- arch/arm/boards/panda/board.c | 2 +- arch/arm/mach-omap/Kconfig | 9 ---- arch/arm/mach-omap/xload.c | 11 ++++- commands/loadenv.c | 2 +- commands/saveenv.c | 2 +- common/Kconfig | 8 +-- common/environment.c | 11 ++++- common/filetype.c | 10 ++-- common/startup.c | 95 +++++++++++++++++++++--------------- include/common.h | 8 ++- include/envfs.h | 8 ++- include/environment.h | 23 --------- include/filetype.h | 2 +- pbl/misc.c | 4 +- scripts/bareboxenv.c | 1 - 16 files changed, 103 insertions(+), 95 deletions(-) _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox