summaryrefslogtreecommitdiff
path: root/arch
Commit message (Collapse)AuthorAgeLines
* mpc5121: add support for PDM360NG boardAnatolij Gustschin2010-04-24-2/+15
| | | | | | | | PDM360NG is a MPC5121E based board by ifm ecomatic gmbh. Signed-off-by: Michael Weiss <michael.weiss@ifm.com> Signed-off-by: Detlev Zundel <dzu@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>
* mpc5121: determine RAM size using get_ram_size()Anatolij Gustschin2010-04-24-1/+6
| | | | | | | | Configure CONFIG_SYS_MAX_RAM_SIZE address range in DDR Local Access Window and determine the RAM size. Fix DDR LAW afterwards using detected RAM size. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* mpc512x: make MEM IO Control configuration a board config optionAnatolij Gustschin2010-04-24-5/+1
| | | | Signed-off-by: Anatolij Gustschin <agust@denx.de>
* mpc5121: add PSC serial communication routinesAnatolij Gustschin2010-04-24-0/+87
| | | | Signed-off-by: Anatolij Gustschin <agust@denx.de>
* mpc512x: add multi serial PSC supportAnatolij Gustschin2010-04-24-81/+293
| | | | | | | | | | | | | | | | | | Extend mpc512x serial driver to support multiple PSC ports. Subsequent patches for PDM360NG board support make use of this functionality by defining CONFIG_SERIAL_MULTI in the board config file. Additionally the used PSC devices are specified by defining e.g. CONFIG_SYS_PSC1, CONFIG_SYS_PSC4 and CONFIG_SYS_PSC6. Support for PSC devices other than 1, 3, 4 and 6 is not added by this patch because these aren't used currently. In the future it can be easily added using DECLARE_PSC_SERIAL_FUNCTIONS(N) and INIT_PSC_SERIAL_STRUCTURE(N) macros in cpu/mpc512x/serial.c. Additionally you have to add code for registering added devices in serial_initialize() in common/serial.c. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* serial: struct serial_device: add uninit() entry for driversAnatolij Gustschin2010-04-24-0/+6
| | | | | | | | | | | | | | | Subsequent patch extends mpc512x serial driver to support multiple PSC ports. The driver will provide an uninit() function to stop the serial controller and to disable the controller's clock. Adding uninit() entry to struct serial_device allows disabling the serial controller after usage of a stdio serial device. This patch adds uninit() entry to the struct serial_device and fixes initialization of this structure in the code accordingly. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk2010-04-24-0/+5
|\
| * ppc4xx: TLB init file cleanupStefan Roese2010-04-19-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds new macros, with frequently used combinations of the 4xx TLB access control and storage attibutes. Additionally the 4xx init.S files are updated to make use of these new macros. Resulting in easier to read TLB definitions. Additionally some init.S files are updated to use the mmu header for the TLB defines, instead of defining their own macros. Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-microblazeWolfgang Denk2010-04-24-205/+171
|\ \
| * | microblaze: Consolidate cache codeMichal Simek2010-04-16-44/+28
| | | | | | | | | | | | | | | | | | | | | Merge cpu and lib cache code. Flush cache before disabling. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Flush cache before jumping to kernelMichal Simek2010-04-16-0/+8
| | | | | | | | | | | | | | | | | | | | | There is used max cache size on system which doesn't define cache size. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Support system with WB cacheMichal Simek2010-04-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WB cache use different instruction that WT cache but the major code is that same. That means that wdc.flush on system with WT cache do the same thing as before. You need newer toolchain with wdc.flush support. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Change initialization sequenceMichal Simek2010-04-16-3/+12
| | | | | | | | | | | | | | | | | | | | | env_relocation should be called first. Added stdio_init too. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Change cache report messagesMichal Simek2010-04-16-2/+2
| | | | | | | | | | | | | | | | | | It is more accurate to show that caches are OFF instead of FAIL. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Fix interrupt handler codeMichal Simek2010-04-16-17/+11
| | | | | | | | | | | | | | | | | | | | | It is better to read ivr and react on it than do long parsing from two regs. Interrupt controller returs actual irq number. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Move FSL initialization to board.cMichal Simek2010-04-16-8/+6
| | | | | | | | | | | | | | | | | | Move FSL out of interrupt controller. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Move timer initialization to board.cMichal Simek2010-04-16-7/+9
| | | | | | | | | | | | | | | | | | | | | I would like to handle case where system doesn't contain intc that's why I need timer initialization out of intc code. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Fix irq.S codeMichal Simek2010-04-16-120/+62
| | | | | | | | | | | | | | | | | | | | | It is ancient code. There is possible to save several instructions just if we use offset instead of addik Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Add FDT supportArun Bhanu2010-04-16-5/+34
| |/ | | | | | | | | | | | | | | | | | | This patch adds FDT (flattened device tree) support to microblaze arch. Tested with Linux arch/microblaze kernels with and without compiled in FDT on Xilinx ML506 board. Signed-off-by: Arun Bhanu <arun@bhanu.net> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | Move arch/ppc to arch/powerpcStefan Roese2010-04-21-60/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | nios2: Move individual board linker scripts to common script in cpu tree.Scott McNutt2010-04-16-0/+137
|/ | | | Signed-off-by: Scott McNutt <smcnutt@psyent.com>
* ppc4xx: Add option for PPC440SPe ports without old Rev. A supportStefan Roese2010-04-14-1/+1
| | | | | | | | | | | The 440SPe Rev. A is quite old and newer 440SPe boards don't need support for this CPU revision. Since removing support for this older version simplifies the creation for newer U-Boot ports, this patch now enables 440SPe > Rev. A support by creating the CONFIG_440SPE_REVA define. By defining this in the board config header, Rev. A will still be supported. Otherwise (default for newer board ports), Rev. A will not be supported. Signed-off-by: Stefan Roese <sr@denx.de>
* nios2: Move cpu/nios2/* to arch/nios2/cpu/*Peter Tyser2010-04-13-0/+1592
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* nios: Move cpu/nios/* to arch/nios/cpu/*Peter Tyser2010-04-13-0/+2191
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23]Peter Tyser2010-04-13-0/+6697
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* i386: Move cpu/i386/* to arch/i386/cpu/*Peter Tyser2010-04-13-2/+2645
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* microblaze: Move cpu/microblaze/* to arch/microblaze/cpu/*Peter Tyser2010-04-13-0/+824
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* avr32: Move cpu/at32ap/* to arch/avr32/cpu/*Peter Tyser2010-04-13-0/+2078
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* mips: Move cpu/mips/* to arch/mips/cpu/*Peter Tyser2010-04-13-0/+4305
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/*Peter Tyser2010-04-13-2/+2759
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* m68k: Move cpu/$CPU to arch/m68k/cpu/$CPUPeter Tyser2010-04-13-0/+7401
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* arm: Move cpu/$CPU to arch/arm/cpu/$CPUPeter Tyser2010-04-13-1/+101617
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* sh: Move cpu/$CPU to arch/sh/cpu/$CPUPeter Tyser2010-04-13-0/+1638
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* ppc: Move cpu/$CPU to arch/ppc/cpu/$CPUPeter Tyser2010-04-13-0/+82264
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Move architecture-specific includes to arch/$ARCH/include/asmPeter Tyser2010-04-13-0/+184329
| | | | | | | | This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Move lib_$ARCH directories to arch/$ARCH/libPeter Tyser2010-04-13-0/+18167
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>