1819833afSPeter Tyser /* 2819833afSPeter Tyser * (C) Copyright 2000 - 2003 3819833afSPeter Tyser * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4819833afSPeter Tyser * 5*1a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 6819833afSPeter Tyser ******************************************************************** 7819833afSPeter Tyser * NOTE: This header file defines an interface to U-Boot. Including 8819833afSPeter Tyser * this (unmodified) header file in another file is considered normal 9819833afSPeter Tyser * use of U-Boot, and does *not* fall under the heading of "derived 10819833afSPeter Tyser * work". 11819833afSPeter Tyser ******************************************************************** 12819833afSPeter Tyser */ 13819833afSPeter Tyser 14819833afSPeter Tyser #ifndef __U_BOOT_H__ 15819833afSPeter Tyser #define __U_BOOT_H__ 16819833afSPeter Tyser 17819833afSPeter Tyser /* 18819833afSPeter Tyser * Board information passed to Linux kernel from U-Boot 19819833afSPeter Tyser * 20819833afSPeter Tyser * include/asm-ppc/u-boot.h 21819833afSPeter Tyser */ 22819833afSPeter Tyser 23819833afSPeter Tyser #ifndef __ASSEMBLY__ 24819833afSPeter Tyser 25819833afSPeter Tyser typedef struct bd_info { 26819833afSPeter Tyser unsigned long bi_memstart; /* start of DRAM memory */ 27819833afSPeter Tyser phys_size_t bi_memsize; /* size of DRAM memory in bytes */ 28819833afSPeter Tyser unsigned long bi_flashstart; /* start of FLASH memory */ 29819833afSPeter Tyser unsigned long bi_flashsize; /* size of FLASH memory */ 30819833afSPeter Tyser unsigned long bi_flashoffset; /* reserved area for startup monitor */ 31819833afSPeter Tyser unsigned long bi_sramstart; /* start of SRAM memory */ 32819833afSPeter Tyser unsigned long bi_sramsize; /* size of SRAM memory */ 33819833afSPeter Tyser unsigned long bi_mbar_base; /* base of internal registers */ 34819833afSPeter Tyser unsigned long bi_bootflags; /* boot / reboot flag (for LynxOS) */ 35819833afSPeter Tyser unsigned long bi_boot_params; /* where this board expects params */ 36819833afSPeter Tyser unsigned short bi_ethspeed; /* Ethernet speed in Mbps */ 37819833afSPeter Tyser unsigned long bi_intfreq; /* Internal Freq, in MHz */ 38819833afSPeter Tyser unsigned long bi_busfreq; /* Bus Freq, in MHz */ 39819833afSPeter Tyser #ifdef CONFIG_PCI 40819833afSPeter Tyser unsigned long bi_pcifreq; /* pci Freq in MHz */ 41819833afSPeter Tyser #endif 42819833afSPeter Tyser #ifdef CONFIG_EXTRA_CLOCK 43819833afSPeter Tyser unsigned long bi_inpfreq; /* input Freq in MHz */ 44819833afSPeter Tyser unsigned long bi_vcofreq; /* vco Freq in MHz */ 45819833afSPeter Tyser unsigned long bi_flbfreq; /* Flexbus Freq in MHz */ 46819833afSPeter Tyser #endif 47f5a5b3c5SSimon Glass unsigned int bi_baudrate; /* Console Baudrate */ 48819833afSPeter Tyser } bd_t; 49819833afSPeter Tyser 50819833afSPeter Tyser #endif /* __ASSEMBLY__ */ 51819833afSPeter Tyser 52476af299SMike Frysinger /* For image.h:image_check_target_arch() */ 53476af299SMike Frysinger #define IH_ARCH_DEFAULT IH_ARCH_M68K 54476af299SMike Frysinger 55819833afSPeter Tyser #endif /* __U_BOOT_H__ */ 56