Remove empty lines at end of file
Used command line to remove empty lines at end of file: find . -type f -exec sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Change-Id: I816ac9666b6dbb7c7e47843672f0d5cc499766a3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: http://review.coreboot.org/10446 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
4ba3b79537
commit
52648623e0
|
@ -68,4 +68,3 @@ clean:
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f CorebootPortingGuide.pdf Kconfig.pdf
|
rm -f CorebootPortingGuide.pdf Kconfig.pdf
|
||||||
|
|
||||||
|
|
|
@ -23,4 +23,3 @@ Errors (used in several places):
|
||||||
|
|
||||||
0xee Not supposed to get here
|
0xee Not supposed to get here
|
||||||
0xff Elfload fail or die() called
|
0xff Elfload fail or die() called
|
||||||
|
|
||||||
|
|
|
@ -288,4 +288,3 @@ export CC:=$(CONFIG_CROSS_COMPILE)gcc
|
||||||
|
|
||||||
In other words, instead of expressions, we see the values. It's easier to
|
In other words, instead of expressions, we see the values. It's easier to
|
||||||
deal with.
|
deal with.
|
||||||
|
|
||||||
|
|
|
@ -69,4 +69,3 @@ util/pbuilder/pbuilder:
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o bayou.elf builtin.lar
|
rm -f *.o bayou.elf builtin.lar
|
||||||
$(MAKE) -C util/pbuilder clean
|
$(MAKE) -C util/pbuilder clean
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,3 @@
|
||||||
</payload>
|
</payload>
|
||||||
</payloads>
|
</payloads>
|
||||||
</BayouConfig>
|
</BayouConfig>
|
||||||
|
|
||||||
|
|
|
@ -84,4 +84,3 @@ unsigned long unrv2b(u8 *src, u8 *dst, unsigned long *ilen_p)
|
||||||
return olen;
|
return olen;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,4 +65,3 @@ liblar/liblar.a:
|
||||||
clean:
|
clean:
|
||||||
rm -f pbuilder *.o lzma/*.o
|
rm -f pbuilder *.o lzma/*.o
|
||||||
$(MAKE) -C liblar clean
|
$(MAKE) -C liblar clean
|
||||||
|
|
||||||
|
|
|
@ -16,4 +16,3 @@
|
||||||
#undef BT_NAMESPACE
|
#undef BT_NAMESPACE
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,3 @@
|
||||||
#define _HASH_CHAIN
|
#define _HASH_CHAIN
|
||||||
#include "../BinTree/BinTreeMain.h"
|
#include "../BinTree/BinTreeMain.h"
|
||||||
#undef _HASH_CHAIN
|
#undef _HASH_CHAIN
|
||||||
|
|
||||||
|
|
|
@ -60,4 +60,3 @@ $(obj)/util/lzma/%.o: $(src)/util/lzma/C/Common/%.cpp
|
||||||
$(obj)/util/lzma/%.o: $(src)/util/lzma/%.cc
|
$(obj)/util/lzma/%.o: $(src)/util/lzma/%.cc
|
||||||
$(Q)printf " HOSTCXX $(subst $(shell pwd)/,,$(@))\n"
|
$(Q)printf " HOSTCXX $(subst $(shell pwd)/,,$(@))\n"
|
||||||
$(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
|
$(Q)$(HOSTCXX) $(HOSTCXXFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
|
|
|
@ -315,4 +315,3 @@ void do_lzma_uncompress(char *dst, int dst_len, char *src, int src_len) {
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -115,4 +115,3 @@ config MODULE_CBFS
|
||||||
This option will increase the ELF file size by ca. 1440 bytes.
|
This option will increase the ELF file size by ca. 1440 bytes.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -108,4 +108,3 @@ distclean: clean
|
||||||
include util/kconfig/Makefile
|
include util/kconfig/Makefile
|
||||||
|
|
||||||
.PHONY: $(PHONY) prepare clean distclean
|
.PHONY: $(PHONY) prepare clean distclean
|
||||||
|
|
||||||
|
|
|
@ -24,4 +24,3 @@ Then you can build coreinfo now:
|
||||||
$ make menuconfig
|
$ make menuconfig
|
||||||
|
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
|
|
|
@ -334,4 +334,3 @@ $(objk)/lxdialog/lxdialog: $(objk)/dochecklxdialog \
|
||||||
$(patsubst %,$(objk)/lxdialog/%,$(lxdialog)) $(HOST_LOADLIBES) -o $@
|
$(patsubst %,$(objk)/lxdialog/%,$(lxdialog)) $(HOST_LOADLIBES) -o $@
|
||||||
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
|
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
|
||||||
$(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
|
$(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,3 @@ EOF
|
||||||
if [ ! "$?" -eq "0" ]; then
|
if [ ! "$?" -eq "0" ]; then
|
||||||
echo -DKBUILD_NO_NLS;
|
echo -DKBUILD_NO_NLS;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -2371,4 +2371,3 @@ char *zconf_curname(void)
|
||||||
{
|
{
|
||||||
return current_pos.file ? current_pos.file->name : "<none>";
|
return current_pos.file ? current_pos.file->name : "<none>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -130,4 +130,3 @@ const char *str_get(struct gstr *gs)
|
||||||
{
|
{
|
||||||
return gs->s;
|
return gs->s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -234,4 +234,3 @@ kconf_id_lookup (register const char *str, register unsigned int len)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2476,4 +2476,3 @@ void zconfdump(FILE *out)
|
||||||
#include "expr.c"
|
#include "expr.c"
|
||||||
#include "symbol.c"
|
#include "symbol.c"
|
||||||
#include "menu.c"
|
#include "menu.c"
|
||||||
|
|
||||||
|
|
|
@ -47,4 +47,3 @@ distclean:
|
||||||
rm -rf filo
|
rm -rf filo
|
||||||
|
|
||||||
.PHONY: checkout config filo clean distclean
|
.PHONY: checkout config filo clean distclean
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,3 @@ For instructions on how to download, patch, and build tint as a coreboot
|
||||||
payload, please see
|
payload, please see
|
||||||
|
|
||||||
http://www.coreboot.org/Tint
|
http://www.coreboot.org/Tint
|
||||||
|
|
||||||
|
|
|
@ -141,4 +141,3 @@ junit.xml:
|
||||||
done
|
done
|
||||||
echo "</testsuite>" >> $@.tmp
|
echo "</testsuite>" >> $@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
|
|
|
@ -63,4 +63,3 @@ Copyright and License
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
See LICENSES.
|
See LICENSES.
|
||||||
|
|
||||||
|
|
|
@ -123,4 +123,3 @@ exception_idx:
|
||||||
set_vbar:
|
set_vbar:
|
||||||
mcr p15, 0, r0, c12, c0, 0
|
mcr p15, 0, r0, c12, c0, 0
|
||||||
bx lr
|
bx lr
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,3 @@ void icivau(uint64_t ivau)
|
||||||
{
|
{
|
||||||
__asm__ __volatile__("ic ivau, %0\n\t" : : "r" (ivau) :"memory");
|
__asm__ __volatile__("ic ivau, %0\n\t" : : "r" (ivau) :"memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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");
|
__asm__ __volatile__("msr SPSR_und, %0\n\t" : : "r" (spsr_und) : "memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,4 +29,3 @@ void gdb_arch_init(void)
|
||||||
void gdb_arch_enter(void)
|
void gdb_arch_enter(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -96,4 +96,3 @@ i386_do_exec:
|
||||||
movl %ebp,%esp
|
movl %ebp,%esp
|
||||||
popl %ebp
|
popl %ebp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
|
@ -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_attr.c
|
||||||
libform-$(CONFIG_LP_PDCURSES) += form/fld_dup.c
|
libform-$(CONFIG_LP_PDCURSES) += form/fld_dup.c
|
||||||
libform-$(CONFIG_LP_PDCURSES) += form/fld_just.c
|
libform-$(CONFIG_LP_PDCURSES) += form/fld_just.c
|
||||||
|
|
||||||
|
|
|
@ -831,4 +831,3 @@ Functions specific to the X11 port of PDCurses:
|
||||||
sb_refresh sb
|
sb_refresh sb
|
||||||
|
|
||||||
--------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -150,4 +150,3 @@ int sb_refresh(void)
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -261,4 +261,3 @@ int curses_serial_enabled(void)
|
||||||
void curses_enable_serial(int state) { }
|
void curses_enable_serial(int state) { }
|
||||||
int curses_serial_enabled(void) { return 0; }
|
int curses_serial_enabled(void) { return 0; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type))
|
#define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type))
|
||||||
#define typeCalloc(type,elts) (type *)calloc((elts),sizeof(type))
|
#define typeCalloc(type,elts) (type *)calloc((elts),sizeof(type))
|
||||||
#define typeRealloc(type,elts,ptr) (type *)_nc_doalloc(ptr, (elts)*sizeof(type))
|
#define typeRealloc(type,elts,ptr) (type *)_nc_doalloc(ptr, (elts)*sizeof(type))
|
||||||
|
|
||||||
|
|
|
@ -244,4 +244,3 @@ void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,4 +47,3 @@ int curses_vga_enabled(void)
|
||||||
{
|
{
|
||||||
return !!(curses_flags & F_ENABLE_CONSOLE);
|
return !!(curses_flags & F_ENABLE_CONSOLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,5 +38,3 @@ int add_reset_handler(void (*new_handler)(void))
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -131,5 +131,3 @@ void rtc_read_clock(struct tm *time)
|
||||||
if (time->tm_year < 80)
|
if (time->tm_year < 80)
|
||||||
time->tm_year += 100;
|
time->tm_year += 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -128,4 +128,3 @@ void pci_set_bus_master(pcidev_t dev)
|
||||||
val |= REG_COMMAND_BM;
|
val |= REG_COMMAND_BM;
|
||||||
pci_write_config16(dev, REG_COMMAND, val);
|
pci_write_config16(dev, REG_COMMAND, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,4 +56,3 @@ uint64_t timer_raw_value(void)
|
||||||
|
|
||||||
return rawv;
|
return rawv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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, 0);
|
||||||
this->halt_ep(this, ep, 1);
|
this->halt_ep(this, ep, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -902,4 +902,3 @@ ohci_process_done_queue(ohci_t *const ohci, const int spew_debug)
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,4 +86,3 @@ int usb_interface_check(u16 vendor, u16 device)
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -513,4 +513,3 @@ int usbhid_getchar (void)
|
||||||
|
|
||||||
return (int)ret;
|
return (int)ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -263,4 +263,3 @@ struct video_console coreboot_video_console = {
|
||||||
.columns = 80,
|
.columns = 80,
|
||||||
.rows = 25
|
.rows = 25
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -221,4 +221,3 @@ int video_console_init(void)
|
||||||
console_add_output_driver(&cons);
|
console_add_output_driver(&cons);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,4 +74,3 @@ static inline void writel(uint32_t _v, volatile void *_a)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -85,4 +85,3 @@ int run_address(void *f);
|
||||||
int init_default_cbfs_media(struct cbfs_media *media);
|
int init_default_cbfs_media(struct cbfs_media *media);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -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);
|
int cb_parse_header(void *addr, int len, struct sysinfo_t *info);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -103,4 +103,3 @@ int toupper(int c)
|
||||||
{
|
{
|
||||||
return (c >= 'a' && c <= 'z') ? (c - 32) : c;
|
return (c >= 'a' && c <= 'z') ? (c - 32) : c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -125,4 +125,3 @@ char *getenv(const char *name)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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)
|
int memcmp(const void *s1, const void *s2, size_t n)
|
||||||
__attribute__((weak, alias("default_memcmp")));
|
__attribute__((weak, alias("default_memcmp")));
|
||||||
|
|
||||||
|
|
|
@ -29,4 +29,3 @@
|
||||||
|
|
||||||
libcbfs-$(CONFIG_LP_CBFS) += cbfs.c
|
libcbfs-$(CONFIG_LP_CBFS) += cbfs.c
|
||||||
libcbfs-$(CONFIG_LP_CBFS) += ram_media.c
|
libcbfs-$(CONFIG_LP_CBFS) += ram_media.c
|
||||||
|
|
||||||
|
|
|
@ -229,4 +229,3 @@ int cbfs_decompress(int algo, void *src, void *dst, int len)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,3 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
liblzma-$(CONFIG_LP_LZMA) += lzma.c
|
liblzma-$(CONFIG_LP_LZMA) += lzma.c
|
||||||
|
|
||||||
|
|
|
@ -219,4 +219,3 @@ struct pci_dev *pci_get_dev(struct pci_access* pacc, u16 domain, u8 bus, u8 dev,
|
||||||
cur->func = func;
|
cur->func = func;
|
||||||
return cur;
|
return cur;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,4 +59,3 @@ clean:
|
||||||
rm -f $(TARGET).elf *.o
|
rm -f $(TARGET).elf *.o
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
|
||||||
|
|
|
@ -10,4 +10,3 @@ all: $(TARGETS)
|
||||||
|
|
||||||
run: all
|
run: all
|
||||||
for i in $(TARGETS); do ./$$i; done
|
for i in $(TARGETS); do ./$$i; done
|
||||||
|
|
||||||
|
|
|
@ -342,4 +342,3 @@ $(objk)/lxdialog/lxdialog: $(objk)/dochecklxdialog \
|
||||||
$(patsubst %,$(objk)/lxdialog/%,$(lxdialog)) $(HOST_LOADLIBES) -o $@
|
$(patsubst %,$(objk)/lxdialog/%,$(lxdialog)) $(HOST_LOADLIBES) -o $@
|
||||||
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
|
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
|
||||||
$(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
|
$(Q)$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,3 @@ EOF
|
||||||
if [ ! "$?" -eq "0" ]; then
|
if [ ! "$?" -eq "0" ]; then
|
||||||
echo -DKBUILD_NO_NLS;
|
echo -DKBUILD_NO_NLS;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -2371,4 +2371,3 @@ char *zconf_curname(void)
|
||||||
{
|
{
|
||||||
return current_pos.file ? current_pos.file->name : "<none>";
|
return current_pos.file ? current_pos.file->name : "<none>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -130,4 +130,3 @@ const char *str_get(struct gstr *gs)
|
||||||
{
|
{
|
||||||
return gs->s;
|
return gs->s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -234,4 +234,3 @@ kconf_id_lookup (register const char *str, register unsigned int len)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2475,4 +2475,3 @@ void zconfdump(FILE *out)
|
||||||
#include "expr.c"
|
#include "expr.c"
|
||||||
#include "symbol.c"
|
#include "symbol.c"
|
||||||
#include "menu.c"
|
#include "menu.c"
|
||||||
|
|
||||||
|
|
|
@ -251,4 +251,3 @@ int main()
|
||||||
outb (0x6, 0xcf9);
|
outb (0x6, 0xcf9);
|
||||||
halt();
|
halt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -104,4 +104,3 @@ exception_handler:
|
||||||
set_vbar:
|
set_vbar:
|
||||||
mcr p15, 0, r0, c12, c0, 0
|
mcr p15, 0, r0, c12, c0, 0
|
||||||
bx lr
|
bx lr
|
||||||
|
|
||||||
|
|
|
@ -26,4 +26,3 @@ uint64_t timestamp_get(void)
|
||||||
timer_monotonic_get(×tamp);
|
timer_monotonic_get(×tamp);
|
||||||
return (uint64_t)timestamp.microseconds;
|
return (uint64_t)timestamp.microseconds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,4 +44,3 @@ struct cpu_info *cpu_info(void)
|
||||||
addr -= sizeof(struct cpu_info);
|
addr -= sizeof(struct cpu_info);
|
||||||
return (void *)addr;
|
return (void *)addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,4 +40,3 @@ enum {
|
||||||
CLK_216M = 216000000,
|
CLK_216M = 216000000,
|
||||||
CLK_300M = 300000000,
|
CLK_300M = 300000000,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -26,4 +26,3 @@ uint64_t timestamp_get(void)
|
||||||
timer_monotonic_get(×tamp);
|
timer_monotonic_get(×tamp);
|
||||||
return (uint64_t)timestamp.microseconds;
|
return (uint64_t)timestamp.microseconds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,4 +57,3 @@ long long __ashldi3(long long u, word_type b)
|
||||||
|
|
||||||
return w.ll;
|
return w.ll;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,4 +50,3 @@ struct cpuinfo_riscv {
|
||||||
|
|
||||||
struct cpu_info *cpu_info(void);
|
struct cpu_info *cpu_info(void);
|
||||||
#endif /* __ARCH_CPU_H__ */
|
#endif /* __ARCH_CPU_H__ */
|
||||||
|
|
||||||
|
|
|
@ -30,4 +30,3 @@ ENTRY(_start)
|
||||||
#else
|
#else
|
||||||
ENTRY(stage_entry)
|
ENTRY(stage_entry)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2,5 +2,3 @@ static inline __attribute__((always_inline)) void hlt(void)
|
||||||
{
|
{
|
||||||
while(1);
|
while(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,3 @@
|
||||||
/* TODO: Need to add DMA_COHERENT region like on ARM? */
|
/* TODO: Need to add DMA_COHERENT region like on ARM? */
|
||||||
|
|
||||||
#endif /* __ARCH_MEMLAYOUT_H */
|
#endif /* __ARCH_MEMLAYOUT_H */
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,3 @@
|
||||||
|
|
||||||
.section ".rom.data", "a", @progbits
|
.section ".rom.data", "a", @progbits
|
||||||
.section ".rom.text", "ax", @progbits
|
.section ".rom.text", "ax", @progbits
|
||||||
|
|
||||||
|
|
|
@ -92,4 +92,3 @@ __wakeup_segment = RELOCATED(.)
|
||||||
.globl __wakeup_size
|
.globl __wakeup_size
|
||||||
__wakeup_size:
|
__wakeup_size:
|
||||||
.long . - __wakeup
|
.long . - __wakeup
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,3 @@ __main:
|
||||||
post_code(POST_DEAD_CODE)
|
post_code(POST_DEAD_CODE)
|
||||||
hlt
|
hlt
|
||||||
jmp .Lhlt
|
jmp .Lhlt
|
||||||
|
|
||||||
|
|
|
@ -21,4 +21,3 @@
|
||||||
|
|
||||||
.section ".rom.data", "a", @progbits
|
.section ".rom.data", "a", @progbits
|
||||||
.section ".rom.text", "ax", @progbits
|
.section ".rom.text", "ax", @progbits
|
||||||
|
|
||||||
|
|
|
@ -24,4 +24,3 @@ uint64_t timestamp_get(void)
|
||||||
{
|
{
|
||||||
return rdtscll();
|
return rdtscll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -145,5 +145,3 @@
|
||||||
|
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -144,5 +144,3 @@
|
||||||
|
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -145,5 +145,3 @@
|
||||||
|
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -108,4 +108,3 @@
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
} /* End _PR scope */
|
} /* End _PR scope */
|
||||||
|
|
||||||
|
|
|
@ -80,4 +80,3 @@
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
} /* End _PR scope */
|
} /* End _PR scope */
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,3 @@ config CPU_AMD_SOCKET_939
|
||||||
bool
|
bool
|
||||||
select CPU_AMD_MODEL_FXX
|
select CPU_AMD_MODEL_FXX
|
||||||
select X86_AMD_FIXED_MTRRS
|
select X86_AMD_FIXED_MTRRS
|
||||||
|
|
||||||
|
|
|
@ -10,4 +10,3 @@ config CPU_SOCKET_TYPE
|
||||||
hex
|
hex
|
||||||
default 0x11
|
default 0x11
|
||||||
depends on CPU_AMD_SOCKET_AM2
|
depends on CPU_AMD_SOCKET_AM2
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,3 @@ config CPU_SOCKET_TYPE
|
||||||
hex
|
hex
|
||||||
default 0x10
|
default 0x10
|
||||||
depends on CPU_AMD_SOCKET_F
|
depends on CPU_AMD_SOCKET_F
|
||||||
|
|
||||||
|
|
|
@ -368,4 +368,3 @@ __main:
|
||||||
post_code(POST_DEAD_CODE)
|
post_code(POST_DEAD_CODE)
|
||||||
hlt
|
hlt
|
||||||
jmp .Lhlt
|
jmp .Lhlt
|
||||||
|
|
||||||
|
|
|
@ -450,4 +450,3 @@ mtrr_table:
|
||||||
.word 0x208, 0x209, 0x20A, 0x20B
|
.word 0x208, 0x209, 0x20A, 0x20B
|
||||||
.word 0x20C, 0x20D, 0x20E, 0x20F
|
.word 0x20C, 0x20D, 0x20E, 0x20F
|
||||||
mtrr_table_end:
|
mtrr_table_end:
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,3 @@ config CPU_INTEL_NUM_FIT_ENTRIES
|
||||||
depends on CPU_INTEL_FIRMWARE_INTERFACE_TABLE
|
depends on CPU_INTEL_FIRMWARE_INTERFACE_TABLE
|
||||||
help
|
help
|
||||||
This option selects the number of empty entries in the FIT table.
|
This option selects the number of empty entries in the FIT table.
|
||||||
|
|
||||||
|
|
|
@ -318,4 +318,3 @@ mtrr_table:
|
||||||
.word 0x20C, 0x20D, 0x20E, 0x20F
|
.word 0x20C, 0x20D, 0x20E, 0x20F
|
||||||
.word 0x210, 0x211, 0x212, 0x213
|
.word 0x210, 0x211, 0x212, 0x213
|
||||||
mtrr_table_end:
|
mtrr_table_end:
|
||||||
|
|
||||||
|
|
|
@ -293,4 +293,3 @@ mtrr_table:
|
||||||
.word 0x26B, 0x26C, 0x26D
|
.word 0x26B, 0x26C, 0x26D
|
||||||
.word 0x26E, 0x26F
|
.word 0x26E, 0x26F
|
||||||
mtrr_table_end:
|
mtrr_table_end:
|
||||||
|
|
||||||
|
|
|
@ -332,4 +332,3 @@ mtrr_table:
|
||||||
.word 0x20C, 0x20D, 0x20E, 0x20F
|
.word 0x20C, 0x20D, 0x20E, 0x20F
|
||||||
.word 0x210, 0x211, 0x212, 0x213
|
.word 0x210, 0x211, 0x212, 0x213
|
||||||
mtrr_table_end:
|
mtrr_table_end:
|
||||||
|
|
||||||
|
|
|
@ -244,4 +244,3 @@ mtrr_table:
|
||||||
.word 0x208, 0x209, 0x20A, 0x20B
|
.word 0x208, 0x209, 0x20A, 0x20B
|
||||||
.word 0x20C, 0x20D, 0x20E, 0x20F
|
.word 0x20C, 0x20D, 0x20E, 0x20F
|
||||||
mtrr_table_end:
|
mtrr_table_end:
|
||||||
|
|
||||||
|
|
|
@ -24,4 +24,3 @@ config DCACHE_RAM_SIZE
|
||||||
hex
|
hex
|
||||||
default 0x01000
|
default 0x01000
|
||||||
depends on CPU_INTEL_SLOT_2
|
depends on CPU_INTEL_SLOT_2
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,3 @@ config DCACHE_RAM_SIZE
|
||||||
default 0x01000
|
default 0x01000
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -29,4 +29,3 @@ config DCACHE_RAM_SIZE
|
||||||
default 0x4000
|
default 0x4000
|
||||||
|
|
||||||
endif # CPU_INTEL_SOCKET_MPGA604
|
endif # CPU_INTEL_SOCKET_MPGA604
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,3 @@ SECTIONS
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -275,4 +275,3 @@ __main:
|
||||||
post_code(POST_DEAD_CODE)
|
post_code(POST_DEAD_CODE)
|
||||||
hlt
|
hlt
|
||||||
jmp .Lhlt
|
jmp .Lhlt
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue