├── include ├── configs │ ├── pwd │ ├── sc3.h │ ├── sc520_cdp.h │ ├── sc520_spunk.h │ └── sc520_spunk_rel.h ├── asm-arm │ ├── arch-lpc43xx │ ├── errno.h │ ├── arch-s3c24x0 │ │ ├── s3c2400.h │ │ ├── s3c2410.h │ │ └── s3c24x0.h │ ├── hardware.h │ ├── arch-mx27 │ │ └── asm-offsets.h │ ├── unaligned.h │ ├── ptrace.h │ └── byteorder.h ├── asm-nios │ ├── cache.h │ ├── processor.h │ ├── system.h │ └── string.h ├── asm-ppc │ ├── errno.h │ ├── sigcontext.h │ ├── unaligned.h │ ├── fsl_serdes.h │ └── mc146818rtc.h ├── asm-sh │ ├── errno.h │ ├── processor.h │ ├── unaligned.h │ └── cache.h ├── asm-avr32 │ ├── errno.h │ └── config.h ├── asm-blackfin │ ├── errno.h │ ├── mach-bf533 │ │ ├── def_local.h │ │ ├── ports.h │ │ ├── BF531_cdef.h │ │ ├── BF532_cdef.h │ │ └── BF533_cdef.h │ ├── mach-bf537 │ │ ├── def_local.h │ │ ├── BF534_cdef.h │ │ └── ports.h │ ├── signal.h │ ├── unaligned.h │ ├── mach-bf527 │ │ ├── def_local.h │ │ └── mem_map.h │ ├── mach-bf548 │ │ ├── def_local.h │ │ └── mem_map.h │ ├── sdh.h │ ├── blackfin.h │ ├── mach-bf561 │ │ └── def_local.h │ ├── deferred.h │ ├── mach-common │ │ └── bits │ │ │ ├── trace.h │ │ │ ├── ports-a.h │ │ │ ├── ports-b.h │ │ │ ├── ports-c.h │ │ │ ├── ports-d.h │ │ │ ├── ports-e.h │ │ │ ├── ports-f.h │ │ │ ├── ports-g.h │ │ │ ├── ports-h.h │ │ │ ├── ports-i.h │ │ │ ├── ports-j.h │ │ │ └── watchdog.h │ ├── mem_map.h │ └── net.h ├── asm-i386 │ ├── errno.h │ ├── pci.h │ ├── i8254.h │ ├── i8259.h │ ├── ibmpc.h │ ├── ic │ │ ├── pci.h │ │ └── sc520.h │ ├── zimage.h │ ├── realmode.h │ ├── interrupt.h │ ├── processor.h │ ├── u-boot-i386.h │ └── config.h ├── asm-m68k │ ├── errno.h │ ├── unaligned.h │ └── processor.h ├── asm-sparc │ └── errno.h ├── asm-microblaze │ ├── errno.h │ ├── processor.h │ └── unaligned.h ├── fdc.h ├── sm501.h ├── ali512x.h ├── sed13806.h ├── video_font.h ├── linux │ ├── mtd │ │ ├── mtd.h │ │ ├── concat.h │ │ └── nand_ecc.h │ ├── config.h │ ├── poison.h │ └── stddef.h ├── 405_dimm.h ├── asm-mips │ ├── inca-ip.h │ ├── reboot.h │ ├── isadep.h │ ├── cachectl.h │ ├── unaligned.h │ └── config.h ├── spd_sdram.h ├── asm-nios2 │ └── unaligned.h ├── .gitignore ├── jffs2 │ ├── jffs2_1pass.h │ └── compr_rubin.h ├── mii_phy.h ├── arm925t.h ├── sata.h ├── vsc7385.h ├── video.h ├── cramfs │ └── cramfs_fs_sb.h ├── sha256.h ├── config_defaults.h ├── video_easylogo.h ├── asm-generic │ └── unaligned.h ├── keyboard.h ├── bcd.h ├── bedbug │ └── type.h ├── e500.h ├── u-boot │ └── u-boot.lds.h ├── dm9000.h └── _exports.h ├── lib_blackfin └── .gitignore ├── cpu ├── mpc824x │ ├── .gitignore │ └── drivers │ │ └── epic.h ├── blackfin │ ├── .gitignore │ ├── bootrom-asm-offsets.c.in │ ├── watchdog.c │ ├── os_log.c │ └── bootrom-asm-offsets.awk ├── mpc85xx │ ├── resetvec.S │ └── mp.h ├── i386 │ ├── cpu.c │ ├── Makefile │ ├── serial.c │ ├── start.S │ ├── config.mk │ ├── resetvec.S │ ├── start16.S │ ├── interrupts.c │ └── sc520 │ │ ├── sc520.c │ │ ├── Makefile │ │ ├── sc520_asm.S │ │ ├── sc520_pci.c │ │ ├── sc520_ssi.c │ │ └── sc520_timer.c ├── arm926ejs │ ├── at91 │ │ └── config.mk │ ├── start.S │ ├── omap │ │ └── reset.S │ ├── versatile │ │ └── reset.S │ └── nomadik │ │ └── reset.S ├── arm1136 │ └── start.S ├── arm720t │ ├── start.S │ └── lpc2292 │ │ └── iap_entry.S ├── arm920t │ ├── start.S │ └── a320 │ │ └── reset.S ├── arm925t │ └── start.S ├── arm946es │ └── start.S ├── leon3 │ └── usb_uhci.c ├── lh7a40x │ └── start.S ├── sa1100 │ └── start.S ├── arm_intcm │ └── start.S ├── mpc8260 │ └── cpu_init.c ├── ixp │ └── npe │ │ └── include │ │ ├── IxOsal.h │ │ ├── IxAtmdAccCtrl.h │ │ ├── IxOsalOsUtilitySymbols.h │ │ ├── IxOsalOsAssert.h │ │ └── IxOsalOs.h ├── arm_cortexm3 │ └── lpc18xx │ │ └── spifilib │ │ ├── spifi_drv_M3.lib │ │ └── spifi_drv_M4.lib ├── ppc4xx │ └── resetvec.S ├── mpc512x │ └── asm-offsets.h ├── mpc8xxx │ └── Makefile └── at32ap │ └── config.mk ├── board ├── avnet │ ├── fx12mm │ │ └── .gitignore │ └── v5fx30teval │ │ └── .gitignore ├── delta │ └── config.mk ├── xilinx │ ├── ml507 │ │ └── .gitignore │ ├── ppc405-generic │ │ └── .gitignore │ └── ppc440-generic │ │ └── .gitignore ├── afeb9260 │ └── config.mk ├── cm4008 │ └── config.mk ├── cm41xx │ └── config.mk ├── csb637 │ └── config.mk ├── esd │ ├── meesc │ │ └── config.mk │ ├── otc570 │ │ └── config.mk │ └── mecp5123 │ │ └── config.mk ├── kb9202 │ └── config.mk ├── m501sk │ └── config.mk ├── ronetix │ ├── pm9261 │ │ └── config.mk │ └── pm9263 │ │ └── config.mk ├── voiceblue │ └── config.mk ├── xsengine │ └── config.mk ├── BuS │ ├── eb_cpux9k2 │ │ └── config.mk │ └── EB+MCF-EV123 │ │ └── textbase.mk ├── calao │ ├── tny_a9260 │ │ └── config.mk │ └── sbc35_a9g20 │ │ └── config.mk ├── davedenx │ ├── qong │ │ └── config.mk │ └── aria │ │ └── config.mk ├── eukrea │ ├── cpu9260 │ │ └── config.mk │ └── cpuat91 │ │ └── config.mk ├── imx31_phycore │ └── config.mk ├── ixdp425 │ └── config.mk ├── atmel │ ├── at91cap9adk │ │ └── config.mk │ ├── at91rm9200dk │ │ └── config.mk │ ├── at91rm9200ek │ │ └── config.mk │ ├── at91sam9260ek │ │ └── config.mk │ ├── at91sam9261ek │ │ └── config.mk │ ├── at91sam9263ek │ │ └── config.mk │ ├── at91sam9rlek │ │ └── config.mk │ ├── at91sam9m10g45ek │ │ └── config.mk │ ├── atngw100 │ │ └── config.mk │ └── atstk1000 │ │ └── config.mk ├── logicpd │ ├── imx27lite │ │ └── config.mk │ └── imx31_litekit │ │ └── config.mk ├── prodrive │ └── pdnb3 │ │ └── config.mk ├── cobra5272 │ └── bdm │ │ ├── gdbinit.reset │ │ ├── reset │ │ └── load-cobra_uboot ├── cradle │ └── config.mk ├── sandpoint │ ├── dinkdl │ └── README ├── xaeniax │ ├── config.mk │ └── lowlevel_init.S ├── samsung │ ├── smdk6400 │ │ ├── .gitignore │ │ └── config.mk │ ├── smdkc100 │ │ └── config.mk │ ├── smdk2410 │ │ └── config.mk │ └── smdk2400 │ │ └── config.mk ├── trizepsiv │ ├── config.mk │ └── lowlevel_init.S ├── cogent │ ├── pci.c │ ├── pci.h │ ├── rtc.c │ ├── rtc.h │ ├── kbm.c │ ├── par.c │ ├── par.h │ ├── dipsw.h │ └── serial.h ├── eNET │ ├── Makefile │ ├── config.mk │ ├── eNET_pci.c │ └── u-boot.lds ├── hymod │ └── hymod.c ├── lubbock │ ├── config.mk │ └── lowlevel_init.S ├── lwmon │ ├── lwmon.c │ └── README.keybd ├── pleb2 │ └── config.mk ├── trab │ ├── tsc2000.c │ └── config.mk ├── MAI │ ├── AmigaOneG3SE │ │ ├── todo.txt │ │ ├── smbus.h │ │ ├── via686.h │ │ └── flash.c │ └── menu │ │ └── cmd_menu.c ├── cerf250 │ ├── config.mk │ └── lowlevel_init.S ├── pxa255_idp │ ├── config.mk │ ├── lowlevel_init.S │ └── README ├── RPXClassic │ ├── eccx.c │ ├── flash.c │ ├── config.mk │ └── RPXClassic.c ├── sc520_cdp │ ├── Makefile │ ├── config.mk │ ├── flash.c │ ├── flash_old.c │ ├── sc520_cdp.c │ ├── u-boot.lds │ ├── sc520_cdp_asm.S │ ├── sc520_cdp_pci.c │ └── sc520_cdp_asm16.S ├── sc520_spunk │ ├── flash.c │ ├── Makefile │ ├── config.mk │ ├── u-boot.lds │ ├── sc520_spunk.c │ ├── sc520_spunk_asm.S │ ├── sc520_spunk_pci.c │ └── sc520_spunk_asm16.S ├── LEOX │ └── elpt860 │ │ └── README.LEOX ├── Marvell │ └── common │ │ └── memory.c ├── csb226 │ ├── lowlevel_init.S │ └── config.mk ├── innokom │ ├── lowlevel_init.S │ └── config.mk ├── logodl │ ├── lowlevel_init.S │ └── config.mk ├── mpl │ ├── common │ │ └── pci_parts.h │ └── vcma9 │ │ └── config.mk ├── netstal │ └── hcu5 │ │ └── README.txt ├── shannon │ ├── inferno.header │ └── config.mk ├── armltd │ ├── integrator │ │ └── config.mk │ └── versatile │ │ └── config.mk ├── freescale │ ├── mx31ads │ │ └── config.mk │ ├── mx31pdk │ │ └── config.mk │ ├── mpc8313erdb │ │ └── config.mk │ ├── mpc837xemds │ │ └── pci.h │ ├── mpc8315erdb │ │ └── config.mk │ ├── common │ │ ├── pq-mds-pib.h │ │ ├── sgmii_riser.h │ │ └── via.h │ ├── mpc5121ads │ │ └── README │ └── mpc8610hpcd │ │ └── config.mk ├── actux4 │ └── config.mk ├── karo │ └── tx25 │ │ └── config.mk ├── zylonite │ └── config.mk ├── davinci │ ├── dm6467evm │ │ └── config.mk │ ├── dm355leopard │ │ └── config.mk │ ├── dm355evm │ │ └── config.mk │ ├── dm365evm │ │ └── config.mk │ └── sffsdr │ │ └── config.mk ├── actel │ └── sf2-dev-kit │ │ └── mss_spi │ │ └── mss_spi.h ├── cmc_pu2 │ └── config.mk ├── mp2usb │ └── config.mk ├── mimc │ └── mimc200 │ │ └── config.mk ├── netstar │ ├── crcek.h │ └── config.mk ├── assabet │ └── config.mk ├── miromico │ └── hammerhead │ │ └── config.mk ├── evb64260 │ └── i2c.h ├── actux1 │ └── config.mk ├── actux2 │ └── config.mk ├── actux3 │ └── config.mk ├── cray │ └── L1 │ │ └── x2c.awk ├── earthlcd │ └── favr-32-ezkit │ │ └── config.mk ├── qemu-mips │ ├── config.mk │ ├── README │ └── lowlevel_init.S ├── espt │ └── config.mk ├── sheldon │ └── simpc8313 │ │ └── config.mk ├── cm-bf527 │ └── gpio_cfi_flash.h ├── cm-bf537e │ ├── gpio_cfi_flash.h │ └── flash.c ├── cm-bf537u │ ├── gpio_cfi_flash.h │ └── flash.c ├── renesas │ └── sh7763rdp │ │ └── config.mk ├── tcm-bf537 │ └── gpio_cfi_flash.h ├── spc1920 │ └── pld.h ├── dnp1110 │ └── config.mk ├── barco │ └── README ├── ibf-dsp561 │ └── ibf-dsp561.c ├── mx1fs2 │ └── config.mk ├── scb9328 │ └── config.mk ├── gth │ ├── ee_access.h │ └── README ├── wepep250 │ └── config.mk ├── ns9750dev │ └── config.mk ├── gcplus │ └── config.mk ├── lart │ └── config.mk ├── sx1 │ └── config.mk ├── mcc200 │ └── mt48lc8m32b2-6-7.h ├── cm-bf533 │ └── cm-bf533.c ├── cm-bf561 │ └── cm-bf561.c ├── matrix_vision │ └── mvblm7 │ │ └── mvblm7.h ├── digsy_mtc │ ├── config.mk │ └── Makefile ├── edb93xx │ └── config.mk ├── sbc2410x │ └── config.mk ├── bf538f-ezkit │ └── bf538f-ezkit.c ├── a3000 │ └── README ├── ti │ ├── omap1510inn │ │ └── config.mk │ ├── omap730p2 │ │ └── config.mk │ ├── omap1610inn │ │ └── config.mk │ ├── omap5912osk │ │ └── config.mk │ └── omap2420h4 │ │ └── config.mk ├── ep8260 │ └── ep8260.h ├── genietv │ └── genietv.h ├── rpxsuper │ └── rpxsuper.h ├── ml2 │ └── init.S ├── apollon │ └── config.mk ├── amirix │ └── ap1000 │ │ └── init.S ├── gth2 │ └── ee_access.h ├── fads │ └── lamp.c ├── bf533-stamp │ └── video.h ├── siemens │ └── common │ │ └── README ├── jse │ └── config.mk ├── keymile │ └── common │ │ └── common.h ├── ms7750se │ └── config.mk └── tqc │ └── tqm834x │ └── config.mk ├── examples ├── api │ └── .gitignore └── standalone │ └── .gitignore ├── nand_spl └── board │ ├── karo │ └── tx25 │ │ └── config.mk │ ├── freescale │ └── mx31pdk │ │ ├── config.mk │ │ └── u-boot.lds │ └── amcc │ └── bamboo │ └── sdram.c ├── tools ├── updater │ ├── dummy.c │ └── junk ├── getline.h ├── logos │ ├── denx.bmp │ ├── esd.bmp │ ├── atmel.bmp │ ├── ronetix.bmp │ ├── linux_logo_ttcontrol.bmp │ └── linux_logo_ttcontrol_palfin.bmp ├── easylogo │ ├── linux_logo.tga │ ├── linux_blackfin.tga │ ├── runme.sh │ └── Makefile ├── .gitignore ├── scripts │ ├── send_cmd │ ├── send_image │ ├── dot.kermrc │ └── define2mk.sed ├── bddb │ ├── config.php │ ├── execute.php │ └── badsubmit.php ├── env │ └── fw_env.config ├── inca-swap-bytes.c └── jtagconsole ├── CHANGELOG ├── MAINTAINERS ├── fs ├── fdos │ ├── fs.c │ ├── dev.c │ ├── dos.h │ ├── fat.c │ ├── fdos.c │ ├── fdos.h │ ├── vfat.c │ ├── Makefile │ └── subdir.c ├── yaffs2 │ ├── yaffsinterface.h │ ├── yaffs_malloc.h │ ├── yaffs_qsort.h │ └── yaffs_tagsvalidity.h └── ubifs │ └── crc16.h ├── doc ├── README-i386 ├── README.m5373evb ├── README.RPXClassic ├── README.mpc7448hpc2 ├── README.EVB-64260-750CX ├── README.timll ├── README.idma2intr ├── uImage.FIT │ ├── update_uboot.its │ └── kernel.its ├── README.amigaone ├── README.VLAN ├── README.ns9750dev ├── README.commands.itest ├── README.atum8548 ├── README.SNTP ├── README.ARM-memory-map ├── README.sbc8641d ├── README.OXC └── README.mpc74xx ├── lib_i386 ├── bios.S ├── bios.h ├── pci.c ├── timer.c ├── video.c ├── zimage.c ├── bios_pci.S ├── pci_type1.c ├── realmode.c ├── bios_setup.c ├── interrupts.c ├── pcat_timer.c ├── video_bios.c ├── pcat_interrupts.c └── realmode_switch.S ├── common ├── cmd_fdos.c ├── system_map.c ├── cmd_df.c └── cmd_spibootldr.c ├── drivers ├── misc │ └── ali512x.c ├── video │ ├── sm501.c │ ├── ct69000.c │ └── sed13806.c ├── rtc │ └── s3c24x0_rtc.c ├── block │ ├── sata_sil3114.c │ └── sata_sil3114.h └── pcmcia │ └── ti_pci1410a.c ├── lib_generic └── lzma │ ├── license.txt │ ├── history.txt │ └── import_lzmasdk.sh ├── CHANGELOG-before-U-Boot-1.1.5 ├── onenand_ipl └── board │ └── apollon │ └── config.mk ├── lib_nios └── math.h ├── lib_nios2 └── math.h ├── net └── tftp.h ├── README ├── lib_arm └── eabi_compat.c └── libfdt └── README /include/configs/pwd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib_blackfin/.gitignore: -------------------------------------------------------------------------------- 1 | u-boot.lds 2 | -------------------------------------------------------------------------------- /cpu/mpc824x/.gitignore: -------------------------------------------------------------------------------- 1 | /bedbug_603e.c 2 | -------------------------------------------------------------------------------- /include/asm-arm/arch-lpc43xx: -------------------------------------------------------------------------------- 1 | arch-lpc18xx -------------------------------------------------------------------------------- /board/avnet/fx12mm/.gitignore: -------------------------------------------------------------------------------- 1 | config.tmp 2 | -------------------------------------------------------------------------------- /board/delta/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x83008000 2 | -------------------------------------------------------------------------------- /board/xilinx/ml507/.gitignore: -------------------------------------------------------------------------------- 1 | /config.tmp 2 | -------------------------------------------------------------------------------- /examples/api/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | demo.bin 3 | -------------------------------------------------------------------------------- /board/afeb9260/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21f00000 2 | -------------------------------------------------------------------------------- /board/avnet/v5fx30teval/.gitignore: -------------------------------------------------------------------------------- 1 | /config.tmp 2 | -------------------------------------------------------------------------------- /board/cm4008/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00f00000 2 | -------------------------------------------------------------------------------- /board/cm41xx/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00f00000 2 | -------------------------------------------------------------------------------- /board/csb637/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23fc0000 2 | -------------------------------------------------------------------------------- /board/esd/meesc/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21f00000 2 | -------------------------------------------------------------------------------- /board/esd/otc570/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/kb9202/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21f00000 2 | -------------------------------------------------------------------------------- /board/m501sk/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21f00000 2 | -------------------------------------------------------------------------------- /board/ronetix/pm9261/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 -------------------------------------------------------------------------------- /board/voiceblue/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x13FD0000 2 | -------------------------------------------------------------------------------- /board/xilinx/ppc405-generic/.gitignore: -------------------------------------------------------------------------------- 1 | config.tmp 2 | -------------------------------------------------------------------------------- /board/xsengine/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0xA3F80000 2 | -------------------------------------------------------------------------------- /cpu/blackfin/.gitignore: -------------------------------------------------------------------------------- 1 | bootrom-asm-offsets.[chs] 2 | -------------------------------------------------------------------------------- /cpu/mpc824x/drivers/epic.h: -------------------------------------------------------------------------------- 1 | #include "epic/epic.h" 2 | -------------------------------------------------------------------------------- /nand_spl/board/karo/tx25/config.mk: -------------------------------------------------------------------------------- 1 | PAD_TO := 2048 2 | -------------------------------------------------------------------------------- /board/BuS/eb_cpux9k2/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/calao/tny_a9260/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/davedenx/qong/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x8ff00000 2 | -------------------------------------------------------------------------------- /board/eukrea/cpu9260/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21f00000 2 | -------------------------------------------------------------------------------- /board/eukrea/cpuat91/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21F00000 2 | -------------------------------------------------------------------------------- /board/imx31_phycore/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x87f00000 2 | -------------------------------------------------------------------------------- /board/ixdp425/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | TEXT_BASE = 0x00f80000 3 | -------------------------------------------------------------------------------- /board/ronetix/pm9263/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/xilinx/ppc440-generic/.gitignore: -------------------------------------------------------------------------------- 1 | /config.tmp 2 | -------------------------------------------------------------------------------- /include/asm-arm/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-nios/cache.h: -------------------------------------------------------------------------------- 1 | /*FIXME: Implement this! */ 2 | -------------------------------------------------------------------------------- /include/asm-ppc/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-sh/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /board/BuS/EB+MCF-EV123/textbase.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0xFFE00000 2 | -------------------------------------------------------------------------------- /board/atmel/at91cap9adk/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x73000000 2 | -------------------------------------------------------------------------------- /board/atmel/at91rm9200dk/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21f00000 2 | -------------------------------------------------------------------------------- /board/atmel/at91rm9200ek/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x21f00000 2 | -------------------------------------------------------------------------------- /board/atmel/at91sam9260ek/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/atmel/at91sam9261ek/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/atmel/at91sam9263ek/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/atmel/at91sam9rlek/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/calao/sbc35_a9g20/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x23f00000 2 | -------------------------------------------------------------------------------- /board/logicpd/imx27lite/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0xA7F00000 2 | -------------------------------------------------------------------------------- /board/prodrive/pdnb3/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | TEXT_BASE = 0x01f00000 3 | -------------------------------------------------------------------------------- /include/asm-avr32/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-blackfin/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-i386/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-m68k/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-nios/processor.h: -------------------------------------------------------------------------------- 1 | /* FIXME: Implement this! */ 2 | -------------------------------------------------------------------------------- /include/asm-sparc/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /nand_spl/board/freescale/mx31pdk/config.mk: -------------------------------------------------------------------------------- 1 | PAD_TO := 2048 2 | -------------------------------------------------------------------------------- /tools/updater/dummy.c: -------------------------------------------------------------------------------- 1 | volatile int __dummy = 0xDEADBEEF; 2 | -------------------------------------------------------------------------------- /board/atmel/at91sam9m10g45ek/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x73f00000 2 | -------------------------------------------------------------------------------- /board/cobra5272/bdm/gdbinit.reset: -------------------------------------------------------------------------------- 1 | target bdm /dev/bdmcf0 2 | q 3 | -------------------------------------------------------------------------------- /board/cradle/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0xa0f80000 2 | #TEXT_BASE = 0 3 | -------------------------------------------------------------------------------- /board/logicpd/imx31_litekit/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x87f00000 2 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf533/def_local.h: -------------------------------------------------------------------------------- 1 | #include "ports.h" 2 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf537/def_local.h: -------------------------------------------------------------------------------- 1 | #include "ports.h" 2 | -------------------------------------------------------------------------------- /include/asm-blackfin/signal.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-microblaze/errno.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include/asm-microblaze/processor.h: -------------------------------------------------------------------------------- 1 | /* FIXME: Implement this! */ 2 | -------------------------------------------------------------------------------- /board/sandpoint/dinkdl: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | tr -d "\r" <$1 >/dev/tts/1 3 | -------------------------------------------------------------------------------- /board/xaeniax/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0xa3FB0000 2 | #TEXT_BASE = 0 3 | -------------------------------------------------------------------------------- /cpu/mpc85xx/resetvec.S: -------------------------------------------------------------------------------- 1 | .section .resetvec,"ax" 2 | b _start_e500 3 | -------------------------------------------------------------------------------- /include/asm-blackfin/unaligned.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /tools/getline.h: -------------------------------------------------------------------------------- 1 | int getline(char **lineptr, size_t *n, FILE *stream); 2 | -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/CHANGELOG -------------------------------------------------------------------------------- /board/cobra5272/bdm/reset: -------------------------------------------------------------------------------- 1 | m68k-bdm-elf-gdb -n -x bdm/gdbinit.reset 2 | 3 | -------------------------------------------------------------------------------- /MAINTAINERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/MAINTAINERS -------------------------------------------------------------------------------- /fs/fdos/fs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/fs.c -------------------------------------------------------------------------------- /board/samsung/smdk6400/.gitignore: -------------------------------------------------------------------------------- 1 | # 2 | # Generated files 3 | # 4 | 5 | /config.tmp 6 | -------------------------------------------------------------------------------- /board/trizepsiv/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE =0xa1f00000 2 | # 0xa1700000 3 | #TEXT_BASE = 0 4 | -------------------------------------------------------------------------------- /cpu/i386/cpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/cpu.c -------------------------------------------------------------------------------- /doc/README-i386: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/doc/README-i386 -------------------------------------------------------------------------------- /fs/fdos/dev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/dev.c -------------------------------------------------------------------------------- /fs/fdos/dos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/dos.h -------------------------------------------------------------------------------- /fs/fdos/fat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/fat.c -------------------------------------------------------------------------------- /fs/fdos/fdos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/fdos.c -------------------------------------------------------------------------------- /fs/fdos/fdos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/fdos.h -------------------------------------------------------------------------------- /fs/fdos/vfat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/vfat.c -------------------------------------------------------------------------------- /include/fdc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/fdc.h -------------------------------------------------------------------------------- /include/sm501.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/sm501.h -------------------------------------------------------------------------------- /lib_i386/bios.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/bios.S -------------------------------------------------------------------------------- /lib_i386/bios.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/bios.h -------------------------------------------------------------------------------- /lib_i386/pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/pci.c -------------------------------------------------------------------------------- /common/cmd_fdos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/common/cmd_fdos.c -------------------------------------------------------------------------------- /cpu/arm926ejs/at91/config.mk: -------------------------------------------------------------------------------- 1 | PLATFORM_CPPFLAGS += $(call cc-option,-mtune=arm926ejs,) 2 | -------------------------------------------------------------------------------- /cpu/i386/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/Makefile -------------------------------------------------------------------------------- /cpu/i386/serial.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/serial.c -------------------------------------------------------------------------------- /cpu/i386/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/start.S -------------------------------------------------------------------------------- /fs/fdos/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/Makefile -------------------------------------------------------------------------------- /fs/fdos/subdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/fs/fdos/subdir.c -------------------------------------------------------------------------------- /include/ali512x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/ali512x.h -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf527/def_local.h: -------------------------------------------------------------------------------- 1 | #include "mem_map.h" 2 | #include "ports.h" 3 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf548/def_local.h: -------------------------------------------------------------------------------- 1 | #include "mem_map.h" 2 | #include "ports.h" 3 | -------------------------------------------------------------------------------- /lib_i386/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/timer.c -------------------------------------------------------------------------------- /lib_i386/video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/video.c -------------------------------------------------------------------------------- /lib_i386/zimage.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/zimage.c -------------------------------------------------------------------------------- /board/cogent/pci.c: -------------------------------------------------------------------------------- 1 | /* pci not implemented yet */ 2 | 3 | int cma_pci_not_implemented = 1; 4 | -------------------------------------------------------------------------------- /board/cogent/pci.h: -------------------------------------------------------------------------------- 1 | /* pci not implemented yet */ 2 | 3 | extern int cma_pci_not_implemented; 4 | -------------------------------------------------------------------------------- /board/cogent/rtc.c: -------------------------------------------------------------------------------- 1 | /* rtc not implemented yet */ 2 | 3 | int cma_rtc_not_implemented = 1; 4 | -------------------------------------------------------------------------------- /board/cogent/rtc.h: -------------------------------------------------------------------------------- 1 | /* rtc not implemented yet */ 2 | 3 | extern int cma_rtc_not_implemented; 4 | -------------------------------------------------------------------------------- /board/eNET/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/eNET/Makefile -------------------------------------------------------------------------------- /board/eNET/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/eNET/config.mk -------------------------------------------------------------------------------- /board/hymod/hymod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/hymod/hymod.c -------------------------------------------------------------------------------- /board/lubbock/config.mk: -------------------------------------------------------------------------------- 1 | #TEXT_BASE = 0xa1700000 2 | TEXT_BASE = 0xa3080000 3 | #TEXT_BASE = 0 4 | -------------------------------------------------------------------------------- /board/lwmon/lwmon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/lwmon/lwmon.c -------------------------------------------------------------------------------- /board/pleb2/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0xa1F80000 2 | #TEXT_BASE = 0xa3080000 3 | #TEXT_BASE = 0 4 | -------------------------------------------------------------------------------- /board/trab/tsc2000.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/trab/tsc2000.c -------------------------------------------------------------------------------- /cpu/arm1136/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm1136/start.S -------------------------------------------------------------------------------- /cpu/arm720t/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm720t/start.S -------------------------------------------------------------------------------- /cpu/arm920t/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm920t/start.S -------------------------------------------------------------------------------- /cpu/arm925t/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm925t/start.S -------------------------------------------------------------------------------- /cpu/arm946es/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm946es/start.S -------------------------------------------------------------------------------- /cpu/i386/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/config.mk -------------------------------------------------------------------------------- /cpu/i386/resetvec.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/resetvec.S -------------------------------------------------------------------------------- /cpu/i386/start16.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/start16.S -------------------------------------------------------------------------------- /cpu/leon3/usb_uhci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/leon3/usb_uhci.c -------------------------------------------------------------------------------- /cpu/lh7a40x/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/lh7a40x/start.S -------------------------------------------------------------------------------- /cpu/sa1100/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/sa1100/start.S -------------------------------------------------------------------------------- /doc/README.m5373evb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/doc/README.m5373evb -------------------------------------------------------------------------------- /include/sed13806.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/sed13806.h -------------------------------------------------------------------------------- /include/video_font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/video_font.h -------------------------------------------------------------------------------- /lib_i386/bios_pci.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/bios_pci.S -------------------------------------------------------------------------------- /lib_i386/pci_type1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/pci_type1.c -------------------------------------------------------------------------------- /lib_i386/realmode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/realmode.c -------------------------------------------------------------------------------- /tools/logos/denx.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/logos/denx.bmp -------------------------------------------------------------------------------- /tools/logos/esd.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/logos/esd.bmp -------------------------------------------------------------------------------- /board/MAI/AmigaOneG3SE/todo.txt: -------------------------------------------------------------------------------- 1 | - Init interrupt controller 2 | - init sdram 3 | - init ide controller -------------------------------------------------------------------------------- /board/cerf250/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Cerf board with PXA250 cpu 3 | # 4 | # 5 | TEXT_BASE = 0xa3080000 6 | -------------------------------------------------------------------------------- /board/eNET/eNET_pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/eNET/eNET_pci.c -------------------------------------------------------------------------------- /board/eNET/u-boot.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/eNET/u-boot.lds -------------------------------------------------------------------------------- /board/pxa255_idp/config.mk: -------------------------------------------------------------------------------- 1 | #TEXT_BASE = 0xa1700000 2 | TEXT_BASE = 0xa3080000 3 | #TEXT_BASE = 0 4 | -------------------------------------------------------------------------------- /cpu/arm926ejs/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm926ejs/start.S -------------------------------------------------------------------------------- /cpu/arm_intcm/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm_intcm/start.S -------------------------------------------------------------------------------- /cpu/i386/interrupts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/interrupts.c -------------------------------------------------------------------------------- /cpu/i386/sc520/sc520.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/sc520/sc520.c -------------------------------------------------------------------------------- /cpu/mpc8260/cpu_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/mpc8260/cpu_init.c -------------------------------------------------------------------------------- /doc/README.RPXClassic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/doc/README.RPXClassic -------------------------------------------------------------------------------- /doc/README.mpc7448hpc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/doc/README.mpc7448hpc2 -------------------------------------------------------------------------------- /drivers/misc/ali512x.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/misc/ali512x.c -------------------------------------------------------------------------------- /drivers/video/sm501.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/video/sm501.c -------------------------------------------------------------------------------- /include/asm-i386/pci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/pci.h -------------------------------------------------------------------------------- /include/configs/sc3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/configs/sc3.h -------------------------------------------------------------------------------- /lib_i386/bios_setup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/bios_setup.c -------------------------------------------------------------------------------- /lib_i386/interrupts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/interrupts.c -------------------------------------------------------------------------------- /lib_i386/pcat_timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/pcat_timer.c -------------------------------------------------------------------------------- /lib_i386/video_bios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/video_bios.c -------------------------------------------------------------------------------- /tools/logos/atmel.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/logos/atmel.bmp -------------------------------------------------------------------------------- /board/RPXClassic/eccx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/RPXClassic/eccx.c -------------------------------------------------------------------------------- /board/RPXClassic/flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/RPXClassic/flash.c -------------------------------------------------------------------------------- /board/cogent/kbm.c: -------------------------------------------------------------------------------- 1 | /* keyboard/mouse not implemented yet */ 2 | 3 | int cma_kbm_not_implemented = 1; 4 | -------------------------------------------------------------------------------- /board/cogent/par.c: -------------------------------------------------------------------------------- 1 | /* parallel not implemented yet */ 2 | 3 | int cma_parallel_not_implemented = 1; 4 | -------------------------------------------------------------------------------- /board/cogent/par.h: -------------------------------------------------------------------------------- 1 | /* parallel not implemented yet */ 2 | 3 | extern int cma_parallel_not_implemented; 4 | -------------------------------------------------------------------------------- /board/lwmon/README.keybd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/lwmon/README.keybd -------------------------------------------------------------------------------- /board/sc520_cdp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/Makefile -------------------------------------------------------------------------------- /board/sc520_cdp/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/config.mk -------------------------------------------------------------------------------- /board/sc520_cdp/flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/flash.c -------------------------------------------------------------------------------- /board/sc520_spunk/flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/flash.c -------------------------------------------------------------------------------- /cpu/i386/sc520/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/sc520/Makefile -------------------------------------------------------------------------------- /drivers/rtc/s3c24x0_rtc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/rtc/s3c24x0_rtc.c -------------------------------------------------------------------------------- /drivers/video/ct69000.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/video/ct69000.c -------------------------------------------------------------------------------- /drivers/video/sed13806.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/video/sed13806.c -------------------------------------------------------------------------------- /include/asm-i386/i8254.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/i8254.h -------------------------------------------------------------------------------- /include/asm-i386/i8259.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/i8259.h -------------------------------------------------------------------------------- /include/asm-i386/ibmpc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/ibmpc.h -------------------------------------------------------------------------------- /include/asm-i386/ic/pci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/ic/pci.h -------------------------------------------------------------------------------- /include/asm-i386/zimage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/zimage.h -------------------------------------------------------------------------------- /include/linux/mtd/mtd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/linux/mtd/mtd.h -------------------------------------------------------------------------------- /lib_generic/lzma/license.txt: -------------------------------------------------------------------------------- 1 | License 2 | 3 | LZMA SDK is placed in the public domain. 4 | -------------------------------------------------------------------------------- /tools/logos/ronetix.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/logos/ronetix.bmp -------------------------------------------------------------------------------- /board/RPXClassic/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/RPXClassic/config.mk -------------------------------------------------------------------------------- /board/sc520_cdp/flash_old.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/flash_old.c -------------------------------------------------------------------------------- /board/sc520_cdp/sc520_cdp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/sc520_cdp.c -------------------------------------------------------------------------------- /board/sc520_cdp/u-boot.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/u-boot.lds -------------------------------------------------------------------------------- /board/sc520_spunk/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/Makefile -------------------------------------------------------------------------------- /board/sc520_spunk/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/config.mk -------------------------------------------------------------------------------- /cpu/arm926ejs/omap/reset.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm926ejs/omap/reset.S -------------------------------------------------------------------------------- /cpu/i386/sc520/sc520_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/sc520/sc520_asm.S -------------------------------------------------------------------------------- /cpu/i386/sc520/sc520_pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/sc520/sc520_pci.c -------------------------------------------------------------------------------- /cpu/i386/sc520/sc520_ssi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/sc520/sc520_ssi.c -------------------------------------------------------------------------------- /include/405_dimm.h: -------------------------------------------------------------------------------- 1 | #ifndef _405_dimm_h_ 2 | #define _405_dimm_h_ 3 | long int walnut_dimm(void); 4 | #endif 5 | -------------------------------------------------------------------------------- /include/asm-i386/ic/sc520.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/ic/sc520.h -------------------------------------------------------------------------------- /include/asm-i386/realmode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/realmode.h -------------------------------------------------------------------------------- /include/asm-mips/inca-ip.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-mips/inca-ip.h -------------------------------------------------------------------------------- /include/configs/sc520_cdp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/configs/sc520_cdp.h -------------------------------------------------------------------------------- /lib_i386/pcat_interrupts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/pcat_interrupts.c -------------------------------------------------------------------------------- /lib_i386/realmode_switch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_i386/realmode_switch.S -------------------------------------------------------------------------------- /CHANGELOG-before-U-Boot-1.1.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/CHANGELOG-before-U-Boot-1.1.5 -------------------------------------------------------------------------------- /board/LEOX/elpt860/README.LEOX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/LEOX/elpt860/README.LEOX -------------------------------------------------------------------------------- /board/Marvell/common/memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/Marvell/common/memory.c -------------------------------------------------------------------------------- /board/RPXClassic/RPXClassic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/RPXClassic/RPXClassic.c -------------------------------------------------------------------------------- /board/cerf250/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/cerf250/lowlevel_init.S -------------------------------------------------------------------------------- /board/cobra5272/bdm/load-cobra_uboot: -------------------------------------------------------------------------------- 1 | m68k-bdm-elf-gdb -n -x board/cobra5272/bdm/cobra5272_uboot.gdb u-boot 2 | 3 | -------------------------------------------------------------------------------- /board/csb226/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/csb226/lowlevel_init.S -------------------------------------------------------------------------------- /board/innokom/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/innokom/lowlevel_init.S -------------------------------------------------------------------------------- /board/logodl/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/logodl/lowlevel_init.S -------------------------------------------------------------------------------- /board/lubbock/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/lubbock/lowlevel_init.S -------------------------------------------------------------------------------- /board/mpl/common/pci_parts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/mpl/common/pci_parts.h -------------------------------------------------------------------------------- /board/netstal/hcu5/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/netstal/hcu5/README.txt -------------------------------------------------------------------------------- /board/sc520_spunk/u-boot.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/u-boot.lds -------------------------------------------------------------------------------- /board/shannon/inferno.header: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/shannon/inferno.header -------------------------------------------------------------------------------- /board/xaeniax/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/xaeniax/lowlevel_init.S -------------------------------------------------------------------------------- /cpu/i386/sc520/sc520_timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/i386/sc520/sc520_timer.c -------------------------------------------------------------------------------- /cpu/ixp/npe/include/IxOsal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/ixp/npe/include/IxOsal.h -------------------------------------------------------------------------------- /drivers/block/sata_sil3114.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/block/sata_sil3114.c -------------------------------------------------------------------------------- /drivers/block/sata_sil3114.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/block/sata_sil3114.h -------------------------------------------------------------------------------- /drivers/pcmcia/ti_pci1410a.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/drivers/pcmcia/ti_pci1410a.c -------------------------------------------------------------------------------- /include/asm-i386/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/interrupt.h -------------------------------------------------------------------------------- /include/asm-i386/processor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/processor.h -------------------------------------------------------------------------------- /include/asm-i386/u-boot-i386.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-i386/u-boot-i386.h -------------------------------------------------------------------------------- /include/configs/sc520_spunk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/configs/sc520_spunk.h -------------------------------------------------------------------------------- /lib_generic/lzma/history.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/lib_generic/lzma/history.txt -------------------------------------------------------------------------------- /tools/easylogo/linux_logo.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/easylogo/linux_logo.tga -------------------------------------------------------------------------------- /board/armltd/integrator/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # image should be loaded at 0x01000000 3 | # 4 | 5 | TEXT_BASE = 0x01000000 6 | -------------------------------------------------------------------------------- /board/armltd/versatile/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # image should be loaded at 0x01000000 3 | # 4 | 5 | TEXT_BASE = 0x01000000 6 | -------------------------------------------------------------------------------- /board/freescale/mx31ads/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x87f00000 2 | 3 | LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds 4 | -------------------------------------------------------------------------------- /board/pxa255_idp/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/pxa255_idp/lowlevel_init.S -------------------------------------------------------------------------------- /board/sc520_cdp/sc520_cdp_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/sc520_cdp_asm.S -------------------------------------------------------------------------------- /board/sc520_cdp/sc520_cdp_pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/sc520_cdp_pci.c -------------------------------------------------------------------------------- /board/sc520_spunk/sc520_spunk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/sc520_spunk.c -------------------------------------------------------------------------------- /board/trizepsiv/lowlevel_init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/trizepsiv/lowlevel_init.S -------------------------------------------------------------------------------- /cpu/arm926ejs/versatile/reset.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm926ejs/versatile/reset.S -------------------------------------------------------------------------------- /include/spd_sdram.h: -------------------------------------------------------------------------------- 1 | #ifndef _SPD_SDRAM_H_ 2 | #define _SPD_SDRAM_H_ 3 | 4 | long int spd_sdram(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /board/actux4/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00e00000 2 | 3 | # include NPE ethernet driver 4 | BOARDLIBS = cpu/ixp/npe/libnpe.a 5 | -------------------------------------------------------------------------------- /board/karo/tx25/config.mk: -------------------------------------------------------------------------------- 1 | ifdef CONFIG_NAND_SPL 2 | TEXT_BASE = 0x81ec0000 3 | else 4 | TEXT_BASE = 0x81f00000 5 | endif 6 | -------------------------------------------------------------------------------- /board/sc520_cdp/sc520_cdp_asm16.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_cdp/sc520_cdp_asm16.S -------------------------------------------------------------------------------- /board/sc520_spunk/sc520_spunk_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/sc520_spunk_asm.S -------------------------------------------------------------------------------- /board/sc520_spunk/sc520_spunk_pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/sc520_spunk_pci.c -------------------------------------------------------------------------------- /board/zylonite/config.mk: -------------------------------------------------------------------------------- 1 | #TEXT_BASE = 0x0 2 | #TEXT_BASE = 0xa1700000 3 | #TEXT_BASE = 0xa3080000 4 | TEXT_BASE = 0xa3008000 5 | -------------------------------------------------------------------------------- /cpu/ixp/npe/include/IxAtmdAccCtrl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/ixp/npe/include/IxAtmdAccCtrl.h -------------------------------------------------------------------------------- /include/configs/sc520_spunk_rel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/configs/sc520_spunk_rel.h -------------------------------------------------------------------------------- /nand_spl/board/amcc/bamboo/sdram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/nand_spl/board/amcc/bamboo/sdram.c -------------------------------------------------------------------------------- /tools/easylogo/linux_blackfin.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/easylogo/linux_blackfin.tga -------------------------------------------------------------------------------- /board/davinci/dm6467evm/config.mk: -------------------------------------------------------------------------------- 1 | #Provide at least 16MB spacing between us and the Linux Kernel image 2 | TEXT_BASE = 0x81080000 3 | -------------------------------------------------------------------------------- /board/freescale/mx31pdk/config.mk: -------------------------------------------------------------------------------- 1 | ifdef CONFIG_NAND_SPL 2 | TEXT_BASE = 0x87ec0000 3 | else 4 | TEXT_BASE = 0x87f00000 5 | endif 6 | -------------------------------------------------------------------------------- /board/sc520_spunk/sc520_spunk_asm16.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/sc520_spunk/sc520_spunk_asm16.S -------------------------------------------------------------------------------- /include/asm-nios/system.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_NIOS_SYSTEM_H_ 2 | #define _ASM_NIOS_SYSTEM_H_ 3 | 4 | #endif /* _ASM_NIOS_SYSTEM_H */ 5 | -------------------------------------------------------------------------------- /tools/logos/linux_logo_ttcontrol.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/logos/linux_logo_ttcontrol.bmp -------------------------------------------------------------------------------- /include/asm-arm/arch-s3c24x0/s3c2400.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-arm/arch-s3c24x0/s3c2400.h -------------------------------------------------------------------------------- /include/asm-arm/arch-s3c24x0/s3c2410.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-arm/arch-s3c24x0/s3c2410.h -------------------------------------------------------------------------------- /include/asm-arm/arch-s3c24x0/s3c24x0.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/include/asm-arm/arch-s3c24x0/s3c24x0.h -------------------------------------------------------------------------------- /include/linux/config.h: -------------------------------------------------------------------------------- 1 | #ifndef _LINUX_CONFIG_H 2 | #define _LINUX_CONFIG_H 3 | 4 | /* #include */ 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /tools/easylogo/runme.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | make 3 | ./easylogo linux_logo.tga u_boot_logo video_logo.h 4 | mv video_logo.h ../../include 5 | -------------------------------------------------------------------------------- /board/actel/sf2-dev-kit/mss_spi/mss_spi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/board/actel/sf2-dev-kit/mss_spi/mss_spi.h -------------------------------------------------------------------------------- /board/cmc_pu2/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x20F00000 2 | ## For testing: load at 0x20100000 and "go" at 0x201000A4 3 | #TEXT_BASE = 0x20100000 4 | -------------------------------------------------------------------------------- /board/cogent/dipsw.h: -------------------------------------------------------------------------------- 1 | extern unsigned char dipsw_raw(void); 2 | extern unsigned char dipsw_cooked(void); 3 | extern void dipsw_init(void); 4 | -------------------------------------------------------------------------------- /board/mp2usb/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x27F00000 2 | ## For testing: load at 0x20100000 and "go" at 0x201000A4 3 | #TEXT_BASE = 0x20100000 4 | -------------------------------------------------------------------------------- /tools/logos/linux_logo_ttcontrol_palfin.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/tools/logos/linux_logo_ttcontrol_palfin.bmp -------------------------------------------------------------------------------- /board/atmel/atngw100/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00000000 2 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections 3 | PLATFORM_LDFLAGS += --gc-sections 4 | -------------------------------------------------------------------------------- /board/mimc/mimc200/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00000000 2 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections 3 | PLATFORM_LDFLAGS += --gc-sections 4 | -------------------------------------------------------------------------------- /board/netstar/crcek.h: -------------------------------------------------------------------------------- 1 | #define LOADER_SIZE (448 * 1024) 2 | #define LOADER1_OFFSET (128 * 1024) 3 | #define LOADER2_OFFSET (LOADER1_OFFSET + LOADER_SIZE) 4 | -------------------------------------------------------------------------------- /cpu/arm720t/lpc2292/iap_entry.S: -------------------------------------------------------------------------------- 1 | IAP_ADDRESS: .word 0x7FFFFFF1 2 | 3 | .globl iap_entry 4 | iap_entry: 5 | ldr r2, IAP_ADDRESS 6 | bx r2 7 | mov pc, lr 8 | -------------------------------------------------------------------------------- /cpu/arm_cortexm3/lpc18xx/spifilib/spifi_drv_M3.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm_cortexm3/lpc18xx/spifilib/spifi_drv_M3.lib -------------------------------------------------------------------------------- /cpu/arm_cortexm3/lpc18xx/spifilib/spifi_drv_M4.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclinux-cortexm/u-boot/HEAD/cpu/arm_cortexm3/lpc18xx/spifilib/spifi_drv_M4.lib -------------------------------------------------------------------------------- /board/assabet/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # SA-1110 based Intel Assabet board 3 | # 4 | # The Intel Assabet 1 bank of 32 MiB SDRAM 5 | # 6 | 7 | TEXT_BASE = 0xc1f00000 8 | -------------------------------------------------------------------------------- /board/miromico/hammerhead/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00000000 2 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections 3 | PLATFORM_LDFLAGS += --gc-sections 4 | -------------------------------------------------------------------------------- /cpu/ixp/npe/include/IxOsalOsUtilitySymbols.h: -------------------------------------------------------------------------------- 1 | #ifndef IxOsalOsUtilitySymbols_H 2 | #define IxOsalOsUtilitySymbols_H 3 | 4 | #endif /* IxOsalOsUtilitySymbols_H */ 5 | -------------------------------------------------------------------------------- /board/evb64260/i2c.h: -------------------------------------------------------------------------------- 1 | #ifndef __I2C_H__ 2 | #define __I2C_H__ 3 | 4 | /* function declarations */ 5 | uchar i2c_read(uchar, unsigned int, int, uchar*, int); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /board/freescale/mpc8313erdb/config.mk: -------------------------------------------------------------------------------- 1 | ifndef NAND_SPL 2 | sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp 3 | endif 4 | 5 | ifndef TEXT_BASE 6 | TEXT_BASE = 0xFE000000 7 | endif 8 | -------------------------------------------------------------------------------- /board/actux1/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00e00000 2 | 3 | # include NPE ethernet driver 4 | BOARDLIBS = cpu/ixp/npe/libnpe.a 5 | 6 | LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds 7 | -------------------------------------------------------------------------------- /board/actux2/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00e00000 2 | 3 | # include NPE ethernet driver 4 | BOARDLIBS = cpu/ixp/npe/libnpe.a 5 | 6 | LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds 7 | -------------------------------------------------------------------------------- /board/actux3/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x00e00000 2 | 3 | # include NPE ethernet driver 4 | BOARDLIBS = cpu/ixp/npe/libnpe.a 5 | 6 | LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds 7 | -------------------------------------------------------------------------------- /include/asm-nios2/unaligned.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_NIOS2_UNALIGNED_H 2 | #define _ASM_NIOS2_UNALIGNED_H 3 | 4 | #include 5 | 6 | #endif /* _ASM_NIOS2_UNALIGNED_H */ 7 | -------------------------------------------------------------------------------- /board/cray/L1/x2c.awk: -------------------------------------------------------------------------------- 1 | #!/bin/awk 2 | BEGIN { print "unsigned char bootscript[] = { \n"} 3 | { for (i = 2; i <= NF ; i++ ) printf "0x"$i"," 4 | print "" 5 | } 6 | END { print "\n};\n" } 7 | -------------------------------------------------------------------------------- /include/.gitignore: -------------------------------------------------------------------------------- 1 | /autoconf.mk* 2 | /asm 3 | /asm-*/arch 4 | /asm-*/proc 5 | /bmp_logo.h 6 | /config.h 7 | /config.mk 8 | /timestamp_autogenerated.h 9 | /version_autogenerated.h 10 | -------------------------------------------------------------------------------- /board/pxa255_idp/README: -------------------------------------------------------------------------------- 1 | Tested: 2 | 3 | - MMC 4 | - Ethernet 5 | - BL console (on serial port connector J5) 6 | - flash support 7 | 8 | Todo: 9 | 10 | - display support 11 | - PCMCIA support 12 | -------------------------------------------------------------------------------- /board/atmel/atstk1000/config.mk: -------------------------------------------------------------------------------- 1 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections 2 | PLATFORM_LDFLAGS += --gc-sections 3 | TEXT_BASE = 0x00000000 4 | LDSCRIPT = $(obj)board/atmel/atstk1000/u-boot.lds 5 | -------------------------------------------------------------------------------- /board/freescale/mpc837xemds/pci.h: -------------------------------------------------------------------------------- 1 | #ifndef __BOARD_MPC837XEMDS_PCI_H 2 | #define __BOARD_MPC837XEMDS_PCI_H 3 | 4 | extern void ft_pcie_fixup(void *blob, bd_t *bd); 5 | 6 | #endif /* __BOARD_MPC837XEMDS_PCI_H */ 7 | -------------------------------------------------------------------------------- /include/jffs2/jffs2_1pass.h: -------------------------------------------------------------------------------- 1 | u32 jffs2_1pass_ls(struct part_info *part,const char *fname); 2 | u32 jffs2_1pass_load(char *dest, struct part_info *part,const char *fname); 3 | u32 jffs2_1pass_info(struct part_info *part); 4 | -------------------------------------------------------------------------------- /tools/.gitignore: -------------------------------------------------------------------------------- 1 | /bmp_logo 2 | /envcrc 3 | /gen_eth_addr 4 | /img2srec 5 | /mkimage 6 | /mpc86x_clk 7 | /ncb 8 | /ncp 9 | /ubsha1 10 | /inca-swap-bytes 11 | /lpc178x_fcg 12 | /lpc18xx_bootheader 13 | /*.exe 14 | -------------------------------------------------------------------------------- /board/earthlcd/favr-32-ezkit/config.mk: -------------------------------------------------------------------------------- 1 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections 2 | PLATFORM_LDFLAGS += --gc-sections 3 | TEXT_BASE = 0x00000000 4 | LDSCRIPT = $(obj)board/earthlcd/favr-32-ezkit/u-boot.lds 5 | -------------------------------------------------------------------------------- /board/freescale/mpc8315erdb/config.mk: -------------------------------------------------------------------------------- 1 | ifndef NAND_SPL 2 | ifeq ($(CONFIG_MK_NAND), y) 3 | TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE) 4 | endif 5 | endif 6 | 7 | ifndef TEXT_BASE 8 | TEXT_BASE = 0xFE000000 9 | endif 10 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf533/ports.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT__ 6 | #define __BFIN_PERIPHERAL_PORT__ 7 | 8 | #include "../mach-common/bits/ports-f.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /board/qemu-mips/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Qemu -M mips system emulator 3 | # See http://fabrice.bellard.free.fr/qemu 4 | # 5 | 6 | # ROM version 7 | TEXT_BASE = 0xbfc00000 8 | 9 | # RAM version 10 | #TEXT_BASE = 0x80001000 11 | -------------------------------------------------------------------------------- /board/espt/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # board/espt/config.mk 3 | # 4 | # TEXT_BASE refers to image _after_ relocation. 5 | # 6 | # NOTE: Must match value used in u-boot.lds (in this directory). 7 | # 8 | 9 | TEXT_BASE = 0x8FFC0000 10 | -------------------------------------------------------------------------------- /include/mii_phy.h: -------------------------------------------------------------------------------- 1 | #ifndef _MII_PHY_H_ 2 | #define _MII_PHY_H_ 3 | 4 | void mii_discover_phy(void); 5 | unsigned short mii_phy_read(unsigned short reg); 6 | void mii_phy_write(unsigned short reg, unsigned short val); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /board/davinci/dm355leopard/config.mk: -------------------------------------------------------------------------------- 1 | # Linux Kernel is expected to be at 8000'8000, entry 8000'8000 2 | # (mem base + reserved) 3 | # 4 | 5 | #Provide at least 16MB spacing between us and the Linux Kernel image 6 | TEXT_BASE = 0x81080000 7 | -------------------------------------------------------------------------------- /common/system_map.c: -------------------------------------------------------------------------------- 1 | /* 2 | * The builtin symbol table for use with kallsyms 3 | * 4 | * Copyright (c) 2008-2009 Analog Devices Inc. 5 | * Licensed under the GPL-2 or later. 6 | */ 7 | 8 | const char const system_map[] = SYSTEM_MAP; 9 | -------------------------------------------------------------------------------- /examples/standalone/.gitignore: -------------------------------------------------------------------------------- 1 | /82559_eeprom 2 | /atmel_df_pow2 3 | /eepro100_eeprom 4 | /hello_world 5 | /interrupt 6 | /mem_to_mem_idma2intr 7 | /sched 8 | /smc91111_eeprom 9 | /smc911x_eeprom 10 | /test_burst 11 | /timer 12 | *.bin 13 | *.srec 14 | -------------------------------------------------------------------------------- /tools/updater/junk: -------------------------------------------------------------------------------- 1 | ................................................................................................................................................................................................................................................................ -------------------------------------------------------------------------------- /tools/easylogo/Makefile: -------------------------------------------------------------------------------- 1 | include $(TOPDIR)/config.mk 2 | 3 | all: $(obj)easylogo 4 | 5 | $(obj)easylogo: $(SRCTREE)/tools/easylogo/easylogo.c 6 | $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTLDFLAGS) -o $@ $^ 7 | 8 | clean: 9 | rm -f $(obj)easylogo 10 | 11 | .PHONY: all clean 12 | -------------------------------------------------------------------------------- /board/sheldon/simpc8313/config.mk: -------------------------------------------------------------------------------- 1 | ifndef NAND_SPL 2 | sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp 3 | endif 4 | 5 | ifndef TEXT_BASE 6 | TEXT_BASE = 0x00100000 7 | endif 8 | 9 | ifdef CONFIG_NAND_LP 10 | PAD_TO = 0xFFF20000 11 | else 12 | PAD_TO = 0xFFF04000 13 | endif 14 | -------------------------------------------------------------------------------- /board/cm-bf527/gpio_cfi_flash.h: -------------------------------------------------------------------------------- 1 | /* 2 | * gpio_cfi_flash.c - GPIO-assisted Flash Chip Support 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | void *gpio_cfi_flash_swizzle(void *vaddr); 10 | void gpio_cfi_flash_init(void); 11 | -------------------------------------------------------------------------------- /board/cm-bf537e/gpio_cfi_flash.h: -------------------------------------------------------------------------------- 1 | /* 2 | * gpio_cfi_flash.c - GPIO-assisted Flash Chip Support 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | void *gpio_cfi_flash_swizzle(void *vaddr); 10 | void gpio_cfi_flash_init(void); 11 | -------------------------------------------------------------------------------- /board/cm-bf537u/gpio_cfi_flash.h: -------------------------------------------------------------------------------- 1 | /* 2 | * gpio_cfi_flash.c - GPIO-assisted Flash Chip Support 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | void *gpio_cfi_flash_swizzle(void *vaddr); 10 | void gpio_cfi_flash_init(void); 11 | -------------------------------------------------------------------------------- /board/renesas/sh7763rdp/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # board/sh7763rdp/config.mk 3 | # 4 | # TEXT_BASE refers to image _after_ relocation. 5 | # 6 | # NOTE: Must match value used in u-boot.lds (in this directory). 7 | # 8 | 9 | TEXT_BASE = 0x8FFC0000 10 | 11 | # PLATFORM_CPPFLAGS += -DCONFIG_MULTIBOOT 12 | -------------------------------------------------------------------------------- /board/tcm-bf537/gpio_cfi_flash.h: -------------------------------------------------------------------------------- 1 | /* 2 | * gpio_cfi_flash.c - GPIO-assisted Flash Chip Support 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | void *gpio_cfi_flash_swizzle(void *vaddr); 10 | void gpio_cfi_flash_init(void); 11 | -------------------------------------------------------------------------------- /cpu/arm926ejs/nomadik/reset.S: -------------------------------------------------------------------------------- 1 | #include 2 | /* 3 | * Processor reset for Nomadik 4 | */ 5 | 6 | .align 5 7 | .globl reset_cpu 8 | reset_cpu: 9 | ldr r0, =NOMADIK_SRC_BASE /* System and Reset Controller */ 10 | ldr r1, =0x1 11 | str r1, [r0, #0x18] 12 | 13 | _loop_forever: 14 | b _loop_forever 15 | -------------------------------------------------------------------------------- /cpu/ppc4xx/resetvec.S: -------------------------------------------------------------------------------- 1 | /* Copyright MontaVista Software Incorporated, 2000 */ 2 | #include 3 | .section .resetvec,"ax" 4 | #if defined(CONFIG_440) 5 | b _start_440 6 | #else 7 | #if defined(CONFIG_BOOT_PCI) && defined(CONFIG_MIP405) 8 | b _start_pci 9 | #else 10 | b _start 11 | #endif 12 | #endif 13 | -------------------------------------------------------------------------------- /include/linux/poison.h: -------------------------------------------------------------------------------- 1 | #ifndef _LINUX_POISON_H 2 | #define _LINUX_POISON_H 3 | 4 | /********** include/linux/list.h **********/ 5 | /* 6 | * used to verify that nobody uses non-initialized list entries. 7 | */ 8 | #define LIST_POISON1 ((void *) 0x0) 9 | #define LIST_POISON2 ((void *) 0x0) 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /board/spc1920/pld.h: -------------------------------------------------------------------------------- 1 | #ifndef __PLD_H__ 2 | #define __PLD_H__ 3 | 4 | typedef struct spc1920_pld { 5 | uchar com1_en; 6 | uchar dsp_reset; 7 | uchar dsp_hpi_on; 8 | uchar superv_mode; 9 | uchar codec_dsp_power_en; 10 | uchar clk3_select; 11 | uchar clk4_select; 12 | } spc1920_pld_t; 13 | 14 | #endif /* __PLD_H__ */ 15 | -------------------------------------------------------------------------------- /include/arm925t.h: -------------------------------------------------------------------------------- 1 | /************************************************ 2 | * NAME : arm925t.h 3 | * Version : 23 June 2003 * 4 | ************************************************/ 5 | 6 | #ifndef __ARM925T_H__ 7 | #define __ARM925T_H__ 8 | 9 | void archflashwp(void *archdata, int wp); 10 | 11 | #endif /*__ARM925T_H__*/ 12 | -------------------------------------------------------------------------------- /include/asm-ppc/sigcontext.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_PPC_SIGCONTEXT_H 2 | #define _ASM_PPC_SIGCONTEXT_H 3 | 4 | #include 5 | 6 | 7 | struct sigcontext_struct { 8 | unsigned long _unused[4]; 9 | int signal; 10 | unsigned long handler; 11 | unsigned long oldmask; 12 | struct pt_regs *regs; 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /board/freescale/common/pq-mds-pib.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 Freescale Semiconductor, Inc. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it 5 | * under the terms of the GNU General Public License version 2 as 6 | * published by the Free Software Foundation; 7 | */ 8 | 9 | extern int pib_init(void); 10 | -------------------------------------------------------------------------------- /board/netstar/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Linux-Kernel is expected to be at 1000'8000, 3 | # entry 1000'8000 (mem base + reserved) 4 | # 5 | # We load ourself to internal RAM at 2001'2000 6 | # Check map file when changing TEXT_BASE. 7 | # Everything has fit into 192kB internal SRAM! 8 | # 9 | 10 | # XXX TEXT_BASE = 0x20012000 11 | TEXT_BASE = 0x13FC0000 12 | -------------------------------------------------------------------------------- /include/asm-blackfin/sdh.h: -------------------------------------------------------------------------------- 1 | /* 2 | * sdh.h, export bfin_mmc_init 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #ifndef __ASM_SDH_H__ 10 | #define __ASM_SDH_H__ 11 | 12 | #include 13 | #include 14 | 15 | int bfin_mmc_init(bd_t *bis); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /board/freescale/mpc5121ads/README: -------------------------------------------------------------------------------- 1 | To configure for the current (Rev 3.x) ADS5121 2 | make ads5121_config 3 | This will automatically include PCI, the Real Time CLock, add backup flash 4 | ability and set the correct frequency and memory configuration. 5 | 6 | To configure for the older Rev 2 ADS5121 type (this will not have PCI) 7 | make ads5121_rev2_config 8 | -------------------------------------------------------------------------------- /include/sata.h: -------------------------------------------------------------------------------- 1 | #ifndef __SATA_H__ 2 | #define __SATA_H__ 3 | 4 | int init_sata(int dev); 5 | int scan_sata(int dev); 6 | ulong sata_read(int dev, ulong blknr, ulong blkcnt, void *buffer); 7 | ulong sata_write(int dev, ulong blknr, ulong blkcnt, const void *buffer); 8 | 9 | int sata_initialize(void); 10 | int __sata_initialize(void); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /include/asm-sh/processor.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_SH_PROCESSOR_H_ 2 | #define _ASM_SH_PROCESSOR_H_ 3 | #if defined(CONFIG_SH2) || \ 4 | defined (CONFIG_SH2A) 5 | # include 6 | #elif defined (CONFIG_SH3) 7 | # include 8 | #elif defined (CONFIG_SH4) || \ 9 | defined (CONFIG_SH4A) 10 | # include 11 | #endif 12 | #endif 13 | -------------------------------------------------------------------------------- /board/dnp1110/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DNP/1110 board with SA1100 cpu 3 | # 4 | # http://www.dilnetpc.com 5 | # 6 | 7 | # 8 | # DILNETPC has 1 banks of 32 MB DRAM 9 | # 10 | # c000'0000 11 | # 12 | # Linux-Kernel is expected to be at c000'8000, entry c000'8000 13 | # 14 | # we load ourself to c1f8'0000, the upper 1 MB of the first (only) bank 15 | # 16 | 17 | TEXT_BASE = 0xc1f80000 18 | -------------------------------------------------------------------------------- /include/linux/stddef.h: -------------------------------------------------------------------------------- 1 | #ifndef _LINUX_STDDEF_H 2 | #define _LINUX_STDDEF_H 3 | 4 | #undef NULL 5 | #if defined(__cplusplus) 6 | #define NULL 0 7 | #else 8 | #define NULL ((void *)0) 9 | #endif 10 | 11 | #ifndef _SIZE_T 12 | #include 13 | #endif 14 | 15 | #undef offsetof 16 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /board/davinci/dm355evm/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Spectrum Digital DM355 EVM board 3 | # dm355evm board has 1 bank of 128 MB DDR RAM 4 | # Physical Address: 8000'0000 to 8800'0000 5 | # 6 | # Linux Kernel is expected to be at 8000'8000, entry 8000'8000 7 | # (mem base + reserved) 8 | # 9 | 10 | #Provide at least 16MB spacing between us and the Linux Kernel image 11 | TEXT_BASE = 0x81080000 12 | -------------------------------------------------------------------------------- /board/davinci/dm365evm/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Spectrum Digital DM365 EVM board 3 | # DM365 EVM board has 1 bank of 128 MB DDR RAM 4 | # Physical Address: 8000'0000 to 8800'0000 5 | # 6 | # Linux Kernel is expected to be at 8000'8000, entry 8000'8000 7 | # (mem base + reserved) 8 | # 9 | 10 | #Provide at least 16MB spacing between us and the Linux Kernel image 11 | TEXT_BASE = 0x81080000 12 | -------------------------------------------------------------------------------- /board/barco/README: -------------------------------------------------------------------------------- 1 | This port of U-Boot is tuned to run on a range of Barco Control Rooms 2 | Streaming Video Solutions, including: 3 | 4 | - Streaming Video Card (SVC) 5 | - Sample Compress Network (SCN) 6 | 7 | For more information, see http://www.barcocontrolrooms.com/ 8 | 9 | Code and configuration are originally based on the Sandpoint board 10 | 11 | Marc Leeman 12 | -------------------------------------------------------------------------------- /board/ibf-dsp561/ibf-dsp561.c: -------------------------------------------------------------------------------- 1 | /* 2 | * U-boot - main board file 3 | * 4 | * Copyright (c) 2008-2009 I-SYST. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #include 10 | 11 | DECLARE_GLOBAL_DATA_PTR; 12 | 13 | int checkboard(void) 14 | { 15 | printf("Board: I-SYST IBF-DSP561 Micromodule\n"); 16 | printf(" Support: http://www.i-syst.com/\n"); 17 | return 0; 18 | } 19 | -------------------------------------------------------------------------------- /board/mx1fs2/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # This config file is used for compilation of IMX sources 3 | # 4 | # You might change location of U-Boot in memory by setting right TEXT_BASE. 5 | # This allows for example having one copy located at the end of ram and stored 6 | # in flash device and later on while developing use other location to test 7 | # the code in RAM device only. 8 | # 9 | 10 | TEXT_BASE = 0x08f00000 11 | -------------------------------------------------------------------------------- /board/scb9328/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # This config file is used for compilation of scb93328 sources 3 | # 4 | # You might change location of U-Boot in memory by setting right TEXT_BASE. 5 | # This allows for example having one copy located at the end of ram and stored 6 | # in flash device and later on while developing use other location to test 7 | # the code in RAM device only. 8 | # 9 | 10 | TEXT_BASE = 0x08f00000 11 | -------------------------------------------------------------------------------- /board/MAI/menu/cmd_menu.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int do_menu( cmd_tbl_t *cmdtp, /*bd_t *bd,*/ int flag, int argc, char *argv[] ) 5 | { 6 | /* printf("\n"); */ 7 | return 0; 8 | } 9 | 10 | #if defined(CONFIG_AMIGAONEG3SE) && defined(CONFIG_CMD_BSP) 11 | U_BOOT_CMD( 12 | menu, 1, 1, do_menu, 13 | "display BIOS setup menu", 14 | "" 15 | ); 16 | #endif 17 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf537/BF534_cdef.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE 2 | * Automatically generated by generate-cdef-headers.xsl 3 | * DO NOT EDIT THIS FILE 4 | */ 5 | 6 | #ifndef __BFIN_CDEF_ADSP_BF534_proc__ 7 | #define __BFIN_CDEF_ADSP_BF534_proc__ 8 | 9 | #include "../mach-common/ADSP-EDN-core_cdef.h" 10 | 11 | #include "ADSP-EDN-BF534-extended_cdef.h" 12 | 13 | 14 | #endif /* __BFIN_CDEF_ADSP_BF534_proc__ */ 15 | -------------------------------------------------------------------------------- /doc/README.EVB-64260-750CX: -------------------------------------------------------------------------------- 1 | The EVB-64260-750CX is quite similar to the EVB-64260-BP already 2 | supported except the following differences: 3 | * It has an IBM-750CXe soldiered on board instead of the slot-1 in the 4 | BP. 5 | * It has a single PCI male connector instead of the 4 PCI female 6 | connectors on the BP. It also gets power trough the PCI connector. 7 | * It has only a single DIMM slot instead of the 2 slots in the BP. 8 | -------------------------------------------------------------------------------- /include/asm-m68k/unaligned.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_M68K_UNALIGNED_H 2 | #define _ASM_M68K_UNALIGNED_H 3 | 4 | #ifdef CONFIG_COLDFIRE 5 | #include 6 | #else 7 | #include 8 | #endif 9 | 10 | #include 11 | 12 | #define get_unaligned __get_unaligned_be 13 | #define put_unaligned __put_unaligned_be 14 | 15 | #endif /* _ASM_M68K_UNALIGNED_H */ 16 | -------------------------------------------------------------------------------- /board/gth/ee_access.h: -------------------------------------------------------------------------------- 1 | /* By Thomas.Lange@Corelatus.com 001025 2 | 3 | Definitions for EEPROM/VOLT METER DS2438 */ 4 | 5 | #ifndef INCeeaccessh 6 | #define INCeeaccessh 7 | 8 | int ee_do_command( u8 *Tx, int Tx_len, u8 *Rx, int Rx_len, int Send_skip ); 9 | int ee_init_data(void); 10 | int ee_crc_ok( u8 *Buffer, int Len, u8 Crc ); 11 | 12 | #ifndef TRUE 13 | #define TRUE 1 14 | #endif 15 | 16 | #endif /* INCeeaccessh */ 17 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf533/BF531_cdef.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE 2 | * Automatically generated by generate-cdef-headers.xsl 3 | * DO NOT EDIT THIS FILE 4 | */ 5 | 6 | #ifndef __BFIN_CDEF_ADSP_BF531_proc__ 7 | #define __BFIN_CDEF_ADSP_BF531_proc__ 8 | 9 | #include "../mach-common/ADSP-EDN-core_cdef.h" 10 | 11 | #include "../mach-common/ADSP-EDN-extended_cdef.h" 12 | 13 | 14 | #endif /* __BFIN_CDEF_ADSP_BF531_proc__ */ 15 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf533/BF532_cdef.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE 2 | * Automatically generated by generate-cdef-headers.xsl 3 | * DO NOT EDIT THIS FILE 4 | */ 5 | 6 | #ifndef __BFIN_CDEF_ADSP_BF532_proc__ 7 | #define __BFIN_CDEF_ADSP_BF532_proc__ 8 | 9 | #include "../mach-common/ADSP-EDN-core_cdef.h" 10 | 11 | #include "../mach-common/ADSP-EDN-extended_cdef.h" 12 | 13 | 14 | #endif /* __BFIN_CDEF_ADSP_BF532_proc__ */ 15 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf533/BF533_cdef.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE 2 | * Automatically generated by generate-cdef-headers.xsl 3 | * DO NOT EDIT THIS FILE 4 | */ 5 | 6 | #ifndef __BFIN_CDEF_ADSP_BF533_proc__ 7 | #define __BFIN_CDEF_ADSP_BF533_proc__ 8 | 9 | #include "../mach-common/ADSP-EDN-core_cdef.h" 10 | 11 | #include "../mach-common/ADSP-EDN-extended_cdef.h" 12 | 13 | 14 | #endif /* __BFIN_CDEF_ADSP_BF533_proc__ */ 15 | -------------------------------------------------------------------------------- /include/asm-blackfin/blackfin.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE 2 | * Automatically generated by toolchain/trunk/proc-defs/sh/create-arch-headers.sh 3 | * DO NOT EDIT THIS FILE 4 | */ 5 | 6 | #ifndef __MACH_GLOB_BLACKFIN__ 7 | #define __MACH_GLOB_BLACKFIN__ 8 | 9 | #include "blackfin_def.h" 10 | #ifndef __ASSEMBLY__ 11 | #include "blackfin_cdef.h" 12 | #endif 13 | #include "blackfin_local.h" 14 | 15 | #endif /* __MACH_GLOB_BLACKFIN__ */ 16 | -------------------------------------------------------------------------------- /tools/scripts/send_cmd: -------------------------------------------------------------------------------- 1 | #!/usr/bin/kermit + 2 | set line /dev/ttyS0 3 | set speed 115200 4 | set serial 8N1 5 | set carrier-watch off 6 | set handshake none 7 | set flow-control none 8 | robust 9 | set file type bin 10 | set file name lit 11 | set rec pack 1000 12 | set send pack 1000 13 | set window 5 14 | set prompt Kermit> 15 | 16 | #out \13 17 | #in 10 => 18 | out \%1 \%2 \%3 \%4 \%5 \%6 \%7\13 19 | in 10 => 20 | quit 21 | exit 0 22 | -------------------------------------------------------------------------------- /board/wepep250/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # This is config used for compilation of WEP EP250 sources 3 | # 4 | # You might change location of U-Boot in memory by setting right TEXT_BASE. 5 | # This allows for example having one copy located at the end of ram and stored 6 | # in flash device and later on while developing use other location to test 7 | # the code in RAM device only. 8 | # 9 | 10 | TEXT_BASE = 0xa1fe0000 11 | #TEXT_BASE = 0xa1001000 12 | -------------------------------------------------------------------------------- /cpu/ixp/npe/include/IxOsalOsAssert.h: -------------------------------------------------------------------------------- 1 | #ifndef IxOsalOsAssert_H 2 | #define IxOsalOsAssert_H 3 | 4 | #define IX_OSAL_OS_ASSERT(c) if(!(c)) \ 5 | { \ 6 | ixOsalLog (IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDOUT, "Assertion failure \n", 0, 0, 0, 0, 0, 0);\ 7 | while(1); \ 8 | } 9 | 10 | #endif /* IxOsalOsAssert_H */ 11 | -------------------------------------------------------------------------------- /cpu/mpc512x/asm-offsets.h: -------------------------------------------------------------------------------- 1 | /* 2 | * needed for cpu/mpc512x/start.S 3 | * 4 | * These should be auto-generated 5 | */ 6 | #define LPCS0AW 0x0024 7 | #define SRAMBAR 0x00C4 8 | #define SWCRR 0x0904 9 | #define LPC_OFFSET 0x10000 10 | #define CS0_CONFIG 0x00000 11 | #define CS_CTRL 0x00020 12 | #define CS_CTRL_ME 0x01000000 /* CS Master Enable bit */ 13 | 14 | #define EXC_OFF_SYS_RESET 0x0100 15 | #define _START_OFFSET EXC_OFF_SYS_RESET 16 | -------------------------------------------------------------------------------- /doc/README.timll: -------------------------------------------------------------------------------- 1 | DevKit8000 2 | ========== 3 | 4 | The OMAP3 DevKit8000 from Embest/Timll is a clone of the OMAP3 beagle board 5 | with Ethernet and Touch Screen controller on board. 6 | 7 | For more information go to: 8 | http://www.embedinfo.com/English/Product/devkit8000.asp 9 | 10 | There's no real MAC address available. 11 | If ethaddr is not set, 5 Bytes of the OMAP Die ID will be used. 12 | 13 | Build: 14 | make devkit8000_config 15 | make 16 | -------------------------------------------------------------------------------- /include/vsc7385.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Header file for vsc7385.c 3 | * 4 | * Author: Timur Tabi 5 | * 6 | * Copyright 2008 Freescale Semiconductor, Inc. This file is licensed 7 | * under the terms of the GNU General Public License version 2. This 8 | * program is licensed "as is" without any warranty of any kind, whether 9 | * express or implied. 10 | */ 11 | 12 | int vsc7385_upload_firmware(void *firmware, unsigned int size); 13 | -------------------------------------------------------------------------------- /board/logodl/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Linux-Kernel is expected to be at c000'8000, entry c000'8000 3 | # 4 | # we load ourself to c170'0000, the upper 1 MB of second bank 5 | # 6 | # download areas is c800'0000 7 | # 8 | 9 | #TEXT_BASE = 0 10 | 11 | # FIXME: armboot does only work correctly when being compiled 12 | # # for the addresses _after_ relocation to RAM!! Otherwhise the 13 | # # .bss segment is assumed in flash... 14 | # 15 | TEXT_BASE = 0x083E0000 16 | -------------------------------------------------------------------------------- /board/ns9750dev/config.mk: -------------------------------------------------------------------------------- 1 | ####################################################################### 2 | # 3 | # Copyright (C) 2004 by FS Forth-Systeme GmbH. 4 | # Markus Pietrek 5 | # 6 | # @TODO 7 | # Linux-Kernel is expected to be at 0000'8000, entry 0000'8000 8 | # optionally with a ramdisk at 0080'0000 9 | # 10 | # we load ourself to 0078'0000 11 | # 12 | # download area is 0060'0000 13 | # 14 | 15 | 16 | TEXT_BASE = 0x00780000 17 | -------------------------------------------------------------------------------- /include/video.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** MPC823 Video Controller 3 | ** ======================= 4 | ** (C) 2000 by Paolo Scaffardi (arsenio@tin.it) 5 | ** AIRVENT SAM s.p.a - RIMINI(ITALY) 6 | ** 7 | */ 8 | 9 | #ifndef _VIDEO_H_ 10 | #define _VIDEO_H_ 11 | 12 | /* Video functions */ 13 | 14 | int video_init (void *videobase); 15 | void video_putc (const char c); 16 | void video_puts (const char *s); 17 | void video_printf (const char *fmt, ...); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /onenand_ipl/board/apollon/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2005-2008 Samsung Electronics 3 | # Kyungmin Park 4 | # 5 | # Samsung Apollon board with OMAP2420 (ARM1136) cpu 6 | # 7 | # Apollon has 1 bank of 128MB mDDR-SDRAM on CS0 8 | # Physical Address: 9 | # 8000'0000 (bank0) 10 | # 8800'0000 (bank1) 11 | # Linux-Kernel is expected to be at 8000'8000, entry 8000'8000 12 | # (mem base + reserved) 13 | 14 | TEXT_BASE = 0x00000000 15 | -------------------------------------------------------------------------------- /board/samsung/smdkc100/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008 # Samsung Elecgtronics 3 | # Kyungmin Park 4 | # 5 | 6 | # On S5PC100 we use the 128 MiB OneDRAM bank at 7 | # 8 | # 0x30000000 to 0x35000000 (80MiB) 9 | # 0x38000000 to 0x40000000 (128MiB) 10 | # 11 | # On S5PC110 we use the 128 MiB OneDRAM bank at 12 | # 13 | # 0x30000000 to 0x35000000 (80MiB) 14 | # 0x40000000 to 0x48000000 (128MiB) 15 | # 16 | TEXT_BASE = 0x34800000 17 | -------------------------------------------------------------------------------- /include/cramfs/cramfs_fs_sb.h: -------------------------------------------------------------------------------- 1 | #ifndef _CRAMFS_FS_SB 2 | #define _CRAMFS_FS_SB 3 | 4 | /* 5 | * cramfs super-block data in memory 6 | */ 7 | struct cramfs_sb_info { 8 | unsigned long magic; 9 | unsigned long size; 10 | unsigned long blocks; 11 | unsigned long files; 12 | unsigned long flags; 13 | #ifdef CONFIG_CRAMFS_LINEAR 14 | unsigned long linear_phys_addr; 15 | char * linear_virt_addr; 16 | #endif 17 | }; 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /include/sha256.h: -------------------------------------------------------------------------------- 1 | #ifndef _SHA256_H 2 | #define _SHA256_H 3 | 4 | #define SHA256_SUM_LEN 32 5 | 6 | typedef struct { 7 | uint32_t total[2]; 8 | uint32_t state[8]; 9 | uint8_t buffer[64]; 10 | } sha256_context; 11 | 12 | void sha256_starts(sha256_context * ctx); 13 | void sha256_update(sha256_context * ctx, uint8_t * input, uint32_t length); 14 | void sha256_finish(sha256_context * ctx, uint8_t digest[SHA256_SUM_LEN]); 15 | 16 | #endif /* _SHA256_H */ 17 | -------------------------------------------------------------------------------- /include/asm-m68k/processor.h: -------------------------------------------------------------------------------- 1 | #ifndef __ASM_M68K_PROCESSOR_H 2 | #define __ASM_M68K_PROCESSOR_H 3 | 4 | #include 5 | #include 6 | 7 | #define _GLOBAL(n)\ 8 | .globl n;\ 9 | n: 10 | 11 | /* Macros for setting and retrieving special purpose registers */ 12 | #define setvbr(v) asm volatile("movec %0,%%VBR" : : "r" (v)) 13 | 14 | #ifndef __ASSEMBLY__ 15 | 16 | #endif /* ifndef ASSEMBLY*/ 17 | 18 | #endif /* __ASM_M68K_PROCESSOR_H */ 19 | -------------------------------------------------------------------------------- /include/asm-mips/reboot.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is subject to the terms and conditions of the GNU General Public 3 | * License. See the file "COPYING" in the main directory of this archive 4 | * for more details. 5 | * 6 | * Copyright (C) 1997, 1999, 2001, 06 by Ralf Baechle 7 | * Copyright (C) 2001 MIPS Technologies, Inc. 8 | */ 9 | #ifndef _ASM_REBOOT_H 10 | #define _ASM_REBOOT_H 11 | 12 | extern void _machine_restart(void); 13 | 14 | #endif /* _ASM_REBOOT_H */ 15 | -------------------------------------------------------------------------------- /tools/bddb/config.php: -------------------------------------------------------------------------------- 1 | 4 | // CSIRO Manufacturing Science and Technology, Preston Lab 5 | 6 | // mysql database access info 7 | $mysql_user="fred"; 8 | $mysql_pw="apassword"; 9 | $mysql_db="mydbname"; 10 | 11 | // where to put the eeprom config files 12 | $bddb_cfgdir = '/tftpboot/bddb'; 13 | 14 | // what this database is called 15 | $bddb_label = 'Hymod Board Database'; 16 | ?> 17 | -------------------------------------------------------------------------------- /include/asm-ppc/unaligned.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_POWERPC_UNALIGNED_H 2 | #define _ASM_POWERPC_UNALIGNED_H 3 | 4 | #ifdef __KERNEL__ 5 | 6 | /* 7 | * The PowerPC can do unaligned accesses itself in big endian mode. 8 | */ 9 | #include 10 | #include 11 | 12 | #define get_unaligned __get_unaligned_be 13 | #define put_unaligned __put_unaligned_be 14 | 15 | #endif /* __KERNEL__ */ 16 | #endif /* _ASM_POWERPC_UNALIGNED_H */ 17 | -------------------------------------------------------------------------------- /tools/env/fw_env.config: -------------------------------------------------------------------------------- 1 | # Configuration file for fw_(printenv/saveenv) utility. 2 | # Up to two entries are valid, in this case the redundant 3 | # environment sector is assumed present. 4 | # Notice, that the "Number of sectors" is ignored on NOR. 5 | 6 | # MTD device name Device offset Env. size Flash sector size Number of sectors 7 | /dev/mtd1 0x0000 0x4000 0x4000 8 | /dev/mtd2 0x0000 0x4000 0x4000 9 | 10 | # NAND example 11 | #/dev/mtd0 0x4000 0x4000 0x20000 2 12 | -------------------------------------------------------------------------------- /board/gcplus/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ADS GCPlus board with SA1110 cpu 3 | # 4 | # The ADS GCPlus has 2 banks of 16 MiB SDRAM 5 | # 6 | # We use the ADS GCPlus Linux boot ROM to load U-Boot into SDRAM 7 | # at c020'0000 and then move ourself to c8f0'0000. Basically, just 8 | # install the U-Boot binary as you would the Linux zImage and then 9 | # reap the benfits of more convenient Linux development cycles, i.e. 10 | # bootp;tftp;bootm, repeat, etc.,. 11 | # 12 | 13 | TEXT_BASE = 0xc8f00000 14 | -------------------------------------------------------------------------------- /lib_nios/math.h: -------------------------------------------------------------------------------- 1 | #define BITS_PER_UNIT 8 2 | 3 | typedef int HItype __attribute__ ((mode (HI))); 4 | typedef unsigned int UHItype __attribute__ ((mode (HI))); 5 | 6 | typedef int SItype __attribute__ ((mode (SI))); 7 | typedef unsigned int USItype __attribute__ ((mode (SI))); 8 | 9 | typedef int word_type __attribute__ ((mode (__word__))); 10 | 11 | struct SIstruct {HItype low, high;}; 12 | 13 | typedef union { 14 | struct SIstruct s; 15 | SItype ll; 16 | } SIunion; 17 | -------------------------------------------------------------------------------- /lib_nios2/math.h: -------------------------------------------------------------------------------- 1 | #define BITS_PER_UNIT 8 2 | 3 | typedef int HItype __attribute__ ((mode (HI))); 4 | typedef unsigned int UHItype __attribute__ ((mode (HI))); 5 | 6 | typedef int SItype __attribute__ ((mode (SI))); 7 | typedef unsigned int USItype __attribute__ ((mode (SI))); 8 | 9 | typedef int word_type __attribute__ ((mode (__word__))); 10 | 11 | struct SIstruct {HItype low, high;}; 12 | 13 | typedef union { 14 | struct SIstruct s; 15 | SItype ll; 16 | } SIunion; 17 | -------------------------------------------------------------------------------- /board/lart/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # LART board with SA1100 cpu 3 | # 4 | # see http://www.lart.tudelft.nl/ for more information on LART 5 | # 6 | 7 | # 8 | # LART has 4 banks of 8 MB DRAM 9 | # 10 | # c000'0000 11 | # c100'0000 12 | # c800'0000 13 | # c900'0000 14 | # 15 | # Linux-Kernel is expected to be at c000'8000, entry c000'8000 16 | # 17 | # we load ourself to c178'0000, the upper 1 MB of second bank 18 | # 19 | # download areas is c800'0000 20 | # 21 | 22 | 23 | TEXT_BASE = 0xc1780000 24 | -------------------------------------------------------------------------------- /include/config_defaults.h: -------------------------------------------------------------------------------- 1 | /* 2 | * config_defaults.h - sane defaults for everyone 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #ifndef _CONFIG_DEFAULTS_H_ 10 | #define _CONFIG_DEFAULTS_H_ 11 | 12 | /* Support bootm-ing different OSes */ 13 | #define CONFIG_BOOTM_LINUX 1 14 | #define CONFIG_BOOTM_NETBSD 1 15 | #define CONFIG_BOOTM_RTEMS 1 16 | 17 | #define CONFIG_GZIP 1 18 | #define CONFIG_ZLIB 1 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cpu/blackfin/bootrom-asm-offsets.c.in: -------------------------------------------------------------------------------- 1 | /* A little trick taken from the kernel asm-offsets.h where we convert 2 | * the C structures automatically into a bunch of defines for use in 3 | * the assembly files. 4 | */ 5 | 6 | #include 7 | #include 8 | 9 | #define _DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val)) 10 | #define DEFINE(s, m) _DEFINE(offset_##s##_##m, offsetof(s, m)) 11 | 12 | int main(int argc, char *argv[]) 13 | -------------------------------------------------------------------------------- /include/asm-microblaze/unaligned.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_MICROBLAZE_UNALIGNED_H 2 | #define _ASM_MICROBLAZE_UNALIGNED_H 3 | 4 | #ifdef __KERNEL__ 5 | 6 | /* 7 | * The Microblaze can do unaligned accesses itself in big endian mode. 8 | */ 9 | #include 10 | #include 11 | 12 | #define get_unaligned __get_unaligned_be 13 | #define put_unaligned __put_unaligned_be 14 | 15 | #endif /* __KERNEL__ */ 16 | #endif /* _ASM_MICROBLAZE_UNALIGNED_H */ 17 | -------------------------------------------------------------------------------- /board/csb226/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Linux-Kernel is expected to be at c000'8000, entry c000'8000 3 | # 4 | # we load ourself to c170'0000, the upper 1 MB of second bank 5 | # 6 | # download areas is c800'0000 7 | # 8 | 9 | # This is the address where U-Boot lives in flash: 10 | #TEXT_BASE = 0 11 | 12 | # FIXME: armboot does only work correctly when being compiled 13 | # for the addresses _after_ relocation to RAM!! Otherwhise the 14 | # .bss segment is assumed in flash... 15 | TEXT_BASE = 0xa1fe0000 16 | -------------------------------------------------------------------------------- /board/innokom/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Linux-Kernel is expected to be at c000'8000, entry c000'8000 3 | # 4 | # we load ourself to c170'0000, the upper 1 MB of second bank 5 | # 6 | # download areas is c800'0000 7 | # 8 | 9 | # This is the address where U-Boot lives in flash: 10 | #TEXT_BASE = 0 11 | 12 | # FIXME: armboot does only work correctly when being compiled 13 | # for the addresses _after_ relocation to RAM!! Otherwhise the 14 | # .bss segment is assumed in flash... 15 | TEXT_BASE = 0xa1fe0000 16 | -------------------------------------------------------------------------------- /include/asm-arm/hardware.h: -------------------------------------------------------------------------------- 1 | /* 2 | * linux/include/asm-arm/hardware.h 3 | * 4 | * Copyright (C) 1996 Russell King 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License version 2 as 8 | * published by the Free Software Foundation. 9 | * 10 | * Common hardware definitions 11 | */ 12 | 13 | #ifndef __ASM_HARDWARE_H 14 | #define __ASM_HARDWARE_H 15 | 16 | #include 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /doc/README.idma2intr: -------------------------------------------------------------------------------- 1 | (C) 2003 Arun Dharankar 2 | 3 | Attached is an IDMA example code for MPC8260/PPCBoot. I had tried to 4 | search around and could not find any for implementing IDMA, so 5 | implemented one. Its not coded in the best way, but works. 6 | 7 | Also, I was able to test the IDMA specific code under Linux also 8 | (with modifications). My requirement was to implement it for 9 | CompactFlash implemented in memory mode, and it works for it under 10 | PPCBoot and Linux. 11 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf561/def_local.h: -------------------------------------------------------------------------------- 1 | #define SWRST SICA_SWRST 2 | #define SYSCR SICA_SYSCR 3 | #define bfin_write_SWRST(val) bfin_write_SICA_SWRST(val) 4 | #define bfin_write_SYSCR(val) bfin_write_SICA_SYSCR(val) 5 | 6 | #define WDOG_CNT WDOGA_CNT 7 | #define WDOG_CTL WDOGA_CTL 8 | #define bfin_write_WDOG_CNT(val) bfin_write_WDOGA_CNT(val) 9 | #define bfin_write_WDOG_CTL(val) bfin_write_WDOGA_CTL(val) 10 | #define bfin_write_WDOG_STAT(val) bfin_write_WDOGA_STAT(val) 11 | 12 | #include "ports.h" 13 | -------------------------------------------------------------------------------- /board/shannon/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # LART board with SA1100 cpu 3 | # 4 | # see http://www.lart.tudelft.nl/ for more information on LART 5 | # 6 | 7 | # 8 | # Tuxscreen has 4 banks of 4 MB DRAM each 9 | # 10 | # c000'0000 11 | # c800'0000 12 | # d000'0000 13 | # d800'0000 14 | # 15 | # Linux-Kernel is expected to be at c000'8000, entry c000'8000 16 | # 17 | # we load ourself to d838'0000, the upper 1 MB of the last (4th) bank 18 | # 19 | # download areas is c800'0000 20 | # 21 | 22 | 23 | TEXT_BASE = 0xd8380000 24 | -------------------------------------------------------------------------------- /net/tftp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * LiMon - BOOTP/TFTP. 3 | * 4 | * Copyright 1994, 1995, 2000 Neil Russell. 5 | * (See License) 6 | */ 7 | 8 | #ifndef __TFTP_H__ 9 | #define __TFTP_H__ 10 | 11 | /**********************************************************************/ 12 | /* 13 | * Global functions and variables. 14 | */ 15 | 16 | /* tftp.c */ 17 | extern void TftpStart (void); /* Begin TFTP get */ 18 | 19 | /**********************************************************************/ 20 | 21 | #endif /* __TFTP_H__ */ 22 | -------------------------------------------------------------------------------- /board/sx1/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2004 3 | # Wolfgang Denk, DENX Software Engineering, 4 | # 5 | # SX1 board with OMAP1510 (ARM925T) cpu 6 | # see http://www.ti.com/ for more information on Texas Insturments 7 | # 8 | # SX1 has 1 bank of 256 MB SDRAM 9 | # Physical Address: 10 | # 1000'0000 to 2000'0000 11 | # 12 | # 13 | # Linux-Kernel is expected to be at 1000'8000, entry 1000'8000 (mem base + reserved) 14 | # 15 | # we load ourself to 1108'0000 16 | # 17 | # 18 | 19 | TEXT_BASE = 0x11080000 20 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | This is the source tree of U-Boot, a popular boot loader for embedded devices. U-Boot was developed by DENX Software Engineering (www.denx.de). 2 | 3 | This particular version of U-Boot is maintained by Emcraft Systems and supports several Cortex-M3 and Cortex-M4 based MCUs. 4 | 5 | A complete list of Cortex-M MCUs and boards supported by this version of U-Boot is available at http://www.emcraft.com. 6 | 7 | If you want to contribute code to this source tree, please email your patches to a2f-linux-support@emcraft.com. 8 | 9 | -------------------------------------------------------------------------------- /include/asm-arm/arch-mx27/asm-offsets.h: -------------------------------------------------------------------------------- 1 | #define AIPI1_PSR0 0x10000000 2 | #define AIPI1_PSR1 0x10000004 3 | #define AIPI2_PSR0 0x10020000 4 | #define AIPI2_PSR1 0x10020004 5 | #define CSCR 0x10027000 6 | #define MPCTL0 0x10027004 7 | #define SPCTL0 0x1002700c 8 | #define PCDR0 0x10027018 9 | #define PCDR1 0x1002701c 10 | #define PCCR0 0x10027020 11 | #define PCCR1 0x10027024 12 | #define ESDCTL0_ROF 0x00 13 | #define ESDCFG0_ROF 0x04 14 | #define ESDCTL1_ROF 0x08 15 | #define ESDCFG1_ROF 0x0C 16 | #define ESDMISC_ROF 0x10 17 | -------------------------------------------------------------------------------- /include/jffs2/compr_rubin.h: -------------------------------------------------------------------------------- 1 | /* Rubin encoder/decoder header */ 2 | /* work started at : aug 3, 1994 */ 3 | /* last modification : aug 15, 1994 */ 4 | /* $Id: compr_rubin.h,v 1.1 2002/01/16 23:34:32 nyet Exp $ */ 5 | 6 | #define RUBIN_REG_SIZE 16 7 | #define UPPER_BIT_RUBIN (((long) 1)<<(RUBIN_REG_SIZE-1)) 8 | #define LOWER_BITS_RUBIN ((((long) 1)<<(RUBIN_REG_SIZE-1))-1) 9 | 10 | void dynrubin_decompress(unsigned char *data_in, unsigned char *cpage_out, 11 | unsigned long sourcelen, unsigned long dstlen); 12 | -------------------------------------------------------------------------------- /cpu/blackfin/watchdog.c: -------------------------------------------------------------------------------- 1 | /* 2 | * watchdog.c - driver for Blackfin on-chip watchdog 3 | * 4 | * Copyright (c) 2007-2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | void hw_watchdog_reset(void) 14 | { 15 | bfin_write_WDOG_STAT(0); 16 | } 17 | 18 | void hw_watchdog_init(void) 19 | { 20 | bfin_write_WDOG_CNT(5 * get_sclk()); /* 5 second timeout */ 21 | hw_watchdog_reset(); 22 | bfin_write_WDOG_CTL(0x0); 23 | } 24 | -------------------------------------------------------------------------------- /include/asm-arm/unaligned.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_ARM_UNALIGNED_H 2 | #define _ASM_ARM_UNALIGNED_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | /* 9 | * Select endianness 10 | */ 11 | #ifndef __ARMEB__ 12 | #define get_unaligned __get_unaligned_le 13 | #define put_unaligned __put_unaligned_le 14 | #else 15 | #define get_unaligned __get_unaligned_be 16 | #define put_unaligned __put_unaligned_be 17 | #endif 18 | 19 | #endif /* _ASM_ARM_UNALIGNED_H */ 20 | -------------------------------------------------------------------------------- /include/video_easylogo.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** video easylogo 3 | ** ============== 4 | ** (C) 2000 by Paolo Scaffardi (arsenio@tin.it) 5 | ** AIRVENT SAM s.p.a - RIMINI(ITALY) 6 | ** 7 | ** This utility is still under construction! 8 | */ 9 | 10 | #ifndef _EASYLOGO_H_ 11 | #define _EASYLOGO_H_ 12 | 13 | #if 0 14 | #define ENABLE_ASCII_BANNERS 15 | #endif 16 | 17 | typedef struct { 18 | unsigned char *data; 19 | int width; 20 | int height; 21 | int bpp; 22 | int pixel_size; 23 | int size; 24 | } fastimage_t ; 25 | 26 | #endif /* _EASYLOGO_H_ */ 27 | -------------------------------------------------------------------------------- /doc/uImage.FIT/update_uboot.its: -------------------------------------------------------------------------------- 1 | /* 2 | * Automatic software update for U-Boot 3 | * Make sure the flashing addresses ('load' prop) is correct for your board! 4 | */ 5 | 6 | /dts-v1/; 7 | 8 | / { 9 | description = "Automatic U-Boot update"; 10 | #address-cells = <1>; 11 | 12 | images { 13 | update@1 { 14 | description = "U-Boot binary"; 15 | data = /incbin/("./u-boot.bin"); 16 | compression = "none"; 17 | type = "firmware"; 18 | load = ; 19 | hash@1 { 20 | algo = "sha1"; 21 | }; 22 | }; 23 | }; 24 | }; 25 | -------------------------------------------------------------------------------- /include/linux/mtd/concat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MTD device concatenation layer definitions 3 | * 4 | * (C) 2002 Robert Kaiser 5 | * 6 | * This code is GPL 7 | */ 8 | 9 | #ifndef MTD_CONCAT_H 10 | #define MTD_CONCAT_H 11 | 12 | struct mtd_info *mtd_concat_create( 13 | struct mtd_info *subdev[], /* subdevices to concatenate */ 14 | int num_devs, /* number of subdevices */ 15 | const char *name); /* name for the new device */ 16 | 17 | void mtd_concat_destroy(struct mtd_info *mtd); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /tools/scripts/send_image: -------------------------------------------------------------------------------- 1 | #!/usr/bin/kermit + 2 | # usage: send_image FILE_NAME OFFSET 3 | # e.g. send_image output.bin 1F00000 4 | set line /dev/ttyS0 5 | set speed 115200 6 | set serial 8N1 7 | set carrier-watch off 8 | set handshake none 9 | set flow-control none 10 | robust 11 | set file type bin 12 | set file name lit 13 | set rec pack 1000 14 | set send pack 1000 15 | set window 5 16 | set prompt Kermit> 17 | 18 | out \13 19 | in 10 => 20 | out loadb \%2 \13 21 | in 10 download ... 22 | send \%1 23 | out \13 24 | in 10 ## Start Addr 25 | quit 26 | exit 0 27 | -------------------------------------------------------------------------------- /board/freescale/common/sgmii_riser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Freescale SGMII Riser Card 3 | * 4 | * This driver supports the SGMII Riser card found on the 5 | * "DS" style of development board from Freescale. 6 | * 7 | * This software may be used and distributed according to the 8 | * terms of the GNU Public License, Version 2, incorporated 9 | * herein by reference. 10 | * 11 | * Copyright 2008 Freescale Semiconductor, Inc. 12 | * 13 | */ 14 | 15 | void fsl_sgmii_riser_init(struct tsec_info_struct *tsec_info, int num); 16 | void fsl_sgmii_riser_fdt_fixup(void *fdt); 17 | -------------------------------------------------------------------------------- /include/asm-blackfin/deferred.h: -------------------------------------------------------------------------------- 1 | /* 2 | * U-boot - deferred register layout 3 | * 4 | * Copyright 2004-2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #ifndef _BLACKFIN_DEFER_H 10 | #define _BLACKFIN_DEFER_H 11 | 12 | #define deferred_regs_DCPLB_FAULT_ADDR 0 13 | #define deferred_regs_ICPLB_FAULT_ADDR 1 14 | #define deferred_regs_retx 2 15 | #define deferred_regs_SEQSTAT 3 16 | #define deferred_regs_SYSCFG 4 17 | #define deferred_regs_IMASK 5 18 | #define deferred_regs_last 6 19 | 20 | #endif /* _BLACKFIN_DEFER_H */ 21 | -------------------------------------------------------------------------------- /doc/README.amigaone: -------------------------------------------------------------------------------- 1 | AmigaOne U-Boot and the SciTech emulator 2 | 3 | The directory board/MAI/bios_emulator contains the source code 4 | of the SciTech x86 emulator. This emulator is normally available 5 | under a BSD license. However, SciTech kindly gave us permission 6 | to use their emulator in PPCBoot for the AmigaOne. It's available 7 | in this form only under GPL. 8 | 9 | Thanks to Kendall Bennett and the rest of the team at SciTech. 10 | See http://www.scitechsoft.com for their web site 11 | 12 | The GPL license can be found at http://www.gnu.org/licenses/gpl.html 13 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/trace.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Trace Unit Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_TRACE__ 6 | #define __BFIN_PERIPHERAL_TRACE__ 7 | 8 | /* Trace Buffer Control (TBUFCTL) Register Masks */ 9 | #define TBUFPWR 0x00000001 10 | #define TBUFEN 0x00000002 11 | #define TBUFOVF 0x00000004 12 | #define CMPLB_SINGLE 0x00000008 13 | #define CMPLP_DOUBLE 0x00000010 14 | #define CMPLB (CMPLB_SINGLE | CMPLP_DOUBLE) 15 | 16 | /* Trace Buffer Status (TBUFSTAT) Register Masks */ 17 | #define TBUFCNT 0x0000001F 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /lib_arm/eabi_compat.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Utility functions needed for (some) EABI conformant tool chains. 3 | * 4 | * (C) Copyright 2009 Wolfgang Denk 5 | * 6 | * This program is Free Software; you can redistribute it and/or 7 | * modify it under the terms of the GNU General Public License as 8 | * published by the Free Software Foundation; either version 2 of the 9 | * License, or (at your option) any later version. 10 | */ 11 | 12 | #include 13 | 14 | int raise (int signum) 15 | { 16 | printf("raise: Signal # %d caught\n", signum); 17 | return 0; 18 | } 19 | -------------------------------------------------------------------------------- /board/gth/README: -------------------------------------------------------------------------------- 1 | Written by Thomas.Lange@corelatus.com 010805 2 | 3 | To make a system for gth that actually works ;-) 4 | the variable TBASE needs to be set to 0,1 or 2 5 | depending on location where image is supposed to 6 | be started from. 7 | E.g. make TBASE=1 8 | 9 | 0: Start from RAM, base 0 10 | 11 | 1: Start from flash_base + 0x10070 12 | 13 | 2: Start from flash_base + 0x30070 14 | 15 | When using 1 or 2, the image is supposed to be launched 16 | from miniboot that boots the first U-Boot image found in 17 | flash. 18 | For miniboot code, description, see www.opensource.se 19 | -------------------------------------------------------------------------------- /board/mcc200/mt48lc8m32b2-6-7.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration Registers for the MT48LC8M32B2 SDRAM on the MPC5200 platform 3 | */ 4 | 5 | #define SDRAM_DDR 0 /* is SDR */ 6 | 7 | /* Settings for XLB = 132 MHz */ 8 | 9 | #define SDRAM_MODE 0x008d0000 /* CL-3 BURST-8 -> Mode Register MBAR + 0x0100 */ 10 | #define SDRAM_CONTROL 0x504f0000 /* Control Register MBAR + 0x0104 */ 11 | #define SDRAM_CONFIG1 0xc2222900 /* Delays between commands -> Configuration Register 1 MBAR + 0x0108 */ 12 | #define SDRAM_CONFIG2 0x88c70000 /* Delays between commands -> Configuration Register 2 MBAR + 0x010C */ 13 | -------------------------------------------------------------------------------- /cpu/mpc85xx/mp.h: -------------------------------------------------------------------------------- 1 | #ifndef __MPC85XX_MP_H_ 2 | #define __MPC85XX_MP_H_ 3 | 4 | #include 5 | 6 | ulong get_spin_phys_addr(void); 7 | ulong get_spin_virt_addr(void); 8 | u32 get_my_id(void); 9 | 10 | #define BOOT_ENTRY_ADDR_UPPER 0 11 | #define BOOT_ENTRY_ADDR_LOWER 1 12 | #define BOOT_ENTRY_R3_UPPER 2 13 | #define BOOT_ENTRY_R3_LOWER 3 14 | #define BOOT_ENTRY_RESV 4 15 | #define BOOT_ENTRY_PIR 5 16 | #define BOOT_ENTRY_R6_UPPER 6 17 | #define BOOT_ENTRY_R6_LOWER 7 18 | #define NUM_BOOT_ENTRY 8 19 | #define SIZE_BOOT_ENTRY (NUM_BOOT_ENTRY * sizeof(u32)) 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /tools/scripts/dot.kermrc: -------------------------------------------------------------------------------- 1 | set line /dev/ttyS0 2 | set speed 115200 3 | set carrier-watch off 4 | set handshake none 5 | set flow-control none 6 | robust 7 | set file type bin 8 | set file name lit 9 | set rec pack 1000 10 | set send pack 1000 11 | set window 5 12 | set prompt Kermit> 13 | define sz !sz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 14 | define rz !rz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 15 | define sx !sx \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 16 | define rx !rx \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 17 | -------------------------------------------------------------------------------- /board/cm-bf533/cm-bf533.c: -------------------------------------------------------------------------------- 1 | /* 2 | * U-boot - main board file 3 | * 4 | * Copyright (c) 2005-2008 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | DECLARE_GLOBAL_DATA_PTR; 13 | 14 | int checkboard(void) 15 | { 16 | printf("Board: Bluetechnix CM-BF533 board\n"); 17 | printf(" Support: http://www.bluetechnix.at/\n"); 18 | return 0; 19 | } 20 | 21 | #ifdef CONFIG_SMC91111 22 | int board_eth_init(bd_t *bis) 23 | { 24 | return smc91111_initialize(0, CONFIG_SMC91111_BASE); 25 | } 26 | #endif 27 | -------------------------------------------------------------------------------- /board/cm-bf561/cm-bf561.c: -------------------------------------------------------------------------------- 1 | /* 2 | * U-boot - main board file 3 | * 4 | * Copyright (c) 2005-2008 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | DECLARE_GLOBAL_DATA_PTR; 13 | 14 | int checkboard(void) 15 | { 16 | printf("Board: Bluetechnix CM-BF561 core module\n"); 17 | printf(" Support: http://www.bluetechnix.at/\n"); 18 | return 0; 19 | } 20 | 21 | #ifdef CONFIG_SMC91111 22 | int board_eth_init(bd_t *bis) 23 | { 24 | return smc91111_initialize(0, CONFIG_SMC91111_BASE); 25 | } 26 | #endif 27 | -------------------------------------------------------------------------------- /board/matrix_vision/mvblm7/mvblm7.h: -------------------------------------------------------------------------------- 1 | #ifndef __MVBC_H__ 2 | #define __MVBC_H__ 3 | 4 | #define MV_GPIO 5 | 6 | #define FPGA_CONFIG 0x80000000 7 | #define FPGA_CCLK 0x40000000 8 | #define FPGA_DIN 0x20000000 9 | #define FPGA_STATUS 0x10000000 10 | #define FPGA_CONF_DONE 0x08000000 11 | 12 | #define WD_WDI 0x00400000 13 | #define WD_TS 0x00200000 14 | #define MAN_RST 0x00100000 15 | 16 | #define MV_GPIO_DAT (WD_TS) 17 | #define MV_GPIO_OUT (FPGA_CONFIG|FPGA_DIN|FPGA_CCLK|MVBLM7_MMC_CS) 18 | #define MV_GPIO_ODE (FPGA_CONFIG|MAN_RST) 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /board/digsy_mtc/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Author: Grzegorz Bernacki, Semihalf, gjb@semihalf.com 3 | # 4 | 5 | # 6 | # digsyMTC board: 7 | # 8 | # Valid values for TEXT_BASE are: 9 | # 10 | # 0xFFF00000 boot high (standard configuration) 11 | # 0xFE000000 boot low 12 | # 0x00100000 boot from RAM (for testing only) 13 | # 14 | 15 | sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp 16 | 17 | ifndef TEXT_BASE 18 | ## Standard: boot high 19 | TEXT_BASE = 0xFFF00000 20 | ## For testing: boot from RAM 21 | # TEXT_BASE = 0x00100000 22 | endif 23 | 24 | PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)/board 25 | -------------------------------------------------------------------------------- /board/mpl/vcma9/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002, 2003 3 | # David Mueller, ELSOFT AG, 4 | # 5 | # MPL VCMA9 board with S3C2410X (ARM920T) cpu 6 | # 7 | # see http://www.mpl.ch/ for more information about the MPL VCMA9 8 | # 9 | 10 | # 11 | # MPL VCMA9 has 1 bank of minimal 16 MB DRAM 12 | # from 0x30000000 13 | # 14 | # Linux-Kernel is expected to be at 3000'8000, entry 3000'8000 15 | # optionally with a ramdisk at 3040'0000 16 | # 17 | # we load ourself to 33F8'0000 18 | # 19 | # download area is 3080'0000 20 | # 21 | 22 | 23 | #TEXT_BASE = 0x30F80000 24 | TEXT_BASE = 0x33F80000 25 | -------------------------------------------------------------------------------- /doc/README.VLAN: -------------------------------------------------------------------------------- 1 | U-Boot has networking support for VLANs (802.1q), and CDP (Cisco 2 | Discovery Protocol). 3 | 4 | You control the sending/receiving of VLAN tagged packets with the 5 | "vlan" environmental variable. When not present no tagging is 6 | performed. 7 | 8 | CDP is used mainly to discover your device VLAN(s) when connected to 9 | a Cisco switch. 10 | 11 | Note: In order to enable CDP support a small change is needed in the 12 | networking driver. You have to enable reception of the 13 | 01:00:0c:cc:cc:cc MAC address which is a multicast address. 14 | 15 | Various defines control CDP; see the README section. 16 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-a.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port A Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_A__ 6 | #define __BFIN_PERIPHERAL_PORT_A__ 7 | 8 | #define PA0 (1 << 0) 9 | #define PA1 (1 << 1) 10 | #define PA2 (1 << 2) 11 | #define PA3 (1 << 3) 12 | #define PA4 (1 << 4) 13 | #define PA5 (1 << 5) 14 | #define PA6 (1 << 6) 15 | #define PA7 (1 << 7) 16 | #define PA8 (1 << 8) 17 | #define PA9 (1 << 9) 18 | #define PA10 (1 << 10) 19 | #define PA11 (1 << 11) 20 | #define PA12 (1 << 12) 21 | #define PA13 (1 << 13) 22 | #define PA14 (1 << 14) 23 | #define PA15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-b.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port B Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_B__ 6 | #define __BFIN_PERIPHERAL_PORT_B__ 7 | 8 | #define PB0 (1 << 0) 9 | #define PB1 (1 << 1) 10 | #define PB2 (1 << 2) 11 | #define PB3 (1 << 3) 12 | #define PB4 (1 << 4) 13 | #define PB5 (1 << 5) 14 | #define PB6 (1 << 6) 15 | #define PB7 (1 << 7) 16 | #define PB8 (1 << 8) 17 | #define PB9 (1 << 9) 18 | #define PB10 (1 << 10) 19 | #define PB11 (1 << 11) 20 | #define PB12 (1 << 12) 21 | #define PB13 (1 << 13) 22 | #define PB14 (1 << 14) 23 | #define PB15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-c.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port C Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_C__ 6 | #define __BFIN_PERIPHERAL_PORT_C__ 7 | 8 | #define PC0 (1 << 0) 9 | #define PC1 (1 << 1) 10 | #define PC2 (1 << 2) 11 | #define PC3 (1 << 3) 12 | #define PC4 (1 << 4) 13 | #define PC5 (1 << 5) 14 | #define PC6 (1 << 6) 15 | #define PC7 (1 << 7) 16 | #define PC8 (1 << 8) 17 | #define PC9 (1 << 9) 18 | #define PC10 (1 << 10) 19 | #define PC11 (1 << 11) 20 | #define PC12 (1 << 12) 21 | #define PC13 (1 << 13) 22 | #define PC14 (1 << 14) 23 | #define PC15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-d.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port D Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_D__ 6 | #define __BFIN_PERIPHERAL_PORT_D__ 7 | 8 | #define PD0 (1 << 0) 9 | #define PD1 (1 << 1) 10 | #define PD2 (1 << 2) 11 | #define PD3 (1 << 3) 12 | #define PD4 (1 << 4) 13 | #define PD5 (1 << 5) 14 | #define PD6 (1 << 6) 15 | #define PD7 (1 << 7) 16 | #define PD8 (1 << 8) 17 | #define PD9 (1 << 9) 18 | #define PD10 (1 << 10) 19 | #define PD11 (1 << 11) 20 | #define PD12 (1 << 12) 21 | #define PD13 (1 << 13) 22 | #define PD14 (1 << 14) 23 | #define PD15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-e.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port E Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_E__ 6 | #define __BFIN_PERIPHERAL_PORT_E__ 7 | 8 | #define PE0 (1 << 0) 9 | #define PE1 (1 << 1) 10 | #define PE2 (1 << 2) 11 | #define PE3 (1 << 3) 12 | #define PE4 (1 << 4) 13 | #define PE5 (1 << 5) 14 | #define PE6 (1 << 6) 15 | #define PE7 (1 << 7) 16 | #define PE8 (1 << 8) 17 | #define PE9 (1 << 9) 18 | #define PE10 (1 << 10) 19 | #define PE11 (1 << 11) 20 | #define PE12 (1 << 12) 21 | #define PE13 (1 << 13) 22 | #define PE14 (1 << 14) 23 | #define PE15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-f.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port F Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_F__ 6 | #define __BFIN_PERIPHERAL_PORT_F__ 7 | 8 | #define PF0 (1 << 0) 9 | #define PF1 (1 << 1) 10 | #define PF2 (1 << 2) 11 | #define PF3 (1 << 3) 12 | #define PF4 (1 << 4) 13 | #define PF5 (1 << 5) 14 | #define PF6 (1 << 6) 15 | #define PF7 (1 << 7) 16 | #define PF8 (1 << 8) 17 | #define PF9 (1 << 9) 18 | #define PF10 (1 << 10) 19 | #define PF11 (1 << 11) 20 | #define PF12 (1 << 12) 21 | #define PF13 (1 << 13) 22 | #define PF14 (1 << 14) 23 | #define PF15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-g.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port G Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_G__ 6 | #define __BFIN_PERIPHERAL_PORT_G__ 7 | 8 | #define PG0 (1 << 0) 9 | #define PG1 (1 << 1) 10 | #define PG2 (1 << 2) 11 | #define PG3 (1 << 3) 12 | #define PG4 (1 << 4) 13 | #define PG5 (1 << 5) 14 | #define PG6 (1 << 6) 15 | #define PG7 (1 << 7) 16 | #define PG8 (1 << 8) 17 | #define PG9 (1 << 9) 18 | #define PG10 (1 << 10) 19 | #define PG11 (1 << 11) 20 | #define PG12 (1 << 12) 21 | #define PG13 (1 << 13) 22 | #define PG14 (1 << 14) 23 | #define PG15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-h.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port H Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_H__ 6 | #define __BFIN_PERIPHERAL_PORT_H__ 7 | 8 | #define PH0 (1 << 0) 9 | #define PH1 (1 << 1) 10 | #define PH2 (1 << 2) 11 | #define PH3 (1 << 3) 12 | #define PH4 (1 << 4) 13 | #define PH5 (1 << 5) 14 | #define PH6 (1 << 6) 15 | #define PH7 (1 << 7) 16 | #define PH8 (1 << 8) 17 | #define PH9 (1 << 9) 18 | #define PH10 (1 << 10) 19 | #define PH11 (1 << 11) 20 | #define PH12 (1 << 12) 21 | #define PH13 (1 << 13) 22 | #define PH14 (1 << 14) 23 | #define PH15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-i.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port I Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_I__ 6 | #define __BFIN_PERIPHERAL_PORT_I__ 7 | 8 | #define PI0 (1 << 0) 9 | #define PI1 (1 << 1) 10 | #define PI2 (1 << 2) 11 | #define PI3 (1 << 3) 12 | #define PI4 (1 << 4) 13 | #define PI5 (1 << 5) 14 | #define PI6 (1 << 6) 15 | #define PI7 (1 << 7) 16 | #define PI8 (1 << 8) 17 | #define PI9 (1 << 9) 18 | #define PI10 (1 << 10) 19 | #define PI11 (1 << 11) 20 | #define PI12 (1 << 12) 21 | #define PI13 (1 << 13) 22 | #define PI14 (1 << 14) 23 | #define PI15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/ports-j.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port J Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT_J__ 6 | #define __BFIN_PERIPHERAL_PORT_J__ 7 | 8 | #define PJ0 (1 << 0) 9 | #define PJ1 (1 << 1) 10 | #define PJ2 (1 << 2) 11 | #define PJ3 (1 << 3) 12 | #define PJ4 (1 << 4) 13 | #define PJ5 (1 << 5) 14 | #define PJ6 (1 << 6) 15 | #define PJ7 (1 << 7) 16 | #define PJ8 (1 << 8) 17 | #define PJ9 (1 << 9) 18 | #define PJ10 (1 << 10) 19 | #define PJ11 (1 << 11) 20 | #define PJ12 (1 << 12) 21 | #define PJ13 (1 << 13) 22 | #define PJ14 (1 << 14) 23 | #define PJ15 (1 << 15) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/asm-generic/unaligned.h: -------------------------------------------------------------------------------- 1 | #ifndef _GENERIC_UNALIGNED_H 2 | #define _GENERIC_UNALIGNED_H 3 | 4 | #include 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | /* 11 | * Select endianness 12 | */ 13 | #if defined(__LITTLE_ENDIAN) 14 | #define get_unaligned __get_unaligned_le 15 | #define put_unaligned __put_unaligned_le 16 | #elif defined(__BIG_ENDIAN) 17 | #define get_unaligned __get_unaligned_be 18 | #define put_unaligned __put_unaligned_be 19 | #else 20 | #error invalid endian 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /board/edb93xx/config.mk: -------------------------------------------------------------------------------- 1 | LDSCRIPT := $(SRCTREE)/cpu/arm920t/ep93xx/u-boot.lds 2 | 3 | ifdef CONFIG_EDB9301 4 | TEXT_BASE = 0x05700000 5 | endif 6 | 7 | ifdef CONFIG_EDB9302 8 | TEXT_BASE = 0x05700000 9 | endif 10 | 11 | ifdef CONFIG_EDB9302A 12 | TEXT_BASE = 0xc5700000 13 | endif 14 | 15 | ifdef CONFIG_EDB9307 16 | TEXT_BASE = 0x01f00000 17 | endif 18 | 19 | ifdef CONFIG_EDB9307A 20 | TEXT_BASE = 0xc1f00000 21 | endif 22 | 23 | ifdef CONFIG_EDB9312 24 | TEXT_BASE = 0x01f00000 25 | endif 26 | 27 | ifdef CONFIG_EDB9315 28 | TEXT_BASE = 0x01f00000 29 | endif 30 | 31 | ifdef CONFIG_EDB9315A 32 | TEXT_BASE = 0xc1f00000 33 | endif 34 | -------------------------------------------------------------------------------- /board/sbc2410x/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # SAMSUNG SMDK2410 board with S3C2410X (ARM920T) cpu 7 | # 8 | # see http://www.samsung.com/ for more information on SAMSUNG 9 | # 10 | 11 | # 12 | # SMDK2410 has 1 bank of 64 MB DRAM 13 | # 14 | # 3000'0000 to 3400'0000 15 | # 16 | # Linux-Kernel is expected to be at 3000'8000, entry 3000'8000 17 | # optionally with a ramdisk at 3080'0000 18 | # 19 | # we load ourself to 33F8'0000 20 | # 21 | # download area is 3300'0000 22 | 23 | TEXT_BASE = 0x33F80000 24 | -------------------------------------------------------------------------------- /board/MAI/AmigaOneG3SE/smbus.h: -------------------------------------------------------------------------------- 1 | #ifndef _SMBUS_H_ 2 | #define _SMBUS_H_ 3 | 4 | #include "short_types.h" 5 | 6 | #define SM_DIMM0_ADDR 0x51 7 | #define SM_DIMM1_ADDR 0x52 8 | 9 | void sm_write_mode(void); 10 | void sm_read_mode(void); 11 | void sm_write_byte(uint8 writeme); 12 | uint8 sm_read_byte(void); 13 | int sm_get_ack(void); 14 | void sm_write_ack(void); 15 | void sm_write_nack(void); 16 | void sm_send_start(void); 17 | void sm_send_stop(void); 18 | int sm_read_byte_from_device(uint8 addr, uint8 reg, uint8 *storage); 19 | int sm_get_data(uint8 *DataArray, int dimm_socket); 20 | void sm_init(void); 21 | void sm_term(void); 22 | #endif 23 | -------------------------------------------------------------------------------- /board/cogent/serial.h: -------------------------------------------------------------------------------- 1 | /* Line Status Register bits */ 2 | #define LSR_DR 0x01 /* Data ready */ 3 | #define LSR_OE 0x02 /* Overrun */ 4 | #define LSR_PE 0x04 /* Parity error */ 5 | #define LSR_FE 0x08 /* Framing error */ 6 | #define LSR_BI 0x10 /* Break */ 7 | #define LSR_THRE 0x20 /* Xmit holding register empty */ 8 | #define LSR_TEMT 0x40 /* Xmitter empty */ 9 | #define LSR_ERR 0x80 /* Error */ 10 | 11 | #define CLKRATE 3686400 /* cogent motherboard serial clk = 3.6864MHz */ 12 | #define DEFDIV 1 /* default to 230400 bps */ 13 | 14 | #define br_to_div(br) (CLKRATE / (16 * (br))) 15 | #define div_to_br(div) (CLKRATE / (16 * (div))) 16 | -------------------------------------------------------------------------------- /board/qemu-mips/README: -------------------------------------------------------------------------------- 1 | By Vlad Lungu vlad.lungu@windriver.com 2007-Oct-01 2 | ---------------------------------------- 3 | Qemu is a full system emulator. See 4 | 5 | http://www.nongnu.org/qemu/ 6 | 7 | Limitations & comments 8 | ---------------------- 9 | Supports the "-m mips" configuration of qemu: serial,NE2000,IDE. 10 | Support is big endian only for now (or at least this is what I tested). 11 | Derived from au1x00 with a lot of things cut out. 12 | 13 | Supports emulated flash (patch Jean-Christophe PLAGNIOL-VILLARD) with 14 | recent qemu versions. When using emulated flash, launch with 15 | -pflash and erase mips_bios.bin. 16 | -------------------------------------------------------------------------------- /include/keyboard.h: -------------------------------------------------------------------------------- 1 | #ifndef __KEYBOARD_H 2 | #define __KEYBOARD_H 3 | 4 | #ifdef CONFIG_PS2MULT 5 | #include 6 | #endif 7 | 8 | #if !defined(kbd_request_region) || \ 9 | !defined(kbd_request_irq) || \ 10 | !defined(kbd_read_input) || \ 11 | !defined(kbd_read_status) || \ 12 | !defined(kbd_write_output) || \ 13 | !defined(kbd_write_command) 14 | #error PS/2 low level routines not defined 15 | #endif 16 | 17 | extern int kbd_init (void); 18 | extern void handle_scancode(unsigned char scancode); 19 | extern int kbd_init_hw(void); 20 | extern void pckbd_leds(unsigned char leds); 21 | 22 | #endif /* __KEYBOARD_H */ 23 | -------------------------------------------------------------------------------- /board/bf538f-ezkit/bf538f-ezkit.c: -------------------------------------------------------------------------------- 1 | /* 2 | * U-boot - main board file 3 | * 4 | * Copyright (c) 2008 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | DECLARE_GLOBAL_DATA_PTR; 15 | 16 | int checkboard(void) 17 | { 18 | printf("Board: ADI BF538F EZ-Kit Lite board\n"); 19 | printf(" Support: http://blackfin.uclinux.org/\n"); 20 | return 0; 21 | } 22 | 23 | #ifdef CONFIG_SMC91111 24 | int board_eth_init(bd_t *bis) 25 | { 26 | return smc91111_initialize(0, CONFIG_SMC91111_BASE); 27 | } 28 | #endif 29 | -------------------------------------------------------------------------------- /doc/README.ns9750dev: -------------------------------------------------------------------------------- 1 | U-Boot Port to the NS9750 DevKit from NetSilicon 2 | 3 | 1 Overview 4 | 2 Board Configuration 5 | 3 Installation 6 | 7 | 8 | 1 Overview 9 | ---------- 10 | 11 | This port supports these NS9750 features. 12 | 13 | o one UART 14 | 15 | 2 Board Configuration 16 | --------------------- 17 | 18 | Switches: 19 | SW10: 4 20 | SW11: 6,7 21 | SW16: 6,7,8 22 | SW17-SW20: 1 23 | SW4: 3, 6 24 | SW 1: 1 25 | SW2: 4 26 | SW3: 3 27 | SW8: 3 (rotated by 180 degree!!!!) 28 | 29 | Serial Console is Port B (bottom right port) 30 | 31 | 3 Installation 32 | -------------- 33 | 34 | Have fun, 35 | -- 36 | Markus Pietrek 37 | -------------------------------------------------------------------------------- /board/samsung/smdk2410/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # SAMSUNG SMDK2410 board with S3C2410X (ARM920T) cpu 7 | # 8 | # see http://www.samsung.com/ for more information on SAMSUNG 9 | # 10 | 11 | # 12 | # SMDK2410 has 1 bank of 64 MB DRAM 13 | # 14 | # 3000'0000 to 3400'0000 15 | # 16 | # Linux-Kernel is expected to be at 3000'8000, entry 3000'8000 17 | # optionally with a ramdisk at 3080'0000 18 | # 19 | # we load ourself to 33F8'0000 20 | # 21 | # download area is 3300'0000 22 | # 23 | 24 | 25 | TEXT_BASE = 0x33F80000 26 | -------------------------------------------------------------------------------- /include/bcd.h: -------------------------------------------------------------------------------- 1 | /* Permission is hereby granted to copy, modify and redistribute this code 2 | * in terms of the GNU Library General Public License, Version 2 or later, 3 | * at your option. 4 | */ 5 | 6 | /* inline functions to translate to/from binary and binary-coded decimal 7 | * (frequently found in RTC chips). 8 | */ 9 | 10 | #ifndef _BCD_H 11 | #define _BCD_H 12 | 13 | #include 14 | 15 | static inline unsigned int bcd2bin(u8 val) 16 | { 17 | return ((val) & 0x0f) + ((val) >> 4) * 10; 18 | } 19 | 20 | static inline u8 bin2bcd (unsigned int val) 21 | { 22 | return (((val / 10) << 4) | (val % 10)); 23 | } 24 | 25 | #endif /* _BCD_H */ 26 | -------------------------------------------------------------------------------- /board/samsung/smdk2400/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # 5 | # SAMSUNG board with S3C2400X (ARM920T) CPU 6 | # 7 | # see http://www.samsung.com/ for more information on SAMSUNG 8 | # 9 | 10 | # 11 | # SAMSUNG has 1 bank of 32 MB DRAM 12 | # 13 | # 0C00'0000 to 0E00'0000 14 | # 15 | # Linux-Kernel is expected to be at 0cf0'0000, entry 0cf0'0000 16 | # optionally with a ramdisk at 0c80'0000 17 | # 18 | # we load ourself to 0CF80000 (must be high enough not to be 19 | # overwritten by the uncompessing Linux kernel) 20 | # 21 | # download area is 0C80'0000 22 | # 23 | 24 | 25 | TEXT_BASE = 0x0CF80000 26 | -------------------------------------------------------------------------------- /cpu/blackfin/os_log.c: -------------------------------------------------------------------------------- 1 | /* 2 | * functions for handling OS log buffer 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the 2-clause BSD. 7 | */ 8 | 9 | #include 10 | 11 | #define OS_LOG_MAGIC 0xDEADBEEF 12 | #define OS_LOG_MAGIC_ADDR ((unsigned long *)0x4f0) 13 | #define OS_LOG_PTR_ADDR ((char **)0x4f4) 14 | 15 | bool bfin_os_log_check(void) 16 | { 17 | if (*OS_LOG_MAGIC_ADDR != OS_LOG_MAGIC) 18 | return false; 19 | *OS_LOG_MAGIC_ADDR = 0; 20 | return true; 21 | } 22 | 23 | void bfin_os_log_dump(void) 24 | { 25 | char *log = *OS_LOG_PTR_ADDR; 26 | while (*log) { 27 | puts(log); 28 | log += strlen(log) + 1; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /board/trab/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # 5 | # TRAB board with S3C2400X (arm920t) cpu 6 | # 7 | # see http://www.samsung.com/ for more information on SAMSUNG 8 | # 9 | 10 | # 11 | # TRAB has 1 bank of 16 MB or 32 MB DRAM 12 | # 13 | # 0c00'0000 to 0e00'0000 14 | # 15 | # Linux-Kernel is expected to be at 0c00'8000, entry 0c00'8000 16 | # 17 | # we load ourself to 0CF0'0000 / 0DF0'0000 18 | # 19 | # download areas is 0C80'0000 20 | # 21 | 22 | sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp 23 | 24 | ifndef TEXT_BASE 25 | TEXT_BASE = 0x0DF40000 26 | endif 27 | 28 | LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds 29 | -------------------------------------------------------------------------------- /include/asm-ppc/fsl_serdes.h: -------------------------------------------------------------------------------- 1 | #ifndef __FSL_SERDES_H 2 | #define __FSL_SERDES_H 3 | 4 | #include 5 | 6 | #define FSL_SERDES_CLK_100 (0 << 28) 7 | #define FSL_SERDES_CLK_125 (1 << 28) 8 | #define FSL_SERDES_CLK_150 (3 << 28) 9 | #define FSL_SERDES_PROTO_SATA 0 10 | #define FSL_SERDES_PROTO_PEX 1 11 | #define FSL_SERDES_PROTO_PEX_X2 2 12 | #define FSL_SERDES_PROTO_SGMII 3 13 | #define FSL_SERDES_VDD_1V 1 14 | 15 | #ifdef CONFIG_FSL_SERDES 16 | extern void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd); 17 | #else 18 | static void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd) {} 19 | #endif /* CONFIG_FSL_SERDES */ 20 | 21 | #endif /* __FSL_SERDES_H */ 22 | -------------------------------------------------------------------------------- /include/bedbug/type.h: -------------------------------------------------------------------------------- 1 | #ifndef _TYPE_BEDBUG_H 2 | #define _TYPE_BEDBUG_H 3 | 4 | /* Supporting routines */ 5 | int bedbug_puts (const char *); 6 | void bedbug_init (void); 7 | void bedbug860_init (void); 8 | void do_bedbug_breakpoint (struct pt_regs *); 9 | void bedbug_main_loop (unsigned long, struct pt_regs *); 10 | 11 | 12 | typedef struct { 13 | int hw_debug_enabled; 14 | int stopped; 15 | int current_bp; 16 | struct pt_regs *regs; 17 | 18 | void (*do_break) (cmd_tbl_t *, int, int, char *[]); 19 | void (*break_isr) (struct pt_regs *); 20 | int (*find_empty) (void); 21 | int (*set) (int, unsigned long); 22 | int (*clear) (int); 23 | } CPU_DEBUG_CTX; 24 | 25 | 26 | #endif /* _TYPE_BEDBUG_H */ 27 | -------------------------------------------------------------------------------- /include/e500.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2003 Motorola,Inc. 3 | * Xianghua Xiao(x.xiao@motorola.com) 4 | */ 5 | 6 | #ifndef __E500_H__ 7 | #define __E500_H__ 8 | 9 | #ifndef __ASSEMBLY__ 10 | 11 | typedef struct 12 | { 13 | unsigned long freqProcessor[CONFIG_MAX_CPUS]; 14 | unsigned long freqSystemBus; 15 | unsigned long freqDDRBus; 16 | unsigned long freqLocalBus; 17 | unsigned long freqQE; 18 | #ifdef CONFIG_SYS_DPAA_FMAN 19 | unsigned long freqFMan[CONFIG_SYS_NUM_FMAN]; 20 | #endif 21 | #ifdef CONFIG_SYS_DPAA_PME 22 | unsigned long freqPME; 23 | #endif 24 | } MPC85xx_SYS_INFO; 25 | 26 | #endif /* _ASMLANGUAGE */ 27 | 28 | #define RESET_VECTOR 0xfffffffc 29 | 30 | #endif /* __E500_H__ */ 31 | -------------------------------------------------------------------------------- /include/u-boot/u-boot.lds.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Linker script helper macros 3 | * 4 | * Copyright (c) 2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #ifndef __U_BOOT_LDS__ 10 | #define __U_BOOT_LDS__ 11 | 12 | /* See if the linker version is at least the specified version */ 13 | #define LD_AT_LEAST(major, minor) \ 14 | ((major > LD_MAJOR) || (major == LD_MAJOR && minor <= LD_MINOR)) 15 | 16 | /* 17 | * Linker versions prior to 2.16 don't understand the builtin 18 | * functions SORT_BY_ALIGNMENT() and SORT_BY_NAME(), so disable these 19 | */ 20 | #if !LD_AT_LEAST(2, 16) 21 | # define SORT_BY_ALIGNMENT(x) x 22 | # define SORT_BY_NAME(x) x 23 | #endif 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /board/a3000/README: -------------------------------------------------------------------------------- 1 | U-Boot for Artis SBC-A3000 2 | --------------------------- 3 | 4 | Artis SBC-A3000 has one flash socket that the user uses Intel 28F128J3A (16MB) 5 | or 28F064J3A (8MB) chips. 6 | 7 | In board's notation, bank 0 is the one at the address of 0xFF000000. 8 | bank 1 is the one at the address of 0xFF800000 9 | 10 | On power-up the processor jumps to the address of 0xFFF00100, the last 11 | megabyte of the bank 0 of flash. 12 | 13 | Thus, U-Boot is configured to reside in flash starting at the address of 14 | 0xFFF00000. The environment space is located in flash separately from 15 | U-Boot, at the address of 0xFFFE0000. 16 | 17 | There is a National ns83815 10/100M ethernet controller on-board. 18 | -------------------------------------------------------------------------------- /board/ti/omap1510inn/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # (C) Copyright 2003 7 | # Texas Instruments, 8 | # Kshitij Gupta 9 | # 10 | # TI Innovator board with OMAP1510 (ARM925T) cpu 11 | # see http://www.ti.com/ for more information on Texas Insturments 12 | # 13 | # Innovator has 1 bank of 256 MB SDRAM 14 | # Physical Address: 15 | # 1000'0000 to 2000'0000 16 | # 17 | # 18 | # Linux-Kernel is expected to be at 1000'8000, entry 1000'8000 (mem base + reserved) 19 | # 20 | # we load ourself to 1108'0000 21 | # 22 | # 23 | 24 | 25 | TEXT_BASE = 0x11080000 26 | -------------------------------------------------------------------------------- /board/ti/omap730p2/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # (C) Copyright 2003 7 | # Texas Instruments, 8 | # Kshitij Gupta 9 | # 10 | # TI Perseus 2 board with OMAP720 (ARM925EJS) cpu 11 | # see http://www.ti.com/ for more information on Texas Instruments 12 | # 13 | # Innovator has 1 bank of 256 MB SDRAM 14 | # Physical Address: 15 | # 1000'0000 to 2000'0000 16 | # 17 | # 18 | # Linux-Kernel is expected to be at 1000'8000, entry 1000'8000 19 | # (mem base + reserved) 20 | # 21 | # we load ourself to 1108'0000 22 | # 23 | # 24 | 25 | TEXT_BASE = 0x11080000 26 | -------------------------------------------------------------------------------- /doc/README.commands.itest: -------------------------------------------------------------------------------- 1 | A slow day today so here is a revised itest command with provisional 2 | support for comparing strings as well :-)) 3 | 4 | Now table driven to allow the operators 5 | -eq, -ne, -lt, -gt, -le, -ge, ==, !=, <>, <, >, <=, >= 6 | 7 | Uses the expected command modifier for integer compares of width 1, 2 or 8 | 4 bytes of .b, .w, .l and the new modifer of .s for a string compare. 9 | String comparison is over the length of the shorter, this hopefully 10 | avoids missing terminators when using an indirect pointer. 11 | 12 | eg. 13 | if itest.l *40000 == 12345678 then; .... 14 | if itest.w *40000 != 1234 then; .... 15 | if itest.b *40000 >= 12 then; .... 16 | if itest.s *40000 -eq hello then; .... 17 | -------------------------------------------------------------------------------- /lib_generic/lzma/import_lzmasdk.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | usage() { 4 | echo "Usage: $0 lzmaVERSION.tar.bz2" >&2 5 | echo >&2 6 | exit 1 7 | } 8 | 9 | if [ "$1" = "" ] ; then 10 | usage 11 | fi 12 | 13 | if [ ! -f $1 ] ; then 14 | echo "$1 doesn't exist!" >&2 15 | exit 1 16 | fi 17 | 18 | BASENAME=`basename $1 .tar.bz2` 19 | TMPDIR=/tmp/tmp_lib_$BASENAME 20 | FILES="C/LzmaDec.h 21 | C/Types.h 22 | C/LzmaDec.c 23 | history.txt 24 | lzma.txt" 25 | 26 | mkdir -p $TMPDIR 27 | echo "Untar $1 -> $TMPDIR" 28 | tar -jxf $1 -C $TMPDIR 29 | 30 | for i in $FILES; do 31 | echo Copying $TMPDIR/$i \-\> `basename $i` 32 | cp $TMPDIR/$i . 33 | chmod -x `basename $i` 34 | done 35 | 36 | echo "done!" 37 | -------------------------------------------------------------------------------- /board/ti/omap1610inn/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # (C) Copyright 2003 7 | # Texas Instruments, 8 | # Kshitij Gupta 9 | # 10 | # TI Innovator board with OMAP1610 (ARM925EJS) cpu 11 | # see http://www.ti.com/ for more information on Texas Instruments 12 | # 13 | # Innovator has 1 bank of 256 MB SDRAM 14 | # Physical Address: 15 | # 1000'0000 to 2000'0000 16 | # 17 | # 18 | # Linux-Kernel is expected to be at 1000'8000, entry 1000'8000 19 | # (mem base + reserved) 20 | # 21 | # we load ourself to 1108'0000 22 | # 23 | # 24 | 25 | 26 | TEXT_BASE = 0x11080000 27 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf537/ports.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Port Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_PORT__ 6 | #define __BFIN_PERIPHERAL_PORT__ 7 | 8 | /* PORT_MUX Masks */ 9 | #define PJSE 0x0001 10 | #define PJCE_MASK 0x0006 11 | #define PJCE_SPORT 0x0000 12 | #define PJCE_CAN 0x0001 13 | #define PJCE_SPI 0x0002 14 | #define PFDE 0x0008 15 | #define PFTE 0x0010 16 | #define PFS6E 0x0020 17 | #define PFS5E 0x0040 18 | #define PFS4E 0x0080 19 | #define PFFE 0x0100 20 | #define PGSE 0x0200 21 | #define PGRE 0x0400 22 | #define PGTE 0x0800 23 | 24 | #include "../mach-common/bits/ports-f.h" 25 | #include "../mach-common/bits/ports-g.h" 26 | #include "../mach-common/bits/ports-h.h" 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-common/bits/watchdog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Watchdog Masks 3 | */ 4 | 5 | #ifndef __BFIN_PERIPHERAL_WATCHDOG__ 6 | #define __BFIN_PERIPHERAL_WATCHDOG__ 7 | 8 | /* Watchdog Timer WDOG_CTL Register Masks */ 9 | 10 | #define WDEV 0x0006 /* event generated on roll over */ 11 | #define WDEV_RESET 0x0000 /* generate reset event on roll over */ 12 | #define WDEV_NMI 0x0002 /* generate NMI event on roll over */ 13 | #define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */ 14 | #define WDEV_NONE 0x0006 /* no event on roll over */ 15 | #define WDEN 0x0FF0 /* enable watchdog */ 16 | #define WDDIS 0x0AD0 /* disable watchdog */ 17 | #define WDRO 0x8000 /* watchdog rolled over latch */ 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /fs/yaffs2/yaffsinterface.h: -------------------------------------------------------------------------------- 1 | /* 2 | * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 3 | * 4 | * Copyright (C) 2002-2007 Aleph One Ltd. 5 | * for Toby Churchill Ltd and Brightstar Engineering 6 | * 7 | * Created by Charles Manning 8 | * 9 | * This program is free software; you can redistribute it and/or modify 10 | * it under the terms of the GNU Lesser General Public License version 2.1 as 11 | * published by the Free Software Foundation. 12 | * 13 | * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. 14 | */ 15 | 16 | #ifndef __YAFFSINTERFACE_H__ 17 | #define __YAFFSINTERFACE_H__ 18 | 19 | int yaffs_Initialise(unsigned nBlocks); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /nand_spl/board/freescale/mx31pdk/u-boot.lds: -------------------------------------------------------------------------------- 1 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 2 | OUTPUT_ARCH(arm) 3 | ENTRY(_start) 4 | SECTIONS 5 | { 6 | . = 0x00000000; 7 | 8 | . = ALIGN(4); 9 | .text : 10 | { 11 | start.o (.text) 12 | lowlevel_init.o (.text) 13 | nand_boot_fsl_nfc.o (.text) 14 | *(.text) 15 | . = 2K; 16 | } 17 | 18 | . = ALIGN(4); 19 | .rodata : { *(.rodata) } 20 | 21 | . = ALIGN(4); 22 | .data : { *(.data) } 23 | 24 | . = ALIGN(4); 25 | .got : { *(.got) } 26 | 27 | . = .; 28 | __u_boot_cmd_start = .; 29 | .u_boot_cmd : { *(.u_boot_cmd) } 30 | __u_boot_cmd_end = .; 31 | 32 | . = ALIGN(4); 33 | __bss_start = .; 34 | .bss : { *(.bss) } 35 | _end = .; 36 | } 37 | -------------------------------------------------------------------------------- /include/asm-blackfin/mem_map.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Common Blackfin memory map 3 | * 4 | * Copyright 2004-2009 Analog Devices Inc. 5 | * Licensed under the GPL-2 or later. 6 | */ 7 | 8 | #ifndef __BFIN_MEM_MAP_H__ 9 | #define __BFIN_MEM_MAP_H__ 10 | 11 | /* Every Blackfin so far has MMRs like this */ 12 | #ifndef COREMMR_BASE 13 | # define COREMMR_BASE 0xFFE00000 14 | #endif 15 | #ifndef SYSMMR_BASE 16 | # define SYSMMR_BASE 0xFFC00000 17 | #endif 18 | 19 | /* Every Blackfin so far has on-chip Scratch Pad SRAM like this */ 20 | #ifndef L1_SRAM_SCRATCH 21 | # define L1_SRAM_SCRATCH 0xFFB00000 22 | # define L1_SRAM_SCRATCH_SIZE 0x1000 23 | # define L1_SRAM_SCRATCH_END (L1_SRAM_SCRATCH + L1_SRAM_SCRATCH_SIZE) 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /include/asm-mips/isadep.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Various ISA level dependent constants. 3 | * Most of the following constants reflect the different layout 4 | * of Coprocessor 0 registers. 5 | * 6 | * Copyright (c) 1998 Harald Koerfgen 7 | */ 8 | 9 | #ifndef __ASM_ISADEP_H 10 | #define __ASM_ISADEP_H 11 | 12 | #if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX) 13 | /* 14 | * R2000 or R3000 15 | */ 16 | 17 | /* 18 | * kernel or user mode? (CP0_STATUS) 19 | */ 20 | #define KU_MASK 0x08 21 | #define KU_USER 0x08 22 | #define KU_KERN 0x00 23 | 24 | #else 25 | /* 26 | * kernel or user mode? 27 | */ 28 | #define KU_MASK 0x18 29 | #define KU_USER 0x10 30 | #define KU_KERN 0x00 31 | 32 | #endif 33 | 34 | #endif /* __ASM_ISADEP_H */ 35 | -------------------------------------------------------------------------------- /board/ep8260/ep8260.h: -------------------------------------------------------------------------------- 1 | #ifndef __EP8260_H__ 2 | #define __EP8260_H__ 3 | 4 | typedef struct tt_ep_regs { 5 | volatile unsigned char bcsr0; 6 | volatile unsigned char bcsr1; 7 | volatile unsigned char bcsr2; 8 | volatile unsigned char bcsr3; 9 | volatile unsigned char bcsr4; 10 | volatile unsigned char bcsr5; 11 | volatile unsigned char bcsr6; 12 | volatile unsigned char bcsr7; 13 | volatile unsigned char bcsr8; 14 | volatile unsigned char bcsr9; 15 | volatile unsigned char bcsr10; 16 | volatile unsigned char bcsr11; 17 | volatile unsigned char bcsr12; 18 | volatile unsigned char bcsr13; 19 | volatile unsigned char bcsr14; 20 | volatile unsigned char bcsr15; 21 | } t_ep_regs; 22 | typedef t_ep_regs *tp_ep_regs; 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cpu/mpc8xxx/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2009 Freescale Semiconductor, Inc. 3 | # 4 | # This program is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU General Public License 6 | # Version 2 as published by the Free Software Foundation. 7 | # 8 | 9 | include $(TOPDIR)/config.mk 10 | 11 | LIB = $(obj)lib8xxx.a 12 | 13 | COBJS-y += cpu.o 14 | COBJS-$(CONFIG_OF_LIBFDT) += fdt.o 15 | COBJS-$(CONFIG_PCI) += pci_cfg.o 16 | 17 | SRCS := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 18 | OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) 19 | 20 | all: $(obj).depend $(LIB) 21 | 22 | $(LIB): $(OBJS) 23 | $(AR) $(ARFLAGS) $@ $(OBJS) 24 | 25 | include $(SRCTREE)/rules.mk 26 | 27 | sinclude $(obj).depend 28 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf527/mem_map.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Common Blackfin memory map 3 | * 4 | * Copyright 2004-2009 Analog Devices Inc. 5 | * Licensed under the GPL-2 or later. 6 | */ 7 | 8 | #ifndef __BF52X_MEM_MAP_H__ 9 | #define __BF52X_MEM_MAP_H__ 10 | 11 | #define L1_DATA_A_SRAM (0xFF800000) 12 | #define L1_DATA_A_SRAM_SIZE (0x4000) 13 | #define L1_DATA_A_SRAM_END (L1_DATA_A_SRAM + L1_DATA_A_SRAM_SIZE) 14 | #define L1_DATA_B_SRAM (0xFF900000) 15 | #define L1_DATA_B_SRAM_SIZE (0x4000) 16 | #define L1_DATA_B_SRAM_END (L1_DATA_B_SRAM + L1_DATA_B_SRAM_SIZE) 17 | #define L1_INST_SRAM (0xFFA00000) 18 | #define L1_INST_SRAM_SIZE (0xC000) 19 | #define L1_INST_SRAM_END (L1_INST_SRAM + L1_INST_SRAM_SIZE) 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /include/asm-blackfin/mach-bf548/mem_map.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Common Blackfin memory map 3 | * 4 | * Copyright 2004-2009 Analog Devices Inc. 5 | * Licensed under the GPL-2 or later. 6 | */ 7 | 8 | #ifndef __BF54X_MEM_MAP_H__ 9 | #define __BF54X_MEM_MAP_H__ 10 | 11 | #define L1_DATA_A_SRAM (0xFF800000) 12 | #define L1_DATA_A_SRAM_SIZE (0x4000) 13 | #define L1_DATA_A_SRAM_END (L1_DATA_A_SRAM + L1_DATA_A_SRAM_SIZE) 14 | #define L1_DATA_B_SRAM (0xFF900000) 15 | #define L1_DATA_B_SRAM_SIZE (0x4000) 16 | #define L1_DATA_B_SRAM_END (L1_DATA_B_SRAM + L1_DATA_B_SRAM_SIZE) 17 | #define L1_INST_SRAM (0xFFA00000) 18 | #define L1_INST_SRAM_SIZE (0xC000) 19 | #define L1_INST_SRAM_END (L1_INST_SRAM + L1_INST_SRAM_SIZE) 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /board/MAI/AmigaOneG3SE/via686.h: -------------------------------------------------------------------------------- 1 | #ifndef VIA686_H_ 2 | #define VIA686_H_ 3 | 4 | 5 | #define CMOS_ADDR 0x70 6 | #define CMOS_DATA 0x71 7 | 8 | #define I8259_MASTER_CONTROL 0x20 9 | #define I8259_MASTER_MASK 0x21 10 | 11 | #define I8259_SLAVE_CONTROL 0xA0 12 | #define I8259_SLAVE_MASK 0xA1 13 | 14 | #define SIO_CONFIG_ADDR 0x3F0 15 | #define SIO_CONFIG_DATA 0x3F1 16 | 17 | #define SIO_WRITE_CONFIG(addr, byte) \ 18 | out_byte(SIO_CONFIG_ADDR, addr); \ 19 | out_byte(SIO_CONFIG_DATA, byte); 20 | 21 | #define SIO_READ_CONFIG(addr, byte) \ 22 | out_byte(SIO_CONFIG_ADDR, addr); \ 23 | byte = in_byte(SIO_CONFIG_DATA); 24 | 25 | void via_init(void); 26 | 27 | void via_calibrate_bus_freq(void); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /fs/ubifs/crc16.h: -------------------------------------------------------------------------------- 1 | /* 2 | * crc16.h - CRC-16 routine 3 | * 4 | * Implements the standard CRC-16: 5 | * Width 16 6 | * Poly 0x8005 (x^16 + x^15 + x^2 + 1) 7 | * Init 0 8 | * 9 | * Copyright (c) 2005 Ben Gardner 10 | * 11 | * This source code is licensed under the GNU General Public License, 12 | * Version 2. See the file COPYING for more details. 13 | */ 14 | 15 | #ifndef __CRC16_H 16 | #define __CRC16_H 17 | 18 | #include 19 | 20 | extern u16 const crc16_table[256]; 21 | 22 | extern u16 crc16(u16 crc, const u8 *buffer, size_t len); 23 | 24 | static inline u16 crc16_byte(u16 crc, const u8 data) 25 | { 26 | return (crc >> 8) ^ crc16_table[(crc ^ data) & 0xff]; 27 | } 28 | 29 | #endif /* __CRC16_H */ 30 | -------------------------------------------------------------------------------- /include/asm-nios/string.h: -------------------------------------------------------------------------------- 1 | #ifndef __ASM_NIOS_STRING_H 2 | #define __ASM_NIOS_STRING_H 3 | 4 | #undef __HAVE_ARCH_STRRCHR 5 | extern char * strrchr(const char * s, int c); 6 | 7 | #undef __HAVE_ARCH_STRCHR 8 | extern char * strchr(const char * s, int c); 9 | 10 | #undef __HAVE_ARCH_MEMCPY 11 | extern void * memcpy(void *, const void *, __kernel_size_t); 12 | 13 | #undef __HAVE_ARCH_MEMMOVE 14 | extern void * memmove(void *, const void *, __kernel_size_t); 15 | 16 | #undef __HAVE_ARCH_MEMCHR 17 | extern void * memchr(const void *, int, __kernel_size_t); 18 | 19 | #undef __HAVE_ARCH_MEMSET 20 | extern void * memset(void *, int, __kernel_size_t); 21 | 22 | #undef __HAVE_ARCH_MEMZERO 23 | extern void memzero(void *ptr, __kernel_size_t n); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /board/MAI/AmigaOneG3SE/flash.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 5 | 6 | 7 | unsigned long flash_init(void) 8 | { 9 | int i; 10 | 11 | for (i = 0; i < CONFIG_SYS_MAX_FLASH_BANKS; i++) 12 | { 13 | flash_info[i].flash_id = FLASH_UNKNOWN; 14 | flash_info[i].sector_count = 0; 15 | flash_info[i].size = 0; 16 | } 17 | 18 | 19 | return 1; 20 | } 21 | 22 | int flash_erase(flash_info_t *info, int s_first, int s_last) 23 | { 24 | return 1; 25 | } 26 | 27 | void flash_print_info(flash_info_t *info) 28 | { 29 | printf("No flashrom installed\n"); 30 | } 31 | 32 | int write_buff (flash_info_t *info, uchar *src, ulong addr, ulong cnt) 33 | { 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /doc/README.atum8548: -------------------------------------------------------------------------------- 1 | Building U-Boot 2 | --------------- 3 | 4 | The ATUM8548 code is known to build using ELDK 4.1. 5 | 6 | $ make ATUM8548_config 7 | Configuring for ATUM8548 board... 8 | $ make 9 | 10 | Using Flash 11 | ----------- 12 | 13 | The ATUM8548 board has one flash bank, of 128MB in size (2^23 = 0x08000000). 14 | 15 | The BDI2000 commands for copying u-boot into flash are 16 | as follows: 17 | 18 | erase 0xFFF80000 0x4000 0x20 19 | prog 0xfff80000 uboot.bin bin 20 | 21 | Booting Linux 22 | ------------- 23 | 24 | U-boot/kermit commands for booting linux via NFS - assumming the proper 25 | bootargs are set - are as follows: 26 | 27 | tftp 1000000 uImage.atum 28 | tftp c00000 mpc8548atum.dtb 29 | bootm 1000000 - c00000 30 | -------------------------------------------------------------------------------- /tools/bddb/execute.php: -------------------------------------------------------------------------------- 1 | ?> 2 | 5 | // CSIRO Manufacturing Science and Technology, Preston Lab 6 | 7 | $serno=isset($_REQUEST['serno'])?$_REQUEST['serno']:''; 8 | 9 | $submit=isset($_REQUEST['submit'])?$_REQUEST['submit']:"[NOT SET]"; 10 | 11 | switch ($submit) { 12 | 13 | case "New": 14 | require("new.php"); 15 | break; 16 | 17 | case "Edit": 18 | require("edit.php"); 19 | break; 20 | 21 | case "Browse": 22 | require("browse.php"); 23 | break; 24 | 25 | case "Log": 26 | require("brlog.php"); 27 | break; 28 | 29 | default: 30 | require("badsubmit.php"); 31 | break; 32 | } 33 | ?> 34 | -------------------------------------------------------------------------------- /board/genietv/genietv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * The GENIETV is using the following physical memorymap (copied from 3 | * the FADS configuration): 4 | * 5 | * ff020000 -> ff02ffff : pcmcia 6 | * ff010000 -> ff01ffff : BCSR connected to CS1, setup by 8xxROM 7 | * ff000000 -> ff00ffff : IMAP internal in the cpu 8 | * 02800000 -> 0287ffff : flash connected to CS0 9 | * 00000000 -> nnnnnnnn : sdram setup by U-Boot 10 | * 11 | * CS pins are connected as follows: 12 | * 13 | * CS0 -512Kb boot flash 14 | * CS1 - SDRAM #1 15 | * CS2 - SDRAM #2 16 | * CS3 - Flash #1 17 | * CS4 - Flash #2 18 | * CS5 - LON (if present) 19 | * CS6 - PCMCIA #1 20 | * CS7 - PCMCIA #2 21 | * 22 | * Ports are configured as follows: 23 | * 24 | * PA7 - SDRAM banks enable 25 | */ 26 | -------------------------------------------------------------------------------- /include/asm-ppc/mc146818rtc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Machine dependent access functions for RTC registers. 3 | */ 4 | #ifndef __ASM_PPC_MC146818RTC_H 5 | #define __ASM_PPC_MC146818RTC_H 6 | 7 | #include 8 | 9 | #ifndef RTC_PORT 10 | #define RTC_PORT(x) (0x70 + (x)) 11 | #define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ 12 | #endif 13 | 14 | /* 15 | * The yet supported machines all access the RTC index register via 16 | * an ISA port access but the way to access the date register differs ... 17 | */ 18 | #define CMOS_READ(addr) ({ \ 19 | outb_p((addr),RTC_PORT(0)); \ 20 | inb_p(RTC_PORT(1)); \ 21 | }) 22 | #define CMOS_WRITE(val, addr) ({ \ 23 | outb_p((addr),RTC_PORT(0)); \ 24 | outb_p((val),RTC_PORT(1)); \ 25 | }) 26 | 27 | #endif /* __ASM_PPC_MC146818RTC_H */ 28 | -------------------------------------------------------------------------------- /tools/bddb/badsubmit.php: -------------------------------------------------------------------------------- 1 | ?> 2 | 5 | // CSIRO Manufacturing Science and Technology, Preston Lab 6 | 7 | require("defs.php"); 8 | pg_head("$bddb_label - Unknown Submit Type"); 9 | ?> 10 |
11 | 12 | 13 | The form was submitted with an 14 | unknown SUBMIT type . 15 |

16 | Perhaps you typed the URL in directly? Click here to go to the 17 | home page of the . 18 |
19 |
20 |
21 | 24 | -------------------------------------------------------------------------------- /include/asm-arm/ptrace.h: -------------------------------------------------------------------------------- 1 | #ifndef __ASM_ARM_PTRACE_H 2 | #define __ASM_ARM_PTRACE_H 3 | 4 | #define PTRACE_GETREGS 12 5 | #define PTRACE_SETREGS 13 6 | #define PTRACE_GETFPREGS 14 7 | #define PTRACE_SETFPREGS 15 8 | 9 | #define PTRACE_SETOPTIONS 21 10 | 11 | /* options set using PTRACE_SETOPTIONS */ 12 | #define PTRACE_O_TRACESYSGOOD 0x00000001 13 | 14 | #include 15 | 16 | #ifndef __ASSEMBLY__ 17 | #define pc_pointer(v) \ 18 | ((v) & ~PCMASK) 19 | 20 | #define instruction_pointer(regs) \ 21 | (pc_pointer((regs)->ARM_pc)) 22 | 23 | #ifdef __KERNEL__ 24 | extern void show_regs(struct pt_regs *); 25 | 26 | #define predicate(x) (x & 0xf0000000) 27 | #define PREDICATE_ALWAYS 0xe0000000 28 | 29 | #endif 30 | 31 | #endif /* __ASSEMBLY__ */ 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /common/cmd_df.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Command for accessing DataFlash. 3 | * 4 | * Copyright (C) 2008 Atmel Corporation 5 | */ 6 | #include 7 | #include 8 | 9 | static int do_df(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) 10 | { 11 | const char *cmd; 12 | 13 | /* need at least two arguments */ 14 | if (argc < 2) 15 | goto usage; 16 | 17 | cmd = argv[1]; 18 | 19 | if (strcmp(cmd, "init") == 0) { 20 | df_init(0, 0, 1000000); 21 | return 0; 22 | } 23 | 24 | if (strcmp(cmd, "info") == 0) { 25 | df_show_info(); 26 | return 0; 27 | } 28 | 29 | usage: 30 | cmd_usage(cmdtp); 31 | return 1; 32 | } 33 | 34 | U_BOOT_CMD( 35 | sf, 2, 1, do_serial_flash, 36 | "Serial flash sub-system", 37 | "probe [bus:]cs - init flash device on given SPI bus and CS") 38 | -------------------------------------------------------------------------------- /fs/yaffs2/yaffs_malloc.h: -------------------------------------------------------------------------------- 1 | #ifndef __YAFFS_MALLOC_H__ 2 | /* 3 | * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 4 | * 5 | * Copyright (C) 2002-2007 Aleph One Ltd. 6 | * for Toby Churchill Ltd and Brightstar Engineering 7 | * 8 | * Created by Charles Manning 9 | * 10 | * This program is free software; you can redistribute it and/or modify 11 | * it under the terms of the GNU Lesser General Public License version 2.1 as 12 | * published by the Free Software Foundation. 13 | * 14 | * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. 15 | */ 16 | 17 | /* XXX U-BOOT XXX */ 18 | #if 0 19 | #include 20 | #endif 21 | 22 | void *yaffs_malloc(size_t size); 23 | void yaffs_free(void *ptr); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /include/dm9000.h: -------------------------------------------------------------------------------- 1 | /* 2 | * NOTE: DAVICOM DM9000 ethernet driver interface 3 | * 4 | * Authors: Remy Bohmer 5 | * 6 | * This program is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU General Public License 8 | * as published by the Free Software Foundation; either version 9 | * 2 of the License, or (at your option) any later version. 10 | */ 11 | #ifndef __DM9000_H__ 12 | #define __DM9000_H__ 13 | 14 | /****************** function prototypes **********************/ 15 | #if !defined(CONFIG_DM9000_NO_SROM) 16 | void dm9000_write_srom_word(int offset, u16 val); 17 | void dm9000_read_srom_word(int offset, u8 *to); 18 | #endif 19 | 20 | #endif /* __DM9000_H__ */ 21 | -------------------------------------------------------------------------------- /doc/README.SNTP: -------------------------------------------------------------------------------- 1 | To use SNTP support, add define CONFIG_CMD_SNTP to the 2 | configuration file of the board. 3 | 4 | The "sntp" command gets network time from NTP time server and 5 | syncronize RTC of the board. This command needs the command line 6 | parameter of server's IP address or environment variable 7 | "ntpserverip". The network time is sent as UTC. So if you want to 8 | set local time to RTC, set the offset in second from UTC to the 9 | enviroment variable "time offset". 10 | 11 | If the DHCP server provides time server's IP or time offset, you 12 | don't need to set the above environment variables yourself. 13 | 14 | Current limitations of SNTP support: 15 | 1. The roundtrip time is ignored. 16 | 2. Only the 1st NTP server IP, in the option ntp-servers of DHCP, will 17 | be used. 18 | -------------------------------------------------------------------------------- /doc/uImage.FIT/kernel.its: -------------------------------------------------------------------------------- 1 | /* 2 | * Simple U-boot uImage source file containing a single kernel 3 | */ 4 | 5 | /dts-v1/; 6 | 7 | / { 8 | description = "Simple image with single Linux kernel"; 9 | #address-cells = <1>; 10 | 11 | images { 12 | kernel@1 { 13 | description = "Vanilla Linux kernel"; 14 | data = /incbin/("./vmlinux.bin.gz"); 15 | type = "kernel"; 16 | arch = "ppc"; 17 | os = "linux"; 18 | compression = "gzip"; 19 | load = <00000000>; 20 | entry = <00000000>; 21 | hash@1 { 22 | algo = "crc32"; 23 | }; 24 | hash@2 { 25 | algo = "sha1"; 26 | }; 27 | }; 28 | }; 29 | 30 | configurations { 31 | default = "config@1"; 32 | config@1 { 33 | description = "Boot Linux kernel"; 34 | kernel = "kernel@1"; 35 | }; 36 | }; 37 | }; 38 | -------------------------------------------------------------------------------- /board/digsy_mtc/Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # Author: Grzegorz Bernacki, Semihalf, gjb@semihalf.com 4 | # 5 | 6 | include $(TOPDIR)/config.mk 7 | 8 | LIB = $(obj)lib$(BOARD).a 9 | 10 | COBJS := $(BOARD).o cmd_mtc.o 11 | 12 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 13 | OBJS := $(addprefix $(obj),$(COBJS)) 14 | SOBJS := $(addprefix $(obj),$(SOBJS)) 15 | 16 | $(LIB): $(obj).depend $(OBJS) 17 | $(AR) $(ARFLAGS) $@ $(OBJS) 18 | 19 | clean: 20 | rm -f $(SOBJS) $(OBJS) 21 | 22 | distclean: clean 23 | rm -f $(LIB) core *.bak .depend 24 | 25 | ######################################################################### 26 | 27 | # defines $(obj).depend target 28 | include $(SRCTREE)/rules.mk 29 | 30 | sinclude $(obj).depend 31 | 32 | ######################################################################### 33 | -------------------------------------------------------------------------------- /board/qemu-mips/lowlevel_init.S: -------------------------------------------------------------------------------- 1 | /* Memory sub-system initialization code */ 2 | 3 | #include 4 | #include 5 | #include 6 | 7 | .text 8 | .set noreorder 9 | .set mips32 10 | 11 | .globl lowlevel_init 12 | lowlevel_init: 13 | 14 | /* 15 | * Step 2) Establish Status Register 16 | * (set BEV, clear ERL, clear EXL, clear IE) 17 | */ 18 | li t1, 0x00400000 19 | mtc0 t1, CP0_STATUS 20 | 21 | /* 22 | * Step 3) Establish CP0 Config0 23 | * (set K0=3) 24 | */ 25 | li t1, 0x00000003 26 | mtc0 t1, CP0_CONFIG 27 | 28 | /* 29 | * Step 7) Establish Cause 30 | * (set IV bit) 31 | */ 32 | li t1, 0x00800000 33 | mtc0 t1, CP0_CAUSE 34 | 35 | /* Establish Wired (and Random) */ 36 | mtc0 zero, CP0_WIRED 37 | nop 38 | 39 | jr ra 40 | nop 41 | -------------------------------------------------------------------------------- /board/rpxsuper/rpxsuper.h: -------------------------------------------------------------------------------- 1 | #ifndef __RPX8260_H__ 2 | #define __RPX8260_H__ 3 | 4 | typedef struct tt_rpx_regs 5 | { 6 | volatile unsigned char bcsr0; 7 | volatile unsigned char bcsr1; 8 | volatile unsigned char bcsr2; 9 | volatile unsigned char bcsr3; 10 | volatile unsigned char bcsr4; 11 | volatile unsigned char bcsr5; 12 | volatile unsigned char bcsr6; 13 | volatile unsigned char bcsr7; 14 | volatile unsigned char bcsr8; 15 | volatile unsigned char bcsr9; 16 | volatile unsigned char bcsr10; 17 | volatile unsigned char bcsr11; 18 | volatile unsigned char bcsr12; 19 | volatile unsigned char bcsr13; 20 | volatile unsigned char bcsr14; 21 | volatile unsigned char bcsr15; 22 | } t_rpx_regs; 23 | typedef t_rpx_regs* tp_rpx_regs; 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /fs/yaffs2/yaffs_qsort.h: -------------------------------------------------------------------------------- 1 | /* 2 | * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 3 | * 4 | * Copyright (C) 2002-2007 Aleph One Ltd. 5 | * for Toby Churchill Ltd and Brightstar Engineering 6 | * 7 | * Created by Charles Manning 8 | * 9 | * This program is free software; you can redistribute it and/or modify 10 | * it under the terms of the GNU Lesser General Public License version 2.1 as 11 | * published by the Free Software Foundation. 12 | * 13 | * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. 14 | */ 15 | 16 | 17 | #ifndef __YAFFS_QSORT_H__ 18 | #define __YAFFS_QSORT_H__ 19 | 20 | extern void yaffs_qsort (void *const base, size_t total_elems, size_t size, 21 | int (*cmp)(const void *, const void *)); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /include/asm-blackfin/net.h: -------------------------------------------------------------------------------- 1 | /* 2 | * net.h - misc Blackfin network helpers 3 | * 4 | * Copyright (c) 2008-2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #ifndef __ASM_BFIN_RAND_MAC__ 10 | #define __ASM_BFIN_RAND_MAC__ 11 | 12 | /* If the board does not have a real MAC assigned to it, then generate a 13 | * locally administrated pseudo-random one based on CYCLES and compile date. 14 | */ 15 | static inline void bfin_gen_rand_mac(uchar *mac_addr) 16 | { 17 | /* make something up */ 18 | const char s[] = __DATE__; 19 | size_t i; 20 | u32 cycles; 21 | for (i = 0; i < 6; ++i) { 22 | asm("%0 = CYCLES;" : "=r" (cycles)); 23 | mac_addr[i] = cycles ^ s[i]; 24 | } 25 | mac_addr[0] = (mac_addr[0] | 0x02) & ~0x01; /* make it local unicast */ 26 | } 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /board/sandpoint/README: -------------------------------------------------------------------------------- 1 | This port of U-Boot will run on a Motorola Sandpoint 3 development 2 | system equipped with a Unity X4 PPMC card (MPC8240 CPU) only. It is a 3 | snapshot of work in progress and far from being completed. In order 4 | to run it on the target system, it has to be downloaded using the 5 | DINK32 monitor program that came with your Sandpoint system. Please 6 | note that DINK32 does not accept the S-Record file created by the 7 | U-Boot build process unmodified, because it contains CR/LF line 8 | terminators. You have to strip the CR characters first. There is a 9 | tiny script named 'dinkdl' I created for this purpose. 10 | 11 | The Sandpoint port is based on the work of Rob Taylor, who does not 12 | seem to maintain it any more. I can be reached by mail as 13 | tkoeller@gmx.net. 14 | 15 | Thomas Koeller 16 | -------------------------------------------------------------------------------- /board/ti/omap5912osk/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002-2004 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # (C) Copyright 2003 7 | # Texas Instruments, 8 | # Kshitij Gupta 9 | # 10 | # (C) Copyright 2004 11 | # Texas Instruments, 12 | # Rishi Bhattacharya 13 | # 14 | # TI OSK board with OMAP5912 (ARM925EJS) cpu 15 | # see http://www.ti.com/ for more information on Texas Instruments 16 | # 17 | # OSK has 1 bank of 256 MB SDRAM 18 | # Physical Address: 19 | # 1000'0000 to 2000'0000 20 | # 21 | # 22 | # Linux-Kernel is expected to be at 1000'8000, entry 1000'8000 23 | # (mem base + reserved) 24 | # 25 | # we load ourself to 1108'0000 26 | # 27 | # 28 | 29 | 30 | TEXT_BASE = 0x11080000 31 | -------------------------------------------------------------------------------- /cpu/ixp/npe/include/IxOsalOs.h: -------------------------------------------------------------------------------- 1 | #ifndef IxOsalOs_H 2 | #define IxOsalOs_H 3 | 4 | #ifndef IX_OSAL_CACHED 5 | #error "Uncached memory not supported in linux environment" 6 | #endif 7 | 8 | static inline unsigned long __v2p(unsigned long v) 9 | { 10 | if (v < 0x40000000) 11 | return (v & 0xfffffff); 12 | else 13 | return v; 14 | } 15 | 16 | #define IX_OSAL_OS_MMU_VIRT_TO_PHYS(addr) __v2p((u32)addr) 17 | #define IX_OSAL_OS_MMU_PHYS_TO_VIRT(addr) (addr) 18 | 19 | /* 20 | * Data cache not enabled (hopefully) 21 | */ 22 | #define IX_OSAL_OS_CACHE_INVALIDATE(addr, size) 23 | #define IX_OSAL_OS_CACHE_FLUSH(addr, size) 24 | #define HAL_DCACHE_INVALIDATE(addr, size) 25 | #define HAL_DCACHE_FLUSH(addr, size) 26 | 27 | #define __ixp42X /* sr: U-Boot needs this define */ 28 | 29 | #endif /* IxOsalOs_H */ 30 | 31 | -------------------------------------------------------------------------------- /include/asm-sh/unaligned.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_SH_UNALIGNED_H 2 | #define _ASM_SH_UNALIGNED_H 3 | 4 | /* Copy from linux-kernel. */ 5 | 6 | #ifdef CONFIG_CPU_SH4A 7 | /* SH-4A can handle unaligned loads in a relatively neutered fashion. */ 8 | #include 9 | #else 10 | /* Otherwise, SH can't handle unaligned accesses. */ 11 | #include 12 | #if defined(__BIG_ENDIAN__) 13 | #define get_unaligned __get_unaligned_be 14 | #define put_unaligned __put_unaligned_be 15 | #elif defined(__LITTLE_ENDIAN__) 16 | #define get_unaligned __get_unaligned_le 17 | #define put_unaligned __put_unaligned_le 18 | #endif 19 | 20 | #include 21 | #include 22 | #include 23 | #endif 24 | 25 | #endif /* _ASM_SH_UNALIGNED_H */ 26 | -------------------------------------------------------------------------------- /tools/inca-swap-bytes.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #ifndef BUFSIZ 7 | # define BUFSIZ 4096 8 | #endif 9 | 10 | #undef BUFSIZ 11 | # define BUFSIZ 64 12 | int main (void) 13 | { 14 | short ibuff[BUFSIZ], obuff[BUFSIZ]; 15 | int rc, i, len; 16 | 17 | while ((rc = read (0, ibuff, sizeof (ibuff))) > 0) { 18 | memset (obuff, 0, sizeof (obuff)); 19 | for (i = 0; i < (rc + 1) / 2; i++) { 20 | obuff[i] = ibuff[i ^ 1]; 21 | } 22 | 23 | len = (rc + 1) & ~1; 24 | 25 | if (write (1, obuff, len) != len) { 26 | perror ("read error"); 27 | return (EXIT_FAILURE); 28 | } 29 | 30 | memset (ibuff, 0, sizeof (ibuff)); 31 | } 32 | 33 | if (rc < 0) { 34 | perror ("read error"); 35 | return (EXIT_FAILURE); 36 | } 37 | return (EXIT_SUCCESS); 38 | } 39 | -------------------------------------------------------------------------------- /doc/README.ARM-memory-map: -------------------------------------------------------------------------------- 1 | Subject: Re: [PATCH][CFT] bring ARM memory layout in line with the documented behaviour 2 | From: "Anders Larsen" 3 | Date: Thu, 18 Sep 2003 14:15:21 +0200 4 | To: Wolfgang Denk 5 | 6 | ... 7 | >I still see references to _armboot_start, _armboot_end_data, and 8 | >_armboot_end - which role do these play now? Can we get rid of them? 9 | > 10 | >How are they (should they be) set in your memory map above? 11 | 12 | _armboot_start contains the value of TEXT_BASE (0xA07E0000); it seems 13 | TEXT_BASE and _armboot_start are both used for the same purpose in 14 | different parts of the (ARM) code. 15 | Furthermore, the startup code (cpu//start.S) internally uses 16 | another variable (_TEXT_BASE) with the same content as _armboot_start. 17 | I agree that this mess should be cleaned up. 18 | -------------------------------------------------------------------------------- /fs/yaffs2/yaffs_tagsvalidity.h: -------------------------------------------------------------------------------- 1 | /* 2 | * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 3 | * 4 | * Copyright (C) 2002-2007 Aleph One Ltd. 5 | * for Toby Churchill Ltd and Brightstar Engineering 6 | * 7 | * Created by Charles Manning 8 | * 9 | * This program is free software; you can redistribute it and/or modify 10 | * it under the terms of the GNU Lesser General Public License version 2.1 as 11 | * published by the Free Software Foundation. 12 | * 13 | * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. 14 | */ 15 | 16 | 17 | #ifndef __YAFFS_TAGS_VALIDITY_H__ 18 | #define __YAFFS_TAGS_VALIDITY_H__ 19 | 20 | #include "yaffs_guts.h" 21 | 22 | void yaffs_InitialiseTags(yaffs_ExtendedTags * tags); 23 | int yaffs_ValidateTags(yaffs_ExtendedTags * tags); 24 | #endif 25 | -------------------------------------------------------------------------------- /board/davinci/sffsdr/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # Copyright (C) 2008 Lyrtech 7 | # Copyright (C) 2008 Philip Balister, OpenSDR 8 | # 9 | # Lyrtech SFF SDR board (ARM926EJS) cpu 10 | # 11 | # SFF SDR board has 1 bank of 128 MB DDR RAM 12 | # Physical Address: 13 | # 8000'0000 to 87FF'FFFF 14 | # 15 | # Linux-Kernel is expected to be at 8000'8000, entry 8000'8000 16 | # (mem base + reserved) 17 | # 18 | # Integrity kernel is expected to be at 8000'0000, entry 8000'00D0, 19 | # up to 81FF'FFFF (uses up to 32 MB of memory for text, heap, etc). 20 | # 21 | # we load ourself to 8400'0000 to provide at least 32MB spacing 22 | # between us and the Integrity kernel image 23 | TEXT_BASE = 0x84000000 24 | -------------------------------------------------------------------------------- /board/ml2/init.S: -------------------------------------------------------------------------------- 1 | /* 2 | * init.S: Stubs for U-Boot initialization 3 | * 4 | * Copyright 2002 Mind NV 5 | * 6 | * http://www.mind.be/ 7 | * 8 | * Author : Peter De Schrijver (p2@mind.be) 9 | * 10 | * This software may be used and distributed according to the terms of 11 | * the GNU General Public License (GPL) version 2, incorporated herein by 12 | * reference. Drivers based on or derived from this code fall under the GPL 13 | * and must retain the authorship, copyright and this license notice. This 14 | * file is not a complete program and may only be used when the entire 15 | * program is licensed under the GPL. 16 | * 17 | */ 18 | 19 | #include 20 | 21 | #include 22 | #include 23 | 24 | #include 25 | #include 26 | 27 | 28 | .globl ext_bus_cntlr_init 29 | ext_bus_cntlr_init: 30 | blr 31 | -------------------------------------------------------------------------------- /board/apollon/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2005-2007 3 | # Samsung Electronics 4 | # 5 | # Samsung December board with OMAP2420 (ARM1136) cpu 6 | # see http://www.ti.com/ for more information on Texas Instruments 7 | # 8 | # December has 1 bank of 128MB mDDR-SDRAM on CS0 9 | # December has 1 bank of 00MB mDDR-SDRAM on CS1 10 | # Physical Address: 11 | # 8000'0000 (bank0) 12 | # A000/0000 (bank1) ES2 will be configurable 13 | # Linux-Kernel is expected to be at 8000'8000, entry 8000'8000 14 | # (mem base + reserved) 15 | # For use with external or internal boots. 16 | TEXT_BASE = 0x83e80000 17 | 18 | # Used with full SRAM boot. 19 | # This is either with a GP system or a signed boot image. 20 | # easiest, and safest way to go if you can. 21 | #TEXT_BASE = 0x40270000 22 | 23 | # Handy to get symbols to debug ROM version. 24 | #TEXT_BASE = 0x0 25 | #TEXT_BASE = 0x08000000 26 | -------------------------------------------------------------------------------- /board/amirix/ap1000/init.S: -------------------------------------------------------------------------------- 1 | /* 2 | * init.S: Stubs for ppcboot initialization 3 | * 4 | * Copyright 2002 Mind NV 5 | * 6 | * http://www.mind.be/ 7 | * 8 | * Author : Peter De Schrijver (p2@mind.be) 9 | * 10 | * This software may be used and distributed according to the terms of 11 | * the GNU General Public License (GPL) version 2, incorporated herein by 12 | * reference. Drivers based on or derived from this code fall under the GPL 13 | * and must retain the authorship, copyright and this license notice. This 14 | * file is not a complete program and may only be used when the entire 15 | * program is licensed under the GPL. 16 | * 17 | */ 18 | 19 | #include 20 | 21 | #include 22 | #include 23 | 24 | #include 25 | #include 26 | 27 | 28 | .globl ext_bus_cntlr_init 29 | ext_bus_cntlr_init: 30 | blr 31 | -------------------------------------------------------------------------------- /doc/README.sbc8641d: -------------------------------------------------------------------------------- 1 | Wind River SBC8641D reference board 2 | =========================== 3 | 4 | Created 06/14/2007 Joe Hamman 5 | Copyright 2007, Embedded Specialties, Inc. 6 | Copyright 2007 Wind River Systemes, Inc. 7 | ----------------------------- 8 | 9 | 1. Building U-Boot 10 | ------------------ 11 | The SBC8641D code is known to build using ELDK 4.1. 12 | 13 | $ make sbc8641d_config 14 | Configuring for sbc8641d board... 15 | 16 | $ make 17 | 18 | 19 | 2. Switch and Jumper Settings 20 | ----------------------------- 21 | All Jumpers & Switches are in their default positions. Please refer to 22 | the board documentation for details. Some settings control CPU voltages 23 | and settings may change with board revisions. 24 | 25 | 3. Known limitations 26 | -------------------- 27 | PCI: 28 | The PCI command may hang if no boards are present in either slot. 29 | -------------------------------------------------------------------------------- /board/gth2/ee_access.h: -------------------------------------------------------------------------------- 1 | /* By Thomas.Lange@Corelatus.com 001025 */ 2 | 3 | /* Definitions for EEPROM/VOLT METER DS2438 */ 4 | /* Copyright (C) 2000-2005 Corelatus AB */ 5 | 6 | #ifndef INCeeaccessh 7 | #define INCeeaccessh 8 | 9 | #include 10 | #include "ee_dev.h" 11 | 12 | int ee_do_cpu_command( u8 *Tx, int Tx_len, u8 *Rx, int Rx_len, int Send_skip ); 13 | int ee_init_cpu_data(void); 14 | 15 | int ee_crc_ok( u8 *Buffer, int Len, u8 Crc ); 16 | 17 | /* Defs for altera reg */ 18 | #define EE_WRITE_SHIFT 8 /* bits to shift left */ 19 | #define EE_READ_SHIFT 16 /* bits to shift left */ 20 | #define EE_DONE 0x80000000 21 | #define EE_BUSY 0x40000000 22 | #define EE_ERROR 0x20000000 23 | 24 | /* Commands */ 25 | #define EE_CMD_NOP 0 26 | #define EE_CMD_INIT_RES 1 27 | #define EE_CMD_WR_BYTE 2 28 | #define EE_CMD_RD_BYTE 3 29 | 30 | #endif /* INCeeaccessh */ 31 | -------------------------------------------------------------------------------- /include/asm-mips/cachectl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is subject to the terms and conditions of the GNU General Public 3 | * License. See the file "COPYING" in the main directory of this archive 4 | * for more details. 5 | * 6 | * Copyright (C) 1994, 1995, 1996 by Ralf Baechle 7 | */ 8 | #ifndef _ASM_CACHECTL 9 | #define _ASM_CACHECTL 10 | 11 | /* 12 | * Options for cacheflush system call 13 | */ 14 | #define ICACHE (1<<0) /* flush instruction cache */ 15 | #define DCACHE (1<<1) /* writeback and flush data cache */ 16 | #define BCACHE (ICACHE|DCACHE) /* flush both caches */ 17 | 18 | /* 19 | * Caching modes for the cachectl(2) call 20 | * 21 | * cachectl(2) is currently not supported and returns ENOSYS. 22 | */ 23 | #define CACHEABLE 0 /* make pages cacheable */ 24 | #define UNCACHEABLE 1 /* make pages uncacheable */ 25 | 26 | #endif /* _ASM_CACHECTL */ 27 | -------------------------------------------------------------------------------- /include/linux/mtd/nand_ecc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * drivers/mtd/nand_ecc.h 3 | * 4 | * Copyright (C) 2000 Steven J. Hill (sjhill@realitydiluted.com) 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License version 2 as 8 | * published by the Free Software Foundation. 9 | * 10 | * This file is the header for the ECC algorithm. 11 | */ 12 | 13 | #ifndef __MTD_NAND_ECC_H__ 14 | #define __MTD_NAND_ECC_H__ 15 | 16 | struct mtd_info; 17 | 18 | /* 19 | * Calculate 3 byte ECC code for 256 byte block 20 | */ 21 | int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code); 22 | 23 | /* 24 | * Detect and correct a 1 bit error for 256 byte block 25 | */ 26 | int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc); 27 | 28 | #endif /* __MTD_NAND_ECC_H__ */ 29 | -------------------------------------------------------------------------------- /board/fads/lamp.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifndef CONFIG_ADS /* Old ADS has not got any user-controllable LED */ 4 | 5 | #include 6 | 7 | void 8 | signal_delay(unsigned int n) 9 | { 10 | while (n--); 11 | } 12 | 13 | void 14 | signal_on(void) 15 | { 16 | *((volatile uint *)BCSR4) &= ~(1<<(31-3)); /* led on */ 17 | } 18 | 19 | void 20 | signal_off(void) 21 | { 22 | *((volatile uint *)BCSR4) |= (1<<(31-3)); /* led off */ 23 | } 24 | 25 | void 26 | slow_blink(unsigned int n) 27 | { 28 | while (n--) { 29 | signal_on(); 30 | signal_delay(0x00400000); 31 | signal_off(); 32 | signal_delay(0x00400000); 33 | } 34 | } 35 | 36 | void 37 | fast_blink(unsigned int n) 38 | { 39 | while (n--) { 40 | signal_on(); 41 | signal_delay(0x00100000); 42 | signal_off(); 43 | signal_delay(0x00100000); 44 | } 45 | } 46 | 47 | #endif /* !CONFIG_ADS */ 48 | -------------------------------------------------------------------------------- /include/asm-mips/unaligned.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is subject to the terms and conditions of the GNU General Public 3 | * License. See the file "COPYING" in the main directory of this archive 4 | * for more details. 5 | * 6 | * Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org) 7 | */ 8 | #ifndef _ASM_MIPS_UNALIGNED_H 9 | #define _ASM_MIPS_UNALIGNED_H 10 | 11 | #include 12 | #if defined(__MIPSEB__) 13 | #define get_unaligned __get_unaligned_be 14 | #define put_unaligned __put_unaligned_be 15 | #elif defined(__MIPSEL__) 16 | #define get_unaligned __get_unaligned_le 17 | #define put_unaligned __put_unaligned_le 18 | #else 19 | #error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" 20 | #endif 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif /* _ASM_MIPS_UNALIGNED_H */ 27 | -------------------------------------------------------------------------------- /tools/jtagconsole: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | usage() { 4 | ( 5 | echo "Usage: $0 [board IP] [board port]" 6 | echo "" 7 | echo "If IP is not specified, 'localhost' will be used" 8 | echo "If port is not specified, '2001' will be used" 9 | [ -z "$*" ] && exit 0 10 | echo "" 11 | echo "ERROR: $*" 12 | exit 1 13 | ) 1>&2 14 | exit $? 15 | } 16 | 17 | while [ -n "$1" ] ; do 18 | case $1 in 19 | -h|--help) usage;; 20 | --) break;; 21 | -*) usage "Invalid option $1";; 22 | *) break;; 23 | esac 24 | shift 25 | done 26 | 27 | ip=${1:-localhost} 28 | port=${2:-2001} 29 | 30 | if [ -z "${ip}" ] || [ -n "$3" ] ; then 31 | usage "Invalid number of arguments" 32 | fi 33 | 34 | trap "stty icanon echo intr ^C" 0 2 3 5 10 13 15 35 | echo "NOTE: the interrupt signal (normally ^C) has been remapped to ^T" 36 | 37 | stty -icanon -echo intr ^T 38 | nc ${ip} ${port} 39 | exit 0 40 | -------------------------------------------------------------------------------- /include/_exports.h: -------------------------------------------------------------------------------- 1 | /* 2 | * You do not need to use #ifdef around functions that may not exist 3 | * in the final configuration (such as i2c). 4 | */ 5 | EXPORT_FUNC(get_version) 6 | EXPORT_FUNC(getc) 7 | EXPORT_FUNC(tstc) 8 | EXPORT_FUNC(putc) 9 | EXPORT_FUNC(puts) 10 | EXPORT_FUNC(printf) 11 | EXPORT_FUNC(install_hdlr) 12 | EXPORT_FUNC(free_hdlr) 13 | EXPORT_FUNC(malloc) 14 | EXPORT_FUNC(free) 15 | EXPORT_FUNC(udelay) 16 | EXPORT_FUNC(get_timer) 17 | EXPORT_FUNC(vprintf) 18 | EXPORT_FUNC(do_reset) 19 | EXPORT_FUNC(getenv) 20 | EXPORT_FUNC(setenv) 21 | EXPORT_FUNC(forceenv) 22 | EXPORT_FUNC(simple_strtoul) 23 | EXPORT_FUNC(simple_strtol) 24 | EXPORT_FUNC(strcmp) 25 | EXPORT_FUNC(i2c_write) 26 | EXPORT_FUNC(i2c_read) 27 | EXPORT_FUNC(spi_init) 28 | EXPORT_FUNC(spi_setup_slave) 29 | EXPORT_FUNC(spi_free_slave) 30 | EXPORT_FUNC(spi_claim_bus) 31 | EXPORT_FUNC(spi_release_bus) 32 | EXPORT_FUNC(spi_xfer) 33 | -------------------------------------------------------------------------------- /board/cm-bf537e/flash.c: -------------------------------------------------------------------------------- 1 | /* 2 | * flash.c - helper commands for working with GPIO-assisted flash 3 | * 4 | * Copyright (c) 2005-2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | #include "gpio_cfi_flash.h" 13 | 14 | int do_pf(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) 15 | { 16 | ulong faddr = CONFIG_SYS_FLASH_BASE; 17 | ushort data; 18 | ulong dflg; 19 | 20 | if (argc > 1) { 21 | dflg = simple_strtoul(argv[1], NULL, 16); 22 | faddr |= (dflg << 21); 23 | gpio_cfi_flash_swizzle((void *)faddr); 24 | } else { 25 | data = bfin_read_PORTFIO(); 26 | printf("Port F data %04x (PF4:%i)\n", data, !!(data & PF4)); 27 | } 28 | 29 | return 0; 30 | } 31 | 32 | U_BOOT_CMD(pf, 3, 0, do_pf, 33 | "set/clear PF4 GPIO flash bank switch\n", 34 | " - set PF4 GPIO pin state\n"); 35 | -------------------------------------------------------------------------------- /board/cm-bf537u/flash.c: -------------------------------------------------------------------------------- 1 | /* 2 | * flash.c - helper commands for working with GPIO-assisted flash 3 | * 4 | * Copyright (c) 2005-2009 Analog Devices Inc. 5 | * 6 | * Licensed under the GPL-2 or later. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | #include "gpio_cfi_flash.h" 13 | 14 | int do_ph(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) 15 | { 16 | ulong faddr = CONFIG_SYS_FLASH_BASE; 17 | ushort data; 18 | ulong dflg; 19 | 20 | if (argc > 1) { 21 | dflg = simple_strtoul(argv[1], NULL, 16); 22 | faddr |= (dflg << 21); 23 | gpio_cfi_flash_swizzle((void *)faddr); 24 | } else { 25 | data = bfin_read_PORTHIO(); 26 | printf("Port H data %04x (PH0:%i)\n", data, !!(data & PH0)); 27 | } 28 | 29 | return 0; 30 | } 31 | 32 | U_BOOT_CMD(ph, 3, 0, do_ph, 33 | "set/clear PH0 GPIO flash bank switch\n", 34 | " - set PH0 GPIO pin state\n"); 35 | -------------------------------------------------------------------------------- /board/bf533-stamp/video.h: -------------------------------------------------------------------------------- 1 | #include 2 | #define write_dest_byte(val) {*dest++=val;} 3 | #define BLACK (0x01800180) /* black pixel pattern */ 4 | #define BLUE (0x296E29F0) /* blue pixel pattern */ 5 | #define RED (0x51F0515A) /* red pixel pattern */ 6 | #define MAGENTA (0x6ADE6ACA) /* magenta pixel pattern */ 7 | #define GREEN (0x91229136) /* green pixel pattern */ 8 | #define CYAN (0xAA10AAA6) /* cyan pixel pattern */ 9 | #define YELLOW (0xD292D210) /* yellow pixel pattern */ 10 | #define WHITE (0xFE80FE80) /* white pixel pattern */ 11 | 12 | #define true 1 13 | #define false 0 14 | 15 | typedef struct { 16 | unsigned int sav; 17 | unsigned int eav; 18 | } system_code_type; 19 | 20 | const system_code_type system_code_map[] = { 21 | { 0xFF000080, 0xFF00009D }, 22 | { 0xFF0000AB, 0xFF0000B6 }, 23 | { 0xFF0000C7, 0xFF0000DA }, 24 | { 0xFF0000EC, 0xFF0000F1 }, 25 | }; 26 | -------------------------------------------------------------------------------- /board/ti/omap2420h4/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2004 3 | # Texas Instruments, 4 | # 5 | # TI H4 board with OMAP2420 (ARM1136) cpu 6 | # see http://www.ti.com/ for more information on Texas Instruments 7 | # 8 | # H4 has 1 bank of 32MB or 64MB mDDR-SDRAM on CS0 9 | # H4 has 1 bank of 32MB or 00MB mDDR-SDRAM on CS1 10 | # Physical Address: 11 | # 8000'0000 (bank0) 12 | # A000/0000 (bank1) ES2 will be configurable 13 | # Linux-Kernel is expected to be at 8000'8000, entry 8000'8000 14 | # (mem base + reserved) 15 | 16 | # For use with external or internal boots. 17 | TEXT_BASE = 0x80e80000 18 | 19 | # Used with full SRAM boot. 20 | # This is either with a GP system or a signed boot image. 21 | # easiest, and safest way to go if you can. 22 | #TEXT_BASE = 0x40270000 23 | 24 | 25 | # Handy to get symbols to debug ROM version. 26 | #TEXT_BASE = 0x0 27 | #TEXT_BASE = 0x08000000 28 | #TEXT_BASE = 0x04000000 29 | -------------------------------------------------------------------------------- /doc/README.OXC: -------------------------------------------------------------------------------- 1 | This document contains different information about the port 2 | of U-Boot for the OXC board designed by Lucent Technologies, 3 | Inc. 4 | 5 | 1. Showing activity 6 | 7 | U-Boot for the OXC board can show its current status using 8 | the Active LED. This feature is configured by the following 9 | options: 10 | 11 | CONFIG_SHOW_ACTIVITY 12 | 13 | When this option is on, the Active LED is blinking fast 14 | when U-Boot runs in the idle loop (i.e. waits for user 15 | commands from serial console) and blinking slow when it 16 | downloads an image over network. When U-Boot loads an image 17 | over serial line the Active LED does not blink and its state 18 | is random (i.e. either constant on or constant off). 19 | 20 | CONFIG_SHOW_BOOT_PROGRESS 21 | 22 | When this option is on, U-Boot switches the Active LED 23 | off before booting an image and switches it on if booting 24 | failed due to some reasons. 25 | -------------------------------------------------------------------------------- /board/freescale/common/via.h: -------------------------------------------------------------------------------- 1 | #ifndef _MPC85xx_VIA_H 2 | void mpc85xx_config_via(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab); 3 | 4 | /* Function 1, IDE */ 5 | void mpc85xx_config_via_usbide(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab); 6 | 7 | /* Function 2, USB ports 0-1 */ 8 | void mpc85xx_config_via_usb(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab); 9 | 10 | /* Function 3, USB ports 2-3 */ 11 | void mpc85xx_config_via_usb2(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab); 12 | 13 | /* Function 5, Power Management */ 14 | void mpc85xx_config_via_power(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab); 15 | 16 | /* Function 6, AC97 Interface */ 17 | void mpc85xx_config_via_ac97(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab); 18 | #endif /* _MPC85xx_VIA_H */ 19 | -------------------------------------------------------------------------------- /board/siemens/common/README: -------------------------------------------------------------------------------- 1 | CCM/SCM-Ergaenzungen fuer U-Boot und Linux: 2 | ------------------------------------------- 3 | 4 | Es gibt nun ein gemeinsames Kommando zum Laden der FPGAs: 5 | 6 | => help fpga 7 | fpga fpga status [name] - print FPGA status 8 | fpga reset [name] - reset FPGA 9 | fpga load [name] addr - load FPGA configuration data 10 | 11 | Der Name kann beim CCM-Module auch weggelassen werden. 12 | Die Laengenangabe und damit "puma_len" ist nicht mehr 13 | noetig: 14 | 15 | => fpga load puma 40600000 16 | FPGA load PUMA: addr 40600000: (00000005)... done 17 | 18 | Die MTD-Partitionierung kann nun mittels "bootargs" ueber- 19 | geben werden: 20 | 21 | => printenv addmtd 22 | addmtd=setenv bootargs ${bootargs} 23 | mtdparts=0:256k(U-Boot)ro,768k(Kernel),-(Rest)\;1:-(myJFFS2) 24 | 25 | Die Portierung auf SMC ist natuerlich noch nicht getestet. 26 | 27 | Wolfgang Grandegger (04.06.2002) 28 | -------------------------------------------------------------------------------- /libfdt/README: -------------------------------------------------------------------------------- 1 | The libfdt functionality was written by David Gibson. The original 2 | source came from the git repository: 3 | 4 | URL: git://ozlabs.org/home/dgibson/git/libfdt.git 5 | 6 | author David Gibson 7 | Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100) 8 | committer David Gibson 9 | Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100) 10 | commit 857f54e79f74429af20c2b5ecc00ee98af6a3b8b 11 | tree 2f648f0f88225a51ded452968d28b4402df8ade0 12 | parent 07a12a08005f3b5cd9337900a6551e450c07b515 13 | 14 | To adapt for u-boot usage, only the applicable files were copied and 15 | imported into the u-boot git repository. 16 | Omitted: 17 | * GPL - u-boot comes with a copy of the GPL license 18 | * test subdirectory - not directly useful for u-boot 19 | 20 | After importing, other customizations were performed. See the git log 21 | for details. 22 | 23 | Jerry Van Baren 24 | -------------------------------------------------------------------------------- /board/jse/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2003 Picture Elements, Inc. 3 | # 4 | # This program is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU General Public License as 6 | # published by the Free Software Foundation; either version 2 of 7 | # the License, or (at your option) any later version. 8 | # 9 | # This program is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | # GNU General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU General Public License 15 | # along with this program; if not, write to the Free Software 16 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 17 | # MA 02111-1307 USA 18 | # 19 | 20 | # 21 | # Picture Elements, Inc. JSE boards 22 | # 23 | 24 | TEXT_BASE = 0xFFF80000 25 | -------------------------------------------------------------------------------- /board/keymile/common/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright 2008 3 | * Heiko Schocher, DENX Software Engineering, hs@denx.de. 4 | * 5 | * This program is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU General Public License as 7 | * published by the Free Software Foundation; either version 2 of 8 | * the License, or (at your option) any later version. 9 | */ 10 | 11 | #ifndef __KEYMILE_COMMON_H 12 | #define __KEYMILE_COMMON_H 13 | 14 | int ethernet_present (void); 15 | int ivm_read_eeprom (void); 16 | 17 | #ifdef CONFIG_KEYMILE_HDLC_ENET 18 | int keymile_hdlc_enet_initialize (bd_t *bis); 19 | #endif 20 | 21 | int fdt_set_node_and_value (void *blob, 22 | char *nodename, 23 | char *regname, 24 | void *var, 25 | int size); 26 | int fdt_get_node_and_value (void *blob, 27 | char *nodename, 28 | char *propname, 29 | void **var); 30 | #endif /* __KEYMILE_COMMON_H */ 31 | -------------------------------------------------------------------------------- /doc/README.mpc74xx: -------------------------------------------------------------------------------- 1 | This file contains status information for the port of U-Boot to the 2 | Motorola mpc74xx series of CPUs. 3 | 4 | Author: Josh Huber 5 | Mission Critical Linux, Inc. 6 | 7 | Currently the support for these CPUs is pretty minimal, but enough to 8 | get things going. (much like the support for the Galileo Eval Board) 9 | 10 | There is a framework in place to enable the L2 cache, and to program 11 | the BATs. Currently, there are still problems with the code which 12 | sets up the L2 cache, so it's not enabled. (IMHO, it shouldn't be 13 | anyway). Additionally, there is support for enabling the MMU, which 14 | we also don't do. The BATs are programmed just for the benefit of 15 | jumping into Linux in a sane configuration. 16 | 17 | Most of the code was based on other cpus supported by U-Boot. 18 | 19 | If you find any errors in the CPU setup code, please send us a note. 20 | 21 | Thanks, 22 | Josh 23 | -------------------------------------------------------------------------------- /include/asm-sh/cache.h: -------------------------------------------------------------------------------- 1 | #ifndef __ASM_SH_CACHE_H 2 | #define __ASM_SH_CACHE_H 3 | 4 | #if defined(CONFIG_SH4) || defined(CONFIG_SH4A) 5 | 6 | int cache_control(unsigned int cmd); 7 | 8 | #define L1_CACHE_BYTES 32 9 | struct __large_struct { unsigned long buf[100]; }; 10 | #define __m(x) (*(struct __large_struct *)(x)) 11 | 12 | void dcache_wback_range(u32 start, u32 end) 13 | { 14 | u32 v; 15 | 16 | start &= ~(L1_CACHE_BYTES - 1); 17 | for (v = start; v < end; v += L1_CACHE_BYTES) { 18 | asm volatile ("ocbwb %0" : /* no output */ 19 | : "m" (__m(v))); 20 | } 21 | } 22 | 23 | void dcache_invalid_range(u32 start, u32 end) 24 | { 25 | u32 v; 26 | 27 | start &= ~(L1_CACHE_BYTES - 1); 28 | for (v = start; v < end; v += L1_CACHE_BYTES) { 29 | asm volatile ("ocbi %0" : /* no output */ 30 | : "m" (__m(v))); 31 | } 32 | } 33 | #endif /* CONFIG_SH4 || CONFIG_SH4A */ 34 | 35 | #endif /* __ASM_SH_CACHE_H */ 36 | -------------------------------------------------------------------------------- /common/cmd_spibootldr.c: -------------------------------------------------------------------------------- 1 | /* 2 | * U-boot - spibootldr.c 3 | * 4 | * Copyright (c) 2005-2008 Analog Devices Inc. 5 | * 6 | * See file CREDITS for list of people who contributed to this 7 | * project. 8 | * 9 | * Licensed under the GPL-2 or later. 10 | */ 11 | 12 | #include 13 | #include 14 | 15 | #include 16 | #include 17 | 18 | int do_spibootldr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) 19 | { 20 | s32 addr; 21 | 22 | /* Get the address */ 23 | if (argc < 2) 24 | addr = 0; 25 | else 26 | addr = simple_strtoul(argv[1], NULL, 16); 27 | 28 | printf("## Booting ldr image at SPI offset 0x%x ...\n", addr); 29 | 30 | return bfrom_SpiBoot(addr, BFLAG_PERIPHERAL | 4, 0, NULL); 31 | } 32 | 33 | U_BOOT_CMD(spibootldr, 2, 0, do_spibootldr, 34 | "boot ldr image from spi", 35 | "[offset]\n" 36 | " - boot ldr image stored at offset into spi\n"); 37 | -------------------------------------------------------------------------------- /cpu/arm920t/a320/reset.S: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright 2009 Faraday Technology 3 | * Po-Yu Chuang 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 | */ 19 | 20 | .global reset_cpu 21 | reset_cpu: 22 | b reset_cpu 23 | -------------------------------------------------------------------------------- /include/asm-avr32/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 Freescale Semiconductor, Inc. 3 | * 4 | * This program is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU General Public License as 6 | * published by the Free Software Foundation; either version 2 of 7 | * the License, or (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 17 | * MA 02111-1307 USA 18 | * 19 | */ 20 | 21 | #ifndef _ASM_CONFIG_H_ 22 | #define _ASM_CONFIG_H_ 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /include/asm-i386/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 Freescale Semiconductor, Inc. 3 | * 4 | * This program is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU General Public License as 6 | * published by the Free Software Foundation; either version 2 of 7 | * the License, or (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 17 | * MA 02111-1307 USA 18 | * 19 | */ 20 | 21 | #ifndef _ASM_CONFIG_H_ 22 | #define _ASM_CONFIG_H_ 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /include/asm-mips/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 Freescale Semiconductor, Inc. 3 | * 4 | * This program is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU General Public License as 6 | * published by the Free Software Foundation; either version 2 of 7 | * the License, or (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 17 | * MA 02111-1307 USA 18 | * 19 | */ 20 | 21 | #ifndef _ASM_CONFIG_H_ 22 | #define _ASM_CONFIG_H_ 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /tools/scripts/define2mk.sed: -------------------------------------------------------------------------------- 1 | # 2 | # Sed script to parse CPP macros and generate output usable by make 3 | # 4 | # It is expected that this script is fed the output of 'gpp -dM' 5 | # which preprocesses the common.h header files and outputs the final 6 | # list of CPP macros (and whitespace is sanitized) 7 | # 8 | 9 | # Only process values prefixed with #define CONFIG_ 10 | /^#define CONFIG_[A-Za-z0-9_][A-Za-z0-9_]*/ { 11 | # Strip the #define prefix 12 | s/#define *//; 13 | # Change to form CONFIG_*=VALUE 14 | s/ */=/; 15 | # Drop trailing spaces 16 | s/ *$//; 17 | # drop quotes around string values 18 | s/="\(.*\)"$/=\1/; 19 | # Concatenate string values 20 | s/" *"//g; 21 | # Wrap non-numeral values with quotes 22 | s/=\(.*\?[^0-9].*\)$/=\"\1\"/; 23 | # Change '1' and empty values to "y" (not perfect, but 24 | # supports conditional compilation in the makefiles 25 | s/=$/=y/; 26 | s/=1$/=y/; 27 | # print the line 28 | p 29 | } 30 | -------------------------------------------------------------------------------- /board/samsung/smdk6400/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2002 3 | # Gary Jennejohn, DENX Software Engineering, 4 | # David Mueller, ELSOFT AG, 5 | # 6 | # (C) Copyright 2008 7 | # Guennadi Liakhovetki, DENX Software Engineering, 8 | # 9 | # SAMSUNG SMDK6400 board with mDirac3 (ARM1176) cpu 10 | # 11 | # see http://www.samsung.com/ for more information on SAMSUNG 12 | 13 | # On SMDK6400 we use the 64 MB SDRAM bank at 14 | # 15 | # 0x50000000 to 0x58000000 16 | # 17 | # Linux-Kernel is expected to be at 0x50008000, entry 0x50008000 18 | # 19 | # we load ourselves to 0x57e00000 without MMU 20 | # with MMU, load address is changed to 0xc7e00000 21 | # 22 | # download area is 0x5000c000 23 | 24 | sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp 25 | 26 | ifndef CONFIG_NAND_SPL 27 | TEXT_BASE = $(RAM_TEXT) 28 | else 29 | TEXT_BASE = 0 30 | endif 31 | 32 | LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot-nand.lds 33 | -------------------------------------------------------------------------------- /include/asm-arm/byteorder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * linux/include/asm-arm/byteorder.h 3 | * 4 | * ARM Endian-ness. In little endian mode, the data bus is connected such 5 | * that byte accesses appear as: 6 | * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31 7 | * and word accesses (data or instruction) appear as: 8 | * d0...d31 9 | * 10 | * When in big endian mode, byte accesses appear as: 11 | * 0 = d24...d31, 1 = d16...d23, 2 = d8...d15, 3 = d0...d7 12 | * and word accesses (data or instruction) appear as: 13 | * d0...d31 14 | */ 15 | #ifndef __ASM_ARM_BYTEORDER_H 16 | #define __ASM_ARM_BYTEORDER_H 17 | 18 | 19 | #include 20 | 21 | #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) 22 | # define __BYTEORDER_HAS_U64__ 23 | # define __SWAB_64_THRU_32__ 24 | #endif 25 | 26 | #ifdef __ARMEB__ 27 | #include 28 | #else 29 | #include 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /board/freescale/mpc8610hpcd/config.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2007 Freescale Semiconductor. 2 | # 3 | # See file CREDITS for list of people who contributed to this 4 | # project. 5 | # 6 | # This program is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU General Public License as 8 | # published by the Free Software Foundation; either version 2 of 9 | # the License, or (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program; if not, write to the Free Software 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 19 | # MA 02111-1307 USA 20 | # 21 | 22 | TEXT_BASE = 0xfff00000 23 | -------------------------------------------------------------------------------- /cpu/at32ap/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2005-2006 Atmel Corporation 3 | # 4 | # See file CREDITS for list of people who contributed to this 5 | # project. 6 | # 7 | # This program is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU General Public License as 9 | # published by the Free Software Foundation; either version 2 of 10 | # the License, or (at your option) any later version. 11 | # 12 | # This program is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, write to the Free Software 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 | # MA 02111-1307 USA 21 | # 22 | PLATFORM_RELFLAGS += -mcpu=ap7000 23 | -------------------------------------------------------------------------------- /board/davedenx/aria/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2009 Wolfgang Denk 3 | # 4 | # See file CREDITS for list of people who contributed to this 5 | # project. 6 | # 7 | # This program is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU General Public License as 9 | # published by the Free Software Foundation; either version 2 of 10 | # the License, or (at your option) any later version. 11 | # 12 | # This program is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, write to the Free Software 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 | # MA 02111-1307 USA 21 | # 22 | 23 | TEXT_BASE = 0xFFF00000 24 | -------------------------------------------------------------------------------- /board/esd/mecp5123/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # (C) Copyright 2009 Wolfgang Denk 3 | # 4 | # See file CREDITS for list of people who contributed to this 5 | # project. 6 | # 7 | # This program is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU General Public License as 9 | # published by the Free Software Foundation; either version 2 of 10 | # the License, or (at your option) any later version. 11 | # 12 | # This program is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, write to the Free Software 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 | # MA 02111-1307 USA 21 | # 22 | 23 | TEXT_BASE = 0xFFF00000 24 | -------------------------------------------------------------------------------- /board/ms7750se/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2007 3 | # Nobuhiro Iwamatsu 4 | # 5 | # This program is free software; you can redistribute it and/or 6 | # modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of 8 | # the License, or (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307 USA 19 | # 20 | # 21 | # NOTE: Must match value used in u-boot.lds (in this directory). 22 | # 23 | TEXT_BASE = 0x8FFC0000 24 | -------------------------------------------------------------------------------- /board/tqc/tqm834x/config.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2004 Freescale Semiconductor, Inc. 3 | # 4 | # See file CREDITS for list of people who contributed to this 5 | # project. 6 | # 7 | # This program is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU General Public License as 9 | # published by the Free Software Foundation; either version 2 of 10 | # the License, or (at your option) any later version. 11 | # 12 | # This program is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, write to the Free Software 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 | # MA 02111-1307 USA 21 | # 22 | 23 | TEXT_BASE = 0x80000000 24 | -------------------------------------------------------------------------------- /cpu/blackfin/bootrom-asm-offsets.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/gawk -f 2 | BEGIN { 3 | print "/* DO NOT EDIT: AUTOMATICALLY GENERATED" 4 | print " * Input files: bootrom-asm-offsets.awk bootrom-asm-offsets.c.in" 5 | print " * DO NOT EDIT: AUTOMATICALLY GENERATED" 6 | print " */" 7 | print "" 8 | system("cat bootrom-asm-offsets.c.in") 9 | print "{" 10 | } 11 | 12 | { 13 | /* find a structure definition */ 14 | if ($0 ~ /typedef struct .* {/) { 15 | delete members; 16 | i = 0; 17 | 18 | /* extract each member of the structure */ 19 | while (1) { 20 | getline 21 | if ($1 == "}") 22 | break; 23 | gsub(/[*;]/, ""); 24 | members[i++] = $NF; 25 | } 26 | 27 | /* grab the structure's name */ 28 | struct = $NF; 29 | sub(/;$/, "", struct); 30 | 31 | /* output the DEFINE() macros */ 32 | while (i-- > 0) 33 | print "\tDEFINE(" struct ", " members[i] ");" 34 | print "" 35 | } 36 | } 37 | 38 | END { 39 | print "\treturn 0;" 40 | print "}" 41 | } 42 | --------------------------------------------------------------------------------