summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/Makefile.inc1
-rw-r--r--payloads/libpayload/README1
-rw-r--r--payloads/libpayload/arch/arm/exception_asm.S1
-rw-r--r--payloads/libpayload/arch/arm64/lib/cache.c3
-rw-r--r--payloads/libpayload/arch/arm64/lib/pstate.c1
-rw-r--r--payloads/libpayload/arch/mips/gdb.c1
-rw-r--r--payloads/libpayload/arch/x86/exec.S1
-rw-r--r--payloads/libpayload/curses/Makefile.inc1
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/doc/intro.txt1
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/x11/sb.c1
-rw-r--r--payloads/libpayload/curses/keyboard.c1
-rw-r--r--payloads/libpayload/curses/pdcurses-backend/nc_alloc.h1
-rw-r--r--payloads/libpayload/curses/pdcurses-backend/pdcdisp.c1
-rw-r--r--payloads/libpayload/curses/pdcurses-backend/pdcutil.c1
-rw-r--r--payloads/libpayload/drivers/hid.c2
-rw-r--r--payloads/libpayload/drivers/nvram.c2
-rw-r--r--payloads/libpayload/drivers/pci.c1
-rw-r--r--payloads/libpayload/drivers/timer/ipq806x.c1
-rw-r--r--payloads/libpayload/drivers/udc/udc.c1
-rw-r--r--payloads/libpayload/drivers/usb/ohci.c1
-rw-r--r--payloads/libpayload/drivers/usb/quirks.c1
-rw-r--r--payloads/libpayload/drivers/usb/usbhid.c1
-rw-r--r--payloads/libpayload/drivers/video/corebootfb.c1
-rw-r--r--payloads/libpayload/drivers/video/video.c1
-rw-r--r--payloads/libpayload/include/arm/arch/io.h1
-rw-r--r--payloads/libpayload/include/cbfs.h1
-rw-r--r--payloads/libpayload/include/sysinfo.h1
-rw-r--r--payloads/libpayload/libc/ctype.c1
-rw-r--r--payloads/libpayload/libc/lib.c1
-rw-r--r--payloads/libpayload/libc/memory.c1
-rw-r--r--payloads/libpayload/libcbfs/Makefile.inc1
-rw-r--r--payloads/libpayload/libcbfs/cbfs_core.c1
-rw-r--r--payloads/libpayload/liblzma/Makefile.inc1
-rw-r--r--payloads/libpayload/libpci/libpci.c1
-rw-r--r--payloads/libpayload/sample/Makefile1
-rw-r--r--payloads/libpayload/tests/Makefile1
-rw-r--r--payloads/libpayload/util/kconfig/Makefile1
-rwxr-xr-xpayloads/libpayload/util/kconfig/check.sh1
-rw-r--r--payloads/libpayload/util/kconfig/lex.zconf.c_shipped1
-rw-r--r--payloads/libpayload/util/kconfig/util.c1
-rw-r--r--payloads/libpayload/util/kconfig/zconf.hash.c_shipped1
-rw-r--r--payloads/libpayload/util/kconfig/zconf.tab.c_shipped1
42 files changed, 0 insertions, 46 deletions
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc
index ed2e71f1fc..08a20e6d9e 100644
--- a/payloads/libpayload/Makefile.inc
+++ b/payloads/libpayload/Makefile.inc
@@ -141,4 +141,3 @@ junit.xml:
done
echo "</testsuite>" >> $@.tmp
mv $@.tmp $@
-
diff --git a/payloads/libpayload/README b/payloads/libpayload/README
index 70bd5efa26..0f905cb122 100644
--- a/payloads/libpayload/README
+++ b/payloads/libpayload/README
@@ -63,4 +63,3 @@ Copyright and License
---------------------
See LICENSES.
-
diff --git a/payloads/libpayload/arch/arm/exception_asm.S b/payloads/libpayload/arch/arm/exception_asm.S
index 8715955de2..fccb6c0bcd 100644
--- a/payloads/libpayload/arch/arm/exception_asm.S
+++ b/payloads/libpayload/arch/arm/exception_asm.S
@@ -123,4 +123,3 @@ exception_idx:
set_vbar:
mcr p15, 0, r0, c12, c0, 0
bx lr
-
diff --git a/payloads/libpayload/arch/arm64/lib/cache.c b/payloads/libpayload/arch/arm64/lib/cache.c
index 53dff5759e..1de4012d4a 100644
--- a/payloads/libpayload/arch/arm64/lib/cache.c
+++ b/payloads/libpayload/arch/arm64/lib/cache.c
@@ -88,6 +88,3 @@ void icivau(uint64_t ivau)
{
__asm__ __volatile__("ic ivau, %0\n\t" : : "r" (ivau) :"memory");
}
-
-
-
diff --git a/payloads/libpayload/arch/arm64/lib/pstate.c b/payloads/libpayload/arch/arm64/lib/pstate.c
index 321560789d..71af10a18c 100644
--- a/payloads/libpayload/arch/arm64/lib/pstate.c
+++ b/payloads/libpayload/arch/arm64/lib/pstate.c
@@ -453,4 +453,3 @@ void raw_write_spsr_und(uint32_t spsr_und)
{
__asm__ __volatile__("msr SPSR_und, %0\n\t" : : "r" (spsr_und) : "memory");
}
-
diff --git a/payloads/libpayload/arch/mips/gdb.c b/payloads/libpayload/arch/mips/gdb.c
index 63bfce2060..8f333b7eac 100644
--- a/payloads/libpayload/arch/mips/gdb.c
+++ b/payloads/libpayload/arch/mips/gdb.c
@@ -29,4 +29,3 @@ void gdb_arch_init(void)
void gdb_arch_enter(void)
{
}
-
diff --git a/payloads/libpayload/arch/x86/exec.S b/payloads/libpayload/arch/x86/exec.S
index 9a44196e6b..b632a558c6 100644
--- a/payloads/libpayload/arch/x86/exec.S
+++ b/payloads/libpayload/arch/x86/exec.S
@@ -96,4 +96,3 @@ i386_do_exec:
movl %ebp,%esp
popl %ebp
ret
-
diff --git a/payloads/libpayload/curses/Makefile.inc b/payloads/libpayload/curses/Makefile.inc
index 025a0511d3..290abc4b37 100644
--- a/payloads/libpayload/curses/Makefile.inc
+++ b/payloads/libpayload/curses/Makefile.inc
@@ -165,4 +165,3 @@ libform-$(CONFIG_LP_PDCURSES) += form/fld_opts.c
libform-$(CONFIG_LP_PDCURSES) += form/fld_attr.c
libform-$(CONFIG_LP_PDCURSES) += form/fld_dup.c
libform-$(CONFIG_LP_PDCURSES) += form/fld_just.c
-
diff --git a/payloads/libpayload/curses/PDCurses-3.4/doc/intro.txt b/payloads/libpayload/curses/PDCurses-3.4/doc/intro.txt
index a13cb7af2f..b54dcf015f 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/doc/intro.txt
+++ b/payloads/libpayload/curses/PDCurses-3.4/doc/intro.txt
@@ -831,4 +831,3 @@ Functions specific to the X11 port of PDCurses:
sb_refresh sb
--------------------------------------------------------------------------
-
diff --git a/payloads/libpayload/curses/PDCurses-3.4/x11/sb.c b/payloads/libpayload/curses/PDCurses-3.4/x11/sb.c
index a34f502b24..95b0292169 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/x11/sb.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/x11/sb.c
@@ -150,4 +150,3 @@ int sb_refresh(void)
return OK;
}
-
diff --git a/payloads/libpayload/curses/keyboard.c b/payloads/libpayload/curses/keyboard.c
index 927e06f17f..315653b784 100644
--- a/payloads/libpayload/curses/keyboard.c
+++ b/payloads/libpayload/curses/keyboard.c
@@ -261,4 +261,3 @@ int curses_serial_enabled(void)
void curses_enable_serial(int state) { }
int curses_serial_enabled(void) { return 0; }
#endif
-
diff --git a/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h b/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h
index 95d41f9aa9..25b5161ec6 100644
--- a/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h
+++ b/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h
@@ -1,4 +1,3 @@
#define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type))
#define typeCalloc(type,elts) (type *)calloc((elts),sizeof(type))
#define typeRealloc(type,elts,ptr) (type *)_nc_doalloc(ptr, (elts)*sizeof(type))
-
diff --git a/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c b/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c
index 308370e5bf..6b13b27b3b 100644
--- a/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c
+++ b/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c
@@ -244,4 +244,3 @@ void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
#endif
}
}
-
diff --git a/payloads/libpayload/curses/pdcurses-backend/pdcutil.c b/payloads/libpayload/curses/pdcurses-backend/pdcutil.c
index c40e2ed1eb..70853dc169 100644
--- a/payloads/libpayload/curses/pdcurses-backend/pdcutil.c
+++ b/payloads/libpayload/curses/pdcurses-backend/pdcutil.c
@@ -47,4 +47,3 @@ int curses_vga_enabled(void)
{
return !!(curses_flags & F_ENABLE_CONSOLE);
}
-
diff --git a/payloads/libpayload/drivers/hid.c b/payloads/libpayload/drivers/hid.c
index 60b4856fe9..f5dbe39e4b 100644
--- a/payloads/libpayload/drivers/hid.c
+++ b/payloads/libpayload/drivers/hid.c
@@ -38,5 +38,3 @@ int add_reset_handler(void (*new_handler)(void))
return 0;
}
-
-
diff --git a/payloads/libpayload/drivers/nvram.c b/payloads/libpayload/drivers/nvram.c
index a046c8e6cd..ca689b74e2 100644
--- a/payloads/libpayload/drivers/nvram.c
+++ b/payloads/libpayload/drivers/nvram.c
@@ -131,5 +131,3 @@ void rtc_read_clock(struct tm *time)
if (time->tm_year < 80)
time->tm_year += 100;
}
-
-
diff --git a/payloads/libpayload/drivers/pci.c b/payloads/libpayload/drivers/pci.c
index 31b29f86de..3a9bdcdcda 100644
--- a/payloads/libpayload/drivers/pci.c
+++ b/payloads/libpayload/drivers/pci.c
@@ -128,4 +128,3 @@ void pci_set_bus_master(pcidev_t dev)
val |= REG_COMMAND_BM;
pci_write_config16(dev, REG_COMMAND, val);
}
-
diff --git a/payloads/libpayload/drivers/timer/ipq806x.c b/payloads/libpayload/drivers/timer/ipq806x.c
index 0d70a86813..f39f23d64b 100644
--- a/payloads/libpayload/drivers/timer/ipq806x.c
+++ b/payloads/libpayload/drivers/timer/ipq806x.c
@@ -56,4 +56,3 @@ uint64_t timer_raw_value(void)
return rawv;
}
-
diff --git a/payloads/libpayload/drivers/udc/udc.c b/payloads/libpayload/drivers/udc/udc.c
index e01b4546fe..d0683ff328 100644
--- a/payloads/libpayload/drivers/udc/udc.c
+++ b/payloads/libpayload/drivers/udc/udc.c
@@ -351,4 +351,3 @@ void udc_handle_setup(struct usbdev_ctrl *this, int ep, dev_req_t *dr)
this->halt_ep(this, ep, 0);
this->halt_ep(this, ep, 1);
}
-
diff --git a/payloads/libpayload/drivers/usb/ohci.c b/payloads/libpayload/drivers/usb/ohci.c
index dffb8a49cd..fed1ce9af4 100644
--- a/payloads/libpayload/drivers/usb/ohci.c
+++ b/payloads/libpayload/drivers/usb/ohci.c
@@ -902,4 +902,3 @@ ohci_process_done_queue(ohci_t *const ohci, const int spew_debug)
return result;
}
-
diff --git a/payloads/libpayload/drivers/usb/quirks.c b/payloads/libpayload/drivers/usb/quirks.c
index a426a8f8de..0a3514933c 100644
--- a/payloads/libpayload/drivers/usb/quirks.c
+++ b/payloads/libpayload/drivers/usb/quirks.c
@@ -86,4 +86,3 @@ int usb_interface_check(u16 vendor, u16 device)
return -1;
}
-
diff --git a/payloads/libpayload/drivers/usb/usbhid.c b/payloads/libpayload/drivers/usb/usbhid.c
index 74b6d5d591..0ca45e06b2 100644
--- a/payloads/libpayload/drivers/usb/usbhid.c
+++ b/payloads/libpayload/drivers/usb/usbhid.c
@@ -513,4 +513,3 @@ int usbhid_getchar (void)
return (int)ret;
}
-
diff --git a/payloads/libpayload/drivers/video/corebootfb.c b/payloads/libpayload/drivers/video/corebootfb.c
index 969c601733..46f891f9f5 100644
--- a/payloads/libpayload/drivers/video/corebootfb.c
+++ b/payloads/libpayload/drivers/video/corebootfb.c
@@ -263,4 +263,3 @@ struct video_console coreboot_video_console = {
.columns = 80,
.rows = 25
};
-
diff --git a/payloads/libpayload/drivers/video/video.c b/payloads/libpayload/drivers/video/video.c
index 5f76a3075a..2b8207847b 100644
--- a/payloads/libpayload/drivers/video/video.c
+++ b/payloads/libpayload/drivers/video/video.c
@@ -221,4 +221,3 @@ int video_console_init(void)
console_add_output_driver(&cons);
return 0;
}
-
diff --git a/payloads/libpayload/include/arm/arch/io.h b/payloads/libpayload/include/arm/arch/io.h
index 4b0a687c7b..df3a0d51ae 100644
--- a/payloads/libpayload/include/arm/arch/io.h
+++ b/payloads/libpayload/include/arm/arch/io.h
@@ -74,4 +74,3 @@ static inline void writel(uint32_t _v, volatile void *_a)
}
#endif
-
diff --git a/payloads/libpayload/include/cbfs.h b/payloads/libpayload/include/cbfs.h
index 4ca8b1f2d4..59c31dbb93 100644
--- a/payloads/libpayload/include/cbfs.h
+++ b/payloads/libpayload/include/cbfs.h
@@ -85,4 +85,3 @@ int run_address(void *f);
int init_default_cbfs_media(struct cbfs_media *media);
#endif
-
diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h
index de8b0feaea..bce5c8e4de 100644
--- a/payloads/libpayload/include/sysinfo.h
+++ b/payloads/libpayload/include/sysinfo.h
@@ -143,4 +143,3 @@ int cb_parse_arch_specific(struct cb_record *rec, struct sysinfo_t *info);
int cb_parse_header(void *addr, int len, struct sysinfo_t *info);
#endif
-
diff --git a/payloads/libpayload/libc/ctype.c b/payloads/libpayload/libc/ctype.c
index fba9a7caee..823f0087c8 100644
--- a/payloads/libpayload/libc/ctype.c
+++ b/payloads/libpayload/libc/ctype.c
@@ -103,4 +103,3 @@ int toupper(int c)
{
return (c >= 'a' && c <= 'z') ? (c - 32) : c;
}
-
diff --git a/payloads/libpayload/libc/lib.c b/payloads/libpayload/libc/lib.c
index 616a7c6ca7..bead1f801b 100644
--- a/payloads/libpayload/libc/lib.c
+++ b/payloads/libpayload/libc/lib.c
@@ -125,4 +125,3 @@ char *getenv(const char *name)
{
return NULL;
}
-
diff --git a/payloads/libpayload/libc/memory.c b/payloads/libpayload/libc/memory.c
index aec60e4eb8..07a4d08a59 100644
--- a/payloads/libpayload/libc/memory.c
+++ b/payloads/libpayload/libc/memory.c
@@ -125,4 +125,3 @@ static int default_memcmp(const void *s1, const void *s2, size_t n)
int memcmp(const void *s1, const void *s2, size_t n)
__attribute__((weak, alias("default_memcmp")));
-
diff --git a/payloads/libpayload/libcbfs/Makefile.inc b/payloads/libpayload/libcbfs/Makefile.inc
index 72f6b790ad..133b2152d6 100644
--- a/payloads/libpayload/libcbfs/Makefile.inc
+++ b/payloads/libpayload/libcbfs/Makefile.inc
@@ -29,4 +29,3 @@
libcbfs-$(CONFIG_LP_CBFS) += cbfs.c
libcbfs-$(CONFIG_LP_CBFS) += ram_media.c
-
diff --git a/payloads/libpayload/libcbfs/cbfs_core.c b/payloads/libpayload/libcbfs/cbfs_core.c
index eb07e2d292..38232843b7 100644
--- a/payloads/libpayload/libcbfs/cbfs_core.c
+++ b/payloads/libpayload/libcbfs/cbfs_core.c
@@ -229,4 +229,3 @@ int cbfs_decompress(int algo, void *src, void *dst, int len)
return 0;
}
}
-
diff --git a/payloads/libpayload/liblzma/Makefile.inc b/payloads/libpayload/liblzma/Makefile.inc
index 7df45f2014..5d4fafac65 100644
--- a/payloads/libpayload/liblzma/Makefile.inc
+++ b/payloads/libpayload/liblzma/Makefile.inc
@@ -28,4 +28,3 @@
##
liblzma-$(CONFIG_LP_LZMA) += lzma.c
-
diff --git a/payloads/libpayload/libpci/libpci.c b/payloads/libpayload/libpci/libpci.c
index e9df10c42f..7b40e828d1 100644
--- a/payloads/libpayload/libpci/libpci.c
+++ b/payloads/libpayload/libpci/libpci.c
@@ -219,4 +219,3 @@ struct pci_dev *pci_get_dev(struct pci_access* pacc, u16 domain, u8 bus, u8 dev,
cur->func = func;
return cur;
}
-
diff --git a/payloads/libpayload/sample/Makefile b/payloads/libpayload/sample/Makefile
index 0ac1839c63..5931d5eb11 100644
--- a/payloads/libpayload/sample/Makefile
+++ b/payloads/libpayload/sample/Makefile
@@ -59,4 +59,3 @@ clean:
rm -f $(TARGET).elf *.o
distclean: clean
-
diff --git a/payloads/libpayload/tests/Makefile b/payloads/libpayload/tests/Makefile
index 9728722f3e..8c55053af7 100644
--- a/payloads/libpayload/tests/Makefile
+++ b/payloads/libpayload/tests/Makefile
@@ -10,4 +10,3 @@ all: $(TARGETS)
run: all
for i in $(TARGETS); do ./$$i; done
-
diff --git a/payloads/libpayload/util/kconfig/Makefile b/payloads/libpayload/util/kconfig/Makefile
index 624233d288..5931e28d0c 100644
--- a/payloads/libpayload/util/kconfig/Makefile
+++ b/payloads/libpayload/util/kconfig/Makefile
@@ -342,4 +342,3 @@ $(objk)/lxdialog/lxdialog: $(objk)/dochecklxdialog \
$(patsubst %,$(objk)/lxdialog/%,$(lxdialog)) $(HOST_LOADLIBES) -o $@
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
$(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
-
diff --git a/payloads/libpayload/util/kconfig/check.sh b/payloads/libpayload/util/kconfig/check.sh
index fa59cbf9d6..15fc294214 100755
--- a/payloads/libpayload/util/kconfig/check.sh
+++ b/payloads/libpayload/util/kconfig/check.sh
@@ -11,4 +11,3 @@ EOF
if [ ! "$?" -eq "0" ]; then
echo -DKBUILD_NO_NLS;
fi
-
diff --git a/payloads/libpayload/util/kconfig/lex.zconf.c_shipped b/payloads/libpayload/util/kconfig/lex.zconf.c_shipped
index 6897092b94..b01e35a277 100644
--- a/payloads/libpayload/util/kconfig/lex.zconf.c_shipped
+++ b/payloads/libpayload/util/kconfig/lex.zconf.c_shipped
@@ -2371,4 +2371,3 @@ char *zconf_curname(void)
{
return current_pos.file ? current_pos.file->name : "<none>";
}
-
diff --git a/payloads/libpayload/util/kconfig/util.c b/payloads/libpayload/util/kconfig/util.c
index a47d5e0fdc..24c631fc07 100644
--- a/payloads/libpayload/util/kconfig/util.c
+++ b/payloads/libpayload/util/kconfig/util.c
@@ -130,4 +130,3 @@ const char *str_get(struct gstr *gs)
{
return gs->s;
}
-
diff --git a/payloads/libpayload/util/kconfig/zconf.hash.c_shipped b/payloads/libpayload/util/kconfig/zconf.hash.c_shipped
index 5c73d51339..3a36ca8971 100644
--- a/payloads/libpayload/util/kconfig/zconf.hash.c_shipped
+++ b/payloads/libpayload/util/kconfig/zconf.hash.c_shipped
@@ -234,4 +234,3 @@ kconf_id_lookup (register const char *str, register unsigned int len)
}
return 0;
}
-
diff --git a/payloads/libpayload/util/kconfig/zconf.tab.c_shipped b/payloads/libpayload/util/kconfig/zconf.tab.c_shipped
index 5868fb8f78..5ba43dcbd0 100644
--- a/payloads/libpayload/util/kconfig/zconf.tab.c_shipped
+++ b/payloads/libpayload/util/kconfig/zconf.tab.c_shipped
@@ -2475,4 +2475,3 @@ void zconfdump(FILE *out)
#include "expr.c"
#include "symbol.c"
#include "menu.c"
-