[WIP] Initial import of m68k-bootinfo

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Add sanity checks

  - String data must be zero-terminated,
  - The size of a record must cover all its data.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
The record size must always be a multiple of 4

Also correct printing of a size in an error message

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Add .gitignore

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Comment out non-public 68000/68010 definitions

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Use new exported <asm/bootinfo*.h> header files

Non-m68k compilation is handled using M68K_HEADERS

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Use endianness indicators in TYPE_* enums

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fix alignment

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Add README

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>