The following patches aim to make a smaller barebox possible. They make several things like command handling, having a shell or having a fullblown malloc support configurable. Sascha Hauer (12): add block support ata: use block support ata: make write support optional mci: make write support optional env: Make environment variable support optional make command support optional add noshell support arm: compile icache command only when command support is present malloc: put common memory functions to seperate file add dummy_malloc functions ARM: make exception handling optional nand: make reading oob optional arch/arm/Kconfig | 5 + arch/arm/cpu/Makefile | 4 +- arch/arm/cpu/cpu.c | 3 +- arch/arm/cpu/start.c | 10 ++ commands/Kconfig | 13 ++- common/Kconfig | 42 +++++++- common/Makefile | 9 +- common/block.c | 263 +++++++++++++++++++++++++++++++++++++++++ common/dlmalloc.c | 50 -------- common/dummy_malloc.c | 26 ++++ common/memory.c | 71 +++++++++++ common/startup.c | 5 +- drivers/ata/Kconfig | 5 + drivers/ata/disk_drive.c | 196 ++++++------------------------ drivers/mci/Kconfig | 5 + drivers/mci/mci-core.c | 6 + drivers/mtd/nand/Kconfig | 5 + drivers/mtd/nand/nand.c | 42 ++++++-- drivers/mtd/nand/nand_base.c | 9 ++- drivers/mtd/nand/nand_hwecc.c | 2 + fs/Makefile | 2 +- include/block.h | 32 +++++ include/environment.h | 12 ++ include/malloc.h | 1 + 24 files changed, 591 insertions(+), 227 deletions(-) create mode 100644 common/block.c create mode 100644 common/dummy_malloc.c create mode 100644 common/memory.c create mode 100644 include/block.h _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox