aboutsummaryrefslogtreecommitdiff
path: root/board
AgeCommit message (Collapse)AuthorFilesLines
2010-04-21Move arch/ppc to arch/powerpcStefan Roese171-378/+378
As discussed on the list, move "arch/ppc" to "arch/powerpc" to better match the Linux directory structure. Please note that this patch also changes the "ppc" target in MAKEALL to "powerpc" to match this new infrastructure. But "ppc" is kept as an alias for now, to not break compatibility with scripts using this name. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Anatolij Gustschin <agust@denx.de>
2010-04-16nios2: Move individual board linker scripts to common script in cpu tree.Scott McNutt5-677/+0
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2010-04-13nios: Move cpu/nios/* to arch/nios/cpu/*Peter Tyser8-8/+8
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23]Peter Tyser5-5/+5
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13microblaze: Move cpu/microblaze/* to arch/microblaze/cpu/*Peter Tyser1-1/+1
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13avr32: Move cpu/at32ap/* to arch/avr32/cpu/*Peter Tyser1-1/+1
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13mips: Move cpu/mips/* to arch/mips/cpu/*Peter Tyser4-5/+5
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13m68k: Move cpu/$CPU to arch/m68k/cpu/$CPUPeter Tyser27-50/+50
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13arm: Move cpu/$CPU to arch/arm/cpu/$CPUPeter Tyser20-24/+24
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13ppc: Move cpu/$CPU to arch/ppc/cpu/$CPUPeter Tyser150-247/+247
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Replace "#include <asm-$ARCH/$FILE>" with "#include <asm/$FILE>"Peter Tyser26-28/+28
The appropriate include/asm-$ARCH directory should already by symlinked to include/asm so using the whole "asm-$ARCH" path is unnecessary. This change should also allow us to move the include/asm-$ARCH directories into their appropriate lib/$ARCH/ directories. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Rename lib_generic/ to lib/Peter Tyser131-278/+278
Now that the other architecture-specific lib directories have been moved out of the top-level directory there's not much reason to have the '_generic' suffix on the common lib directory. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Move lib_$ARCH directories to arch/$ARCH/libPeter Tyser97-151/+151
Also move lib_$ARCH/config.mk to arch/$ARCH/config.mk This change is intended to clean up the top-level directory structure and more closely mimic Linux's directory organization. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Change directory-specific CFLAGS to use full pathPeter Tyser19-19/+19
Previously, a specific file or directory could be compiled with custom CFLAGS by adding a Makefile variable such as: CFLAGS_dlmalloc.o = <custom flags for common/dlmalloc.c> or CFLAGS_lib = <custom flags for lib directory> This method breaks down once multiple files or directories share the same path. Eg FLAGS_fileA = <custom flags> would incorrectly result in both dir1/fileA.c and dir2/fileA.c being compiled with <custom flags>. This change allows finer grained control which we need once we move lib_$ARCH to arch/$ARCH/lib/ and lib_generic/ to lib/. Without this change all lib/ directories would share the same custom CFLAGS. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Create CPUDIR variablePeter Tyser4-4/+4
The CPUDIR variable points to the location of a target's CPU directory. Currently, it is set to cpu/$CPU. However, using $CPUDIR will allow for more flexibility in the future. It lays the groundwork for reorganizing U-Boot's directory structure to support a layout such as: arch/$ARCH/cpu/$CPU/* (architecture with multiple CPU types) arch/$ARCH/cpu/* (architecture with one CPU type) Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-10Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk4-2/+133
2010-04-10Add initial support for Matrix Vision mvSMR board based on MPC5200B.Andre Schwarz8-0/+730
Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
2010-04-08Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk12-203/+340
2010-04-08Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2-2/+39
2010-04-07p2020ds: add alternate boot bank support using the ngPIXIS FPGATimur Tabi4-35/+214
The Freescale P2020DS board uses a new type of PIXIS FPGA, called the ngPIXIS. The ngPIXIS has one distinct new feature: the values of the on-board switches can be selectively overridden with shadow registers. This feature is used to boot from a different NOR flash bank, instead of having a register dedicated for this purpose. Because the ngPIXIS is so different from the previous PIXIS, a new file is introduced: ngpixis.c. Also update the P2020DS checkboard() function to use the new macros defined in the header file. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-04-07fsl: improve the PIXIS code and fix a few bugsTimur Tabi9-168/+126
Refactor and document the Freescale PIXIS code, used on most 85xx and 86xx boards. This makes the code easier to read and more flexible. Delete pixis.h, because none of the exported functions were actually being used by any other file. Make all of the functions in pixis.c 'static'. Remove "#include pixis.h" from every file that has it. Remove some unnecessary #includes. Make 'pixis_base' into a macro, so that we don't need to define it in every function. Add "while(1);" loops at the end of functions that reset the board, so that execution doesn't continue while the reset is in progress. Replace in_8/out_8 calls with clrbits_8, setbits_8, or clrsetbits_8, where appropriate. Replace ulong/uint with their spelled-out equivalents. Remove unnecessary typecasts, changing the types of some variables if necessary. Add CONFIG_SYS_PIXIS_VCFGEN0_ENABLE and CONFIG_SYS_PIXIS_VBOOT_ENABLE to make it easier for specific boards to support variations in the PIXIS registers sets. No current boards appears to need this feature. Fix the definition of CONFIG_SYS_PIXIS_VBOOT_MASK for the MPC8610 HPCD. Apparently, "pixis_reset altbank" has never worked on this board. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-04-07Blackfin: IP04: new board portBrent Kandetzki3-0/+131
A low cost 4 port IP-PBX board. Signed-off-by: Brent Kandetzki <BrentK@teleco.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-04-07Blackfin: cm-bf561: update network/env settingsHarald Krapfenbauer1-2/+2
Switch to the SMC911X driver by default now, and fix LDR env settings. Signed-off-by: Harald Krapfenbauer <Harald.Krapfenbauer@bluetechnix.at> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-04-04arm/integrator: Remove unneccessary CONFIG_PCI check.Detlev Zundel1-2/+0
pci_eth_init() is already conditional to CONFIG_PCI so not every caller needs to have conditionals. This is the only place in the current code base where such a check is still at the calling site. Signed-off-by: Detlev Zundel <dzu@denx.de> CC: Ben Warren <biggerbadderben@gmail.com> CC: Peter Pearse <peter.pearse@arm.com>
2010-04-03SAMSUNG: SMDKC100: Adds ethernet support.Naveen Krishna CH1-0/+39
Add setup for ethernet on SMDKC100, allowing kernel/ramdisk to be loaded over tftp. The preinit function will configure GPIO (GPK0CON) & SROMC to look for environment in SROM Bank 3. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2010-04-02nios2: Fix AMDLV065D flash write bug in altera board common tree.Scott McNutt1-1/+1
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2010-04-02nios2: Fix outx/writex parameter order in io.hScott McNutt4-24/+24
The outx/writex macros were using writex(addr, val) rather than the standard writex(val, addr), resulting in incompatibilty with architecture independent components. This change set uses standard parameter order. Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2010-04-01Merge branch 'next'Wolfgang Denk34-478/+908
2010-03-30mpc86xx: set the DDR BATs after calculating true DDR sizeTimur Tabi2-0/+4
After determining how much DDR is actually in the system, set DBAT0 and IBAT0 accordingly. This ensures that the CPU won't attempt to access (via speculation) addresses outside of actual memory. On 86xx systems, DBAT0 and IBAT0 (the BATs for DDR) are initialized to 2GB and kept that way. If the system has less than 2GB of memory (typical for an MPC8610 HPCD), the CPU may attempt to access this memory during speculation. The zlib code is notorious for generating such memory reads, and indeed on the MPC8610, uncompressing the Linux kernel causes a machine check (without this patch). Currently we are limited to power of two sized DDR since we only use a single bat. If a non-power of two size is used that is less than CONFIG_MAX_MEM_MAPPED u-boot will crash. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-03-29Merge remote branch 'origin/master' into nextWolfgang Denk9-1434/+0
2010-03-28ml300: remove support for broken, orphaned boardWolfgang Denk9-1434/+0
The ml300 board has a number of issues, but nobody cares about this long-orphaned board any more. Remove it. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Michal Simek <monstr@monstr.eu>
2010-03-28Merge branch 'next' of git://git.denx.de/u-boot-coldfire into nextWolfgang Denk8-4/+905
2010-03-24ColdFire: Fix m54455EVB save environment bugTsiChung Liew1-1/+1
The ATMEL flash does not have buffer write feature. Assgined buffer_size = 1, so that when there is a write to the flash will not use buffer write function. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
2010-03-24ColdFire: M5271EVB DRAM Bring up issueTsiChung Liew1-2/+10
Fix proper portsize: The register for portsize is either 00b, 01b, or 1xb. The value that previous assigned is 32d. Fix DRAM bring up: insert asm("nop") for every DRAM register setup Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
2010-03-24ColdFire: Correct bit definitionTsiChung Liew1-1/+1
Use correct definition for _MASK and _UNMASK. It was combined in the previous used and causes confusion. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
2010-03-24add ASTRO MCF5373L boardWolfgang Wegner6-0/+893
This patch adds support for ASTRO board(s) based on MCF5373L. Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
2010-03-23TI: Davinci: NAND Driver CleanupCyril Chemparathy1-1/+1
Modified to use IO accessor routines consistently. Eliminated volatile usage to keep checkpatch.pl happy. Signed-off-by: Cyril Chemparathy <cyril@ti.com>
2010-03-21Merge remote branch 'origin/master' into nextWolfgang Denk14-0/+0
2010-03-21mpc5xxx: Remove all references to MGT5100Detlev Zundel25-473/+2
We do not support a processor that never reached a real customer. Signed-off-by: Detlev Zundel <dzu@denx.de>
2010-03-21mod change 755 => 644 for multiple filesThomas Weber14-0/+0
I executed 'find . -name "*.[chS]" -perm 755 -exec chmod 644 {} \;' Signed-off-by: Thomas Weber <swirl@gmx.li> Add some more: neither Makefile nor config.mk need execute permissions. Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-03-12Prepare v2010.03-rc1v2010.03-rc1Wolfgang Denk3-6/+4
Coding style cleanup, update CHANGELOG. Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-03-12mpc82xx: Remove SL8245 board and the now orpahned sk98lin network driver.Detlev Zundel4-642/+0
This code has compile problems and the company does not even exist any more. So we take the liberty to drop support for it. Signed-off-by: Detlev Zundel <dzu@denx.de> CC: Wolfgang Denk <wd@denx.de> CC: Ben Warren <biggerbadderben@gmail.com>
2010-03-12TQM8xx: add device tree support for TQM8xx based boards.Heiko Schocher1-0/+119
Also use hwconfig to configure whether the board has a FEC or not. We then can adjust the DTS to tell Linux if there is a FEC present. syntax: hwconfig=fec:on if hardware has a FEC hwconfig=fec:off if hardware has no FEC Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-03-07AT91: Update otc570 board to new SoC accessDaniel Gorsulowski1-85/+95
* convert otc570 board to use c stucture SoC access * change gpio access to at91_gpio syntax Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
2010-03-07arm: kirkwood: suen3: fixed build warningPrafulla Wadaskar1-2/+1
This patch fixes following build warning Invalid Kwbimage command Type - valid names are: BOOT_FROM, NAND_ECC_MODE, NAND_PAGE_SIZE, SATA_PIO_MODE, DDR_INIT_DELAY, DATA, , spi, nand, sata, pex, uart Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
2010-03-07MX51: removed warnings for the mx51evkStefano Babic1-10/+1
The patch removes warnings at compile time and provides some cleanup code: - Removed comment on NAND (not yet supported) from lowlevel_init.S - Removed NFMS bit definition from imx-regs.h The bit is only related to MX.25/35 and can lead to confusion - Moved is_soc_rev() to soc specific code (removed from mx51evk.c) Signed-off-by: Stefano Babic <sbabic@denx.de>
2010-03-07SPEAr : Supporting new mach ids for spear310 and spear320Vipin Kumar2-2/+2
Supporting new machine ids for SoCs spear310 and spear320 include/asm-arm/mach-types.h has to be updated before applying this patch for build to work Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
2010-03-07arm, suen3: fix compile error, if doing not a local buildHeiko Schocher1-0/+3
Signed-off-by: Heiko Schocher <hs@denx.de>
2010-03-07arm: add support for the suen3 board from keymileHeiko Schocher5-2/+583
Add support for the ARM part of the mgcoge2, named suen3. This board is based on the Marvell Kirkwood (88F6281) SoC. As there come more board variants, common config options are collected in include/configs/km_arm.h. Also, this board use common code for all keymile boards, which is stored in board/keymile/common/common.c Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Heiko Schocher <hs@denx.de>
2010-03-07Add support for KARO TX25 boardJohn Rigby4-0/+363
This is an i.MX25 base board with only NAND so it uses nand_spl to boot. Signed-off-by: John Rigby <jcrigby@gmail.com> Tune configuration, add support for (redundant) environment in NAND. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> CC: Fred Fan <fanyefeng@gmail.com> CC: Tom <Tom.Rix@windriver.com>