blob: 8d634b45b80b98329e1c2a32843fbf0a383897db [file] [log] [blame]
/*
* Copyright Codito Technologies (www.codito.com)
*
* include/asm-arc/u-boot.h
*
* Copyright (C)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Authors : Sandeep Patil (sandeep.patil@codito.com)
* Pradeep Sawlani (pradeep.sawlani@codito.com)
*/
#ifndef __U_BOOT_H__
#define __U_BOOT_H__
#ifndef __ASSEMBLY__
#include <linux/types.h>
typedef struct bd_info {
#if 1
unsigned long bi_memstart; /* start of DRAM memory */
unsigned long bi_memsize; /* size of DRAM memory in bytes */
unsigned long bi_flashstart; /* start of FLASH memory */
unsigned long bi_flashsize; /* size of FLASH memory */
unsigned long bi_flashoffset; /* reserved area for startup monitor */
unsigned long bi_sramstart; /* start of SRAM memory */
unsigned long bi_sramsize; /* size of SRAM memory */
unsigned long bi_bootflags; /* boot / reboot flag (for LynxOS) */
unsigned long bi_ip_addr; /* IP Address */
unsigned char bi_enetaddr[6]; /* Ethernet adress */
unsigned short bi_ethspeed; /* Ethernet speed in Mbps */
unsigned long bi_intfreq; /* Internal Freq, in MHz */
unsigned long bi_busfreq; /* Bus Freq, in MHz */
unsigned long bi_baudrate; /* Console Baudrate */
ulong bi_boot_params; /* where this board expects params */
#endif
// unsigned long bi_ip_addr; /* IP Address */
// unsigned char bi_enetaddr[6]; /* Ethernet adress */
// unsigned long bi_boot_params;
} bd_t;
#endif /* __ASSEMBLY__ */
#endif /* __U_BOOT_H__ */