From 0641bdb4a55e89acb3dcfb7785df57304d82f155 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 16 Jun 2018 19:03:23 +0200 Subject: add etrax-tools --- package/etrax-tools/src/e100boot/sbl/boot_images.c | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/etrax-tools/src/e100boot/sbl/boot_images.c (limited to 'package/etrax-tools/src/e100boot/sbl/boot_images.c') diff --git a/package/etrax-tools/src/e100boot/sbl/boot_images.c b/package/etrax-tools/src/e100boot/sbl/boot_images.c new file mode 100644 index 000000000..3aabdf06d --- /dev/null +++ b/package/etrax-tools/src/e100boot/sbl/boot_images.c @@ -0,0 +1,35 @@ +/* boot_images.c - Collection of the different boot images + * Johan Adolfsson Axis Communications AB + * $Id: boot_images.c,v 1.2 2002/07/01 14:37:51 pkj Exp $ + */ + +#include +#include "boot_images.h" + +/* We include the C files here to the size etc. easy */ +#include "net_ima.c" +#include "ser_ima.c" +#include "net_noleds_ima.c" +#include "ser_noleds_ima.c" + +struct boot_image_info_type boot_image_info[] = +{ + { INTERNAL_NW, net_ima, sizeof net_ima, "Network boot (default)"}, + { INTERNAL_SER, ser_ima, sizeof ser_ima, "Serial boot"}, + { INTERNAL_SER_NOLEDS, ser_noleds_ima, sizeof ser_noleds_ima, "Serial boot, no leds"}, + { INTERNAL_NW_NOLEDS, net_noleds_ima, sizeof net_noleds_ima, "Network boot, no leds"}, + + { "DBGNONE", net_ima, sizeof net_ima, "Obsolete (use INTERNAL_NW instead)" }, + { "DBG0", net_ima, sizeof net_ima, "Obsolete (use INTERNAL_NW instead)" }, + { "DBG1", net_ima, sizeof net_ima, "Obsolete (use INTERNAL_NW instead)" }, + { "DBG2", net_ima, sizeof net_ima, "Obsolete (use INTERNAL_NW instead)" }, + { "DBG3", net_ima, sizeof net_ima, "Obsolete (use INTERNAL_NW instead)" }, + + { "DBGNONE_NOLEDS", net_noleds_ima, sizeof net_noleds_ima, "Obsolete (use INTERNAL_NW_NOLEDS instead)" }, + { "DBG0_NOLEDS", net_noleds_ima, sizeof net_noleds_ima, "Obsolete (use INTERNAL_NW_NOLEDS instead)" }, + { "DBG1_NOLEDS", net_noleds_ima, sizeof net_noleds_ima, "Obsolete (use INTERNAL_NW_NOLEDS instead)" }, + { "DBG2_NOLEDS", net_noleds_ima, sizeof net_noleds_ima, "Obsolete (use INTERNAL_NW_NOLEDS instead)" }, + { "DBG3_NOLEDS", net_noleds_ima, sizeof net_noleds_ima, "Obsolete (use INTERNAL_NW_NOLEDS instead)" }, + + { NULL, NULL, 0, NULL } /* End of array */ +}; -- cgit v1.2.3