X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fasm-sparc%2Fglobal_data.h;h=a8d85f1b5c5920c7d428d1ba87243d7ca889804f;hb=e31d2c1e2bc954dc32e33bb2076139f85b95f8e6;hp=7c29fc6840257b3fc386ea5620669ebe5c57ef68;hpb=7cc399c86b26abaa95f65dda0a37413dd3c77167;p=u-boot diff --git a/include/asm-sparc/global_data.h b/include/asm-sparc/global_data.h index 7c29fc6840..a8d85f1b5c 100644 --- a/include/asm-sparc/global_data.h +++ b/include/asm-sparc/global_data.h @@ -46,7 +46,7 @@ typedef struct global_data { unsigned long cpu_clk; /* CPU clock in Hz! */ unsigned long bus_clk; - unsigned long ram_size; /* RAM size */ + phys_size_t ram_size; /* RAM size */ unsigned long reloc_off; /* Relocation Offset */ unsigned long reset_status; /* reset status register at boot */ unsigned long env_addr; /* Address of Environment struct */ @@ -79,6 +79,9 @@ typedef struct global_data { #define GD_FLG_RELOC 0x00001 /* Code was relocated to RAM */ #define GD_FLG_DEVINIT 0x00002 /* Devices have been initialized */ #define GD_FLG_SILENT 0x00004 /* Silent mode */ +#define GD_FLG_POSTFAIL 0x00008 /* Critical POST test failed */ +#define GD_FLG_POSTSTOP 0x00010 /* POST seqeunce aborted */ +#define GD_FLG_LOGINIT 0x00020 /* Log Buffer has been initialized */ #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("%g7")