9
0
Fork 0
Commit Graph

637 Commits

Author SHA1 Message Date
Jean-Christophe PLAGNIOL-VILLARD abd9cd4945 [PPC] move include/asm-ppc to arch/ppc/include/asm
Move platform independent header files to arch/ppc/include/asm, leaving
those in asm/arch*.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:29 +02:00
Jean-Christophe PLAGNIOL-VILLARD b4521685bf [SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/mach
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:29 +02:00
Jean-Christophe PLAGNIOL-VILLARD e2a7b79cfc [SANDBOX] move include/asm-sandbox to arch/arm/include/sandbox
Move platform independent header files to arch/sandbox/include/asm, leaving
those in asm/arch*.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:28 +02:00
Jean-Christophe PLAGNIOL-VILLARD 37e96f83bc [BLACKFIN] move include/asm-blackfin to arch/blackfin/include/asm
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:28 +02:00
Jean-Christophe PLAGNIOL-VILLARD f6a579da9c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00
Jean-Christophe PLAGNIOL-VILLARD 9956bdf77d arm: merge proc-armv/ptrace.h and ptrace.h in one file
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:48 +02:00
Jean-Christophe PLAGNIOL-VILLARD 67254a403f [ARM] move include/asm-arm to arch/arm/include/asm
Move platform independent header files to arch/arm/include/asm, leaving
those in asm/arch* and asm/proc* alone.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:47 +02:00
Jean-Christophe PLAGNIOL-VILLARD a08615b2da at91sam9: switch to the same api as the kernel
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:39 +02:00
Jean-Christophe PLAGNIOL-VILLARD 7ac3805353 at91: add cpu devices common api
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:37 +02:00
Jean-Christophe PLAGNIOL-VILLARD 81362c2b2a at91sam9: move to at91
this will allow to add at91rm9200 with the same api as done in the kernel

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:36 +02:00
Sascha Hauer 420a3173f0 commands: remove maxargs
No need to check for maximum argument counts. The commands are
safe to be called with more arguments, so lets safe some bytes.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 16:18:33 +02:00
Sascha Hauer 63e01b4969 call getopt_reset only once
instead of calling getopt_reset in each command,
call it only once before calling the command.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer 87e01f28cc commands: return COMMAND_ERROR_USAGE
instead of calling u_boot_cmd_usage in each command to safe
space.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer c67926c239 pcm038 defconfig update
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-12 15:29:32 +02:00
Sascha Hauer 2dbb2d1f09 sandbox: update defconfig
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-12 14:17:15 +02:00
Sascha Hauer c1cf740bec sandbox: use libc ioctl for os part
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-12 14:14:53 +02:00
Sascha Hauer d13f32d50a imx: replace imx specific gpio functions with generic ones
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:03 +02:00
Sascha Hauer 3820307eb0 rename dma macros
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:57 +02:00
Sascha Hauer 24c51dfb3a mx25: remove duplicate function, fix perclk values
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:11 +02:00
Sascha Hauer 6e44db23fe mx25: implement clko command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:06 +02:00
Sascha Hauer 019b16fd5f pca100: Add MMU support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-09 11:51:00 +02:00
Sascha Hauer e6615c5e32 add mx25 3ds defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:56 +02:00
Sascha Hauer 55e94293d5 add Freescale MX25 3stack board support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:56 +02:00
Sascha Hauer 13d3db22d3 Add MX25 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer fd18bc87c2 use _stext instead of TEXT_BASE
When checking if we have to relocate ourselves, use _stext instead
of TEXT_BASE. TEXT_BASE might be the location of a pre image header.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer 222abdccec i.MX: Use more accurate decode pll function from kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:51 +02:00
Sascha Hauer ef523775df i.MX: Do not dump clocks on startup.
Instead, add a command dump_clocks to print the clocks during
runtime.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:52:00 +02:00
Sascha Hauer e2c8e8a180 Add MMU support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:30 +02:00
Sascha Hauer 49ff3691b4 arm: Add bootu command
bootu command to start raw (uncompressed) Linux images

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:01 +02:00
Sascha Hauer 5db3059ebc arm: make 'bootz' configurable
also, fix compilation with bootm disabled

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:50:31 +02:00
Sascha Hauer 6df1e4b20a armlinux.c: refactor
- remove ifdeffery
- make locally used functions static
- coding style cleanup

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:27:46 +02:00
Sascha Hauer 5e1067792b armlinux: remove unused atags
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:27:46 +02:00
Sascha Hauer 270c2673a1 arm: implement optimized string functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-18 15:45:00 +02:00
Sascha Hauer 66457f42e4 return is not a function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-18 15:44:53 +02:00
Sascha Hauer 224d499e7e bootz: Speed up bootz command
We used to read the whole file with zImage booting. When the
file is really a device which is much bigger than the zImage
it's quite slow. Read the image size from the image instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-13 10:43:20 +02:00
Jan Weitzel d36dd1dcc4 i.mx35 fix clock calc
u-boot-2.0.0-rc8
Correct arm and ahb clock calculation.
Write CLKO divider to register

Signed-off-by: Andreas Adam <A.Adam@phytec.de>
Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-03 10:23:29 +02:00
Sascha Hauer ecfac0f302 Merge branch 'docu_update' of octopus:/home/jbe/work/u-boot-v2 into jbe 2009-07-31 15:13:02 +02:00
Juergen Beisert d4babacc26 Improve the ARM architecture documentation part
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Juergen Beisert 56f09a3522 Fix PLL documentation for the S3C2440 CPU
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Juergen Beisert c54abdc4f7 Add the IO API documentation for all architectures. First try.
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Juergen Beisert b8b205c72b Improve or fix various parameter documentation
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Juergen Beisert e217509033 Beautify the doxygen generated documentation
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:35 +02:00
Sascha Hauer 9e3f6a8bbc mx27: Add lcd clock function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-30 16:09:10 +02:00
Sascha Hauer 5393496165 mpc5200: remove undefined function strmhz
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer 02ba8a0542 get rid of device ids
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer 8a1d5e11bb Get rid of DEVICE_TYPE_DRAM usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Eric Benard f1627ba3d4 Add NAND to EUKREA CPUIMX27 defconfig
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-16 09:46:34 +02:00
Eric Benard b2db2e6cd8 Add Eukrea CPUIMX27 support
CPUIMX27 is built around Freescale's i.MX27 and has up to 64MB of
NOR Flash, up to 512MB of NAND Flash and up to 256MB of mDDR,
it includes an ethernet PHY in MII mode, an I2C RTC and a
ST16554 QuadUART on nCS3.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-16 09:46:34 +02:00
Luotao Fu 50cbe3e0fc IMX regression: fix GPIO_DR usage
GPIO_DR ist defined already as GPIO_GPIO in imx-regs.h. There's no need to
define archdependent GPIO_DR. This one fixes a regression brought in by
d5ec92129e

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-08 12:27:56 +02:00
Juergen Beisert f1ed0ae1c6 Add the basic support for the DIGI a9m2440 CPU card.
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 15:58:57 +02:00
Juergen Beisert 27acfbda77 Add the basic support for the DIGI a9m2410 CPU card.
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 15:58:48 +02:00
Juergen Beisert 5139e618b8 Add basic architecture support for Samsung's S3C2410 and S3C2440 CPU.
It includes a
 - driver for the internal UART
 - driver for the internal NAND controller
 - support to boot from NAND
 - PLL handling
 - SDRAM initialisation

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:36:40 +02:00
Juergen Beisert cd175ec7d2 Remove all ARM __raw_* functions. They are mixed all over
the place. This clean up all ARM architectures to use only one set
of io functions.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:35:35 +02:00
Juergen Beisert 2148865ac9 Reorganizing the i.MX menu, to be only visible for a selected i.MX platform
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:13:16 +02:00
Juergen Beisert 97799e8a16 Add IO string functions to also handle 32 bit IO locations
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:21 +02:00
Juergen Beisert a05e312009 Separate all assembler functions into their own section to
let the linker remove unused functions.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:02 +02:00
Luotao Fu 01b784d331 pca100: update defconfig
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 18:10:37 +02:00
Luotao Fu d5ec92129e mx2: add gpio direction/value setting calls
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 16:20:26 +02:00
Juergen Beisert 7733de908b Fix some layout issues and typos.
Reorganizing some files to parts of the
documentation where their content matches.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-06-10 12:47:20 +02:00
Sascha Hauer df14bf29e0 i.MX1: Fix gpt clock speed
got broken in commit:

commit 309a75baaf
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Fri Feb 20 18:14:52 2009 +0100

    i.MX use fecclk for fec and gtpclk for gpt

    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:53:30 +02:00
Sascha Hauer 3658177775 i.MX35: Add iomux support from kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:30:42 +02:00
Marc Kleine-Budde 0780441a3f [mmccpu] add new board: Bucyrus MMC-CPU
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-19 10:21:53 +02:00
Karsten Schwinne c2c1f2f8df [at91] add gpio support for at91sam9263
Signed-off-by: Karsten Schwinne <kartsten.schwinne@de.bucurus.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:00 +02:00
Sascha Hauer 287700795c pcm038: initialize PLLs in one step
We used to initialize the PLLs on PCM038 in two
steps. The first was to initialize a basic setup
so that all peripheral clocks run at their final
speed and the second step was to push the processor
to full speed after the PMIC has been initialized
for the higher voltage.
Do this in one step instead to get an easier setup.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:41:49 +02:00
Sascha Hauer c651bda2d5 pca100: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:25:36 +02:00
Sascha Hauer e5d7e49358 pcm038: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:25:05 +02:00
Sascha Hauer a3c3f66abc imx clocksource: add frequency change support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:01:58 +02:00
Sascha Hauer 0202bdcfa6 MX21ads: Add cs8900 support (got lost in last commit)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-28 11:27:24 +02:00
Ivo Clarysse 3f322b21f4 u-boot-v2: Support CS8900A on MX21ADS
Support the on-board CS8900A ethernet controller of the
MX21ADS development board.

Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
2009-04-28 08:40:37 +02:00
Sascha Hauer a3f20a4545 Arm: remove -msoft-float option
This breaks compilation on a hardfloat toolchain as we would need
AFLAGS += -msoft-float aswell. Since we do not use floating point
we can equally well remove the option completely.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-21 16:56:16 +02:00
Sascha Hauer 9665fd1ced pcm043: enable FEC driver in default config
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-20 18:50:36 +02:00
Sascha Hauer 4a6369bd9c add pca100 defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:37 +02:00
Sascha Hauer 5151577032 add initial phyCard-i.MX27 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:07 +02:00
Sascha Hauer 1be769ab30 Merge branch 'usb' 2009-04-07 11:02:14 +02:00
Ivo Clarysse e404e46b32 i.MX21: Fixes HCLK decoding for i.MX21, reports NFC clock
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 11:01:15 +02:00
Ivo Clarysse 3ccfdfd9b9 Add i.MX21ads support
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 11:00:16 +02:00
Sascha Hauer 555cd1099e pcm037: add USB support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:56:26 +02:00
Ivo Clarysse fcfbd10d3c Add Freescale i.MX21 support
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 08:55:04 +02:00
Sascha Hauer f3524c8984 i.MX31:
Rework iomux support for i.MX31:

- rename gpio-imx31.c to iomux-v2.c
- add pin definitions from Kernel
- fixup pcm037 board

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:21:28 +02:00
Sascha Hauer 5a2e3219f5 i.MX FEC Kconfig: add a ARCH_HAS_FEC_IMX symbol
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-31 11:03:49 +02:00
Sascha Hauer ec81271e06 ARM Kconfig: Move i.MX specific parts to arch/arm/mach-imx
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-31 11:00:39 +02:00
Sascha Hauer 4e2d12913d Remove accidently committed debug code
This was introduced with commit
8b75c20a41

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-26 13:22:39 +01:00
Sascha Hauer 8b75c20a41 add clko support for i.mx35
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 18:23:57 +01:00
Sascha Hauer ee36cf25b5 remove SHOW_BOOT_PROGRESS
Though useful it is currently unsued and broken. Should be reimplemented

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:40 +01:00
Sascha Hauer 0b5a776c1e Shutdown U-Boot before starting an OS
Some devices, especially the ones doing DMA should be disabled before
giving control to an OS. We take the simple approach here: Just shutdown
the devices in the reverse order they were activated.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:18 +01:00
Sascha Hauer 2b8f1b044e make internal function static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:30:26 +01:00
Sascha Hauer 309a75baaf i.MX use fecclk for fec and gtpclk for gpt
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:28:38 +01:00
Sascha Hauer a03d8b82df Fix Exception handling
Uh, oh, some copy paste bug which existed for nearly 2 years now

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:24:36 +01:00
Sascha Hauer ed53035acb add Phytec PCM043 defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:48:51 +01:00
Sascha Hauer 83ea7c1649 add Freescale MX35 3Stack defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:48:31 +01:00
Sascha Hauer 8b59688e1c ARM: Add a bootz command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer 8d62c1f629 ARM: Add simple icache enable/disable command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer 0cb4c4e2a5 imx: Add Phytec Phycore i.MX35 aka PCM043 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer 9a252f1ac9 add Support for Freescale MX35 3Stack Board
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer bee65f0d3f [ARM] Add MX35 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer b3f3ca075d [MX31] Clock Controller module: redefine registers as offsets
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:20:10 +01:00
Sascha Hauer c09d002eca update .gitignore files for linker scripts
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:28:14 +01:00
Sascha Hauer e7de22476e sandbox: Fix generation of linker script
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:25:35 +01:00
Sascha Hauer b07e9e3194 ARM: Add cpuinfo command
This command is useful to show some information about
cp15 registers

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:32:22 +01:00
Sascha Hauer 536f4bcdf8 i.MX clko command: move Kconfig text from arch/arm to mach-imx
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:31:23 +01:00
Sascha Hauer 1a3c1d3de1 i.MX: introduce imx_get_uartclk function
We need this function for MX35 support since the uart clock is not
equal to perclk1 anymore. Uh, it's really time to implement some
real clock API instead of this cruft.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:30:56 +01:00
Sascha Hauer 32f9f72e9f PCM037: Add support for different memory amounts
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 12:01:05 +01:00
Sascha Hauer dff84a5422 [AT9SAM] Fix copy-paste introduced compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 12:43:59 +01:00
Sascha Hauer baa33bd4e2 GPIO support
adopted Linux gpio code. Implemented for at91sam9. No gpiolib support
yet.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-27 17:29:57 +01:00
Marc Kleine-Budde 5482395b9e import io-{read,write}s{b,w} functions from linux
This patch imports:
- io-readsb,
- io-readsw,
- io-writesb,
- io-writesw,
from linux

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Marc Kleine-Budde 702ebd5f96 [at91sam9260ek] make defconfig working
This patch changes the TEXT_BASE to a correct value of
0x23f00000.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Sascha Hauer 5e112453b2 Sandbox: Fix make system
Sandbox compilation failed with:

gcc -Wp,-MD,arch/sandbox/lib/.tap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.1/include -I/usr/include -Iinclude -P -Wall    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tap)"  -D"KBUILD_MODNAME=KBUILD_STR(tap)" -c -o arch/sandbox/lib/tap.o arch/sandbox/lib/tap.c
In file included from /usr/include/bits/socket.h:32,
                 from /usr/include/sys/socket.h:36,
                 from arch/sandbox/lib/tap.c:29:
/usr/include/limits.h:125:26: error: limits.h: No such file or directory

/usr/include/limits.h uses the next_include directive
This was because of the -nostdinc

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 10:45:39 +02:00
Nishanth Menon e9976b7268 OMAP: Add GPMC NAND support
This patch adds support for a generic GPMC driver
also a GPMC controller driver to allow platforms
to add NAND devices generically.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02:00
Sascha Hauer 6b1c8e0f50 Merge branch 'for-sha' of ssh://sha@octopus/home/git/projects/u-boot-v2 into from-mkl 2008-09-02 09:26:30 +02:00
Sascha Hauer b1e93dc9ae pcm037: Activate lowlevel init
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:25:03 +02:00
Marc Kleine-Budde 768698925e [at91] rename pn9263_defconfig -> pm9263_defconfig
This patch fixes a typo in the defconfig name. The board is actually
called "pm9263".

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-08-29 16:12:26 +02:00
Sascha Hauer 3d3d4a6c3b pn9263: add defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:43:17 +02:00
Sascha Hauer cc8eab3217 AT9SAM: enable lowlevel init
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:52 +02:00
Sascha Hauer 47744754b1 AT91SAM clocksource: switch to new headers, implement reset_cpu
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Enrico Scholz e807d64c23 PCM038: give out chip-id at startup
This helps to debug further problems...

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Enrico Scholz bb4187c448 PCM038: re-write SPCTL0 after reading it
There seems to be a bug in the i.MX27 used on .0 and .1 module
revisions which breaks SPCTL0 setup.  There, SPCTL0 is reset to
0 after reading it causing e.g. a bad USB clock. Hence, this
patch writes back the read value.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Sascha Hauer fc9eea9b34 mx27ads: Add a defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 17:01:47 +02:00
Raghavendra KH 23ec85feeb This patch adds support for Beagle Board.
Beagle board from TI is a development platform
based on TI's OMAP3530 silicon.

You can find more about Beagle Board here: www.beagleboard.org

More on OMAP3530 (including documentation can be found here):
http://focus.ti.com/docs/prod/folders/print/omap3530.html

Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Raghavendra KH 24d376bd79 Remove duplicate OMAP3_CLOCK_CONFIG introduced by commit ID 5e4390fe
Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Nishanth Menon cb3f2e34c4 Bitops:Remove generic_funcs
Use asm-generic/bitops/xyz.h instead of using
generic_xyz functions.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon 31f9cb365e Bitops:Cleanup ARM bitops
Cleanup of ARM bitops functions.
Introduce the findbits.S which allows for
optimized algo.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Sascha Hauer 865234eb68 pcm038: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:31:19 +02:00
Sascha Hauer bbee767a01 init: add section for early code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer 3f65e8a398 ARM startup code: Whitespace changes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:13 +02:00
Sascha Hauer c3be23d9a3 ARM startup: move exception handler to extra file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:13 +02:00
Sascha Hauer e25cc045ac PPC: Add cleanup flags
Add cleanup flags to Makefile to let the linker throw away unneeded
objects.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:31 +02:00
Sascha Hauer 820c001aa2 PPC: We can configure our TEXT_BASE
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer 8db5e848bb fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer 0dd24dc17d add Ronetix pm9263 board support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 12:16:31 +02:00
Robert Schwebel 17839977ce at91sam9260ek: add defconfig
The board has no defconfig file; add one.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2008-07-30 08:02:17 +02:00
Sascha Hauer 8a03bff03e [arm] Add cleanup flags only when modules are disabled. Otherwise
we remove functions from the binary which are needed for
      modules
2008-07-03 10:30:44 +02:00
Sascha Hauer 7c37b54184 [pcm038] compile fixes, update defconfig 2008-07-03 10:29:17 +02:00
Sascha Hauer 64b73c2543 [pcm037] compile fixes, update defconfig 2008-07-03 10:28:46 +02:00
Sascha Hauer ecac80aa28 [mpc5200] fix compiler warnings 2008-07-03 10:28:16 +02:00
Sascha Hauer 9ee335f0a5 [netx] compile fixes, update netx defconfig 2008-07-03 10:27:48 +02:00
Sascha Hauer 9f21fe3326 [ppc] compile fixes, update defconfig for pcm030 2008-07-03 10:26:53 +02:00
Sascha Hauer 4b225a906f [blackfin] compile fixes, update defconfig 2008-07-03 10:26:13 +02:00
Sascha Hauer 2af6483cbf [blackfin] memory layout related compile fixes 2008-07-03 09:07:15 +02:00
Sascha Hauer 0fe550662d Fix typo introduced with commit 9e6ee5e795 2008-06-24 11:17:29 +02:00
Sascha Hauer 5fef327aaf remove start-intcm.S. it is currently unused and broken 2008-06-06 09:30:47 +02:00
Sascha Hauer f3351ebd78 add basic at91sam9260 support. Currently only second stage
bootloader is supported:
- No SDRAM initialisation
- No UART init / baudrate change
2008-06-06 09:30:32 +02:00
Nishanth Menon 3cde41fb90 017-OMAP-add-documentation
[Patch 17/17] U-Boot-V2:ARM:OMAP3: Add documentation

This patch adds OMAP and SDP3430 documentation.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:44 +02:00
Nishanth Menon db969e1100 015-OMAP-add-SDP3430
[Patch 15/17] U-Boot-V2:ARM:OMAP3: Add support for SDP3430 support files

This patch introduces support for OMAP Boards common infrastructure.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:43 +02:00
Nishanth Menon c6ed31bbc4 012-OMAP-add-silicon-part2
[Patch 12/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP3 Silicon files

This patch introduces support for OMAP3430 clocking infrastructure. Please note that SRAM based configuration requires GPMC values to be updated before returning to caller- TBD.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:42 +02:00
Nishanth Menon 5e4390fef3 011-OMAP-add-silicon
[Patch 11/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP3 Silicon files

This patch introduces support for OMAP3430 - provides for generic OMAP3 files.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:32 +02:00
Nishanth Menon 053034d182 010-OMAP-addbase
[Patch 10/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP and Cortex A8

This patch adds support for OMAP3 platforms. Mainly to setup the infrastructure.
ARMV7 requires a different I/D cache cleanup code which is introduced in this patch

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:28 +02:00
Nishanth Menon 1ecafc5f8d 004-arm-makefile
[Patch 04/17] U-Boot-V2:ARM: Remove unwanted flags from Makefile

CFLAGS: "-D __ARM__" should have been "-D__ARM__". this breaks sparse check.
Further -nostdinc in Makefile is redfined by
commit ID:847934bc960ba1588c87e283118318dfdd78d4c0
This is unecessary as NOSTDINC_FLAGS defines it

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:14 +02:00
Nishanth Menon a5a28b6829 003-lds-handle
[Patch 03/17] U-Boot-V2:ARM: Fix lds file for multiple section enable.
By enabling -fdata-sections -ffunction-sections in arch/arm/Makefile, gcc splits the code into multiple section.
by using * wildcard we can bunch them into the areas we want them to be.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:11 +02:00
Nishanth Menon 9a364f5157 001-arch-config
[Patch 01/17][Try 3] U-Boot-V2: ARM: Add ARCH lowlevel Init

This Patch adds CONFIG_ARCH_HAS_LOWLEVEL_INIT as discussed in thread
http://www.nabble.com/-Patch--U-Boot-V2%3A-Introduce-CONFIG_ARCH_HAS_INIT_LOWLEVEL-to17134638.html#a17188894

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:03 +02:00
Sascha Hauer 596c845072 [memory layout]: streamline memory layout
Memory layout can now be specified via kconfig options. Two
possibilities exist: default layout means the layout is stack
/ malloc heap / U-Boot. The user can also specify fixed addresses
for each TEXT_BASE / stack / malloc heap.
2008-06-04 11:54:03 +02:00
Sascha Hauer 9e6ee5e795 [sandbox] export ELF_CLASS for sandbox 2008-06-03 13:35:35 +02:00
Sascha Hauer cd75dd3647 [kbuild] remove -Wstritct-prototypes from arch/ppc/Makefile. It's
already in toplevel Makefile
2008-06-03 12:56:35 +02:00
Sascha Hauer 36ffd6f18a [kbuild] move -pipe from architecture Makefiles to toplevel
Makefile
2008-06-03 12:54:37 +02:00
Sascha Hauer 39a78d9951 [kbuild] remove -Wall from architecture Makefiles. It's already
in toplevel CFLAGS
2008-06-03 12:51:05 +02:00
Sascha Hauer 847934bc96 [kbuild] move -nostdinc from architecture Makefiles to toplevel
Makefile
2008-06-03 12:39:45 +02:00
Sascha Hauer b8725ffe1d [kbuild] move -ffreestanding from architecture Makefiles to toplevel
Makefile
2008-06-03 12:37:52 +02:00
Sascha Hauer bca64df501 [kbuild] move -fno-builtin from architecture Makefiles to toplevel
Makefile
2008-06-03 12:36:35 +02:00
Sascha Hauer 7681d868ba [kbuild] move -Os flag from architecture Makefiles to toplevel
Makefile
2008-06-03 12:29:57 +02:00
Sascha Hauer 878f38de8f [kbuild] change architecture Makefiles not to overwrite
CFLAGS, instead append them to the existing CFLAGS.
	 Also, remove all double CFLAGS
2008-06-03 12:24:50 +02:00
Menon, Nishanth 22d3dc0d27 [arm] remove unsused sections while linking 2008-05-12 15:52:23 +02:00
Menon, Nishanth cb73b0c227 Change CONFIG_SKIP_LOWLEVEL_INIT to CONFIG_MACH_DO_LOWLEVEL_INIT
as we rather use positive logic. Make it dependent on boards that
have it rather than on ARM

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-05-12 11:35:15 +02:00
Sascha Hauer d5a9d7dc1d start-arm.S is not thought to be ARM920 specific. reflect this in the comment. 2008-05-07 16:25:46 +02:00
Nishanth Menon 3b94eca260 Replace start-arm920t.S with start-arm.S
Replace start-arm920t.S with start-arm.S. This will allow for a common logic
to handle 

Signed-off-by: Nishanth Menon <x0nishan@ti.com>

--
2008-05-07 16:24:51 +02:00
Sascha Hauer 9c7d282579 [general] Move include/configs/* to board/*/config.h 2008-04-07 12:18:05 +02:00
Sascha Hauer ae6cc2d36b [m68k] Add Freescale Coldfire V4E Architecture support
- Added m68k vector, exception & interrupt handlers
- Added m68k macros to access m68k movec registers
- Added Coldfire support code (MultiChannelDMA)
- Added board support for phytec phyCore-MCF baseboard
- Added board support for konzeptpark MCB2 prototype

Signed-off-by: Carsten Schlote <schlote@vahanus.net>
2008-04-04 18:16:06 +02:00
Sascha Hauer 35497c757c Merge branch 'master' of ssh://sha@octopus/home/git/projects/u-boot-v2 2008-04-04 14:50:23 +02:00
Sascha Hauer 9c9f3ffd16 Doxygen cleanups
- Remove trailing whitespaces from doxygen files
- escape '<' '>' with backslashes. Otherwise Doxygen interpretes them as
  html tags

Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Enrik Berkhan 03f8b48daa Some Blackfin CPU revs don't handle the clock pre-divider correctly on reset
See anomaly 05000242.

Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-03-14 17:11:51 +01:00
Sascha Hauer 2d4dfd47d0 cosmetics: fix indention 2008-03-14 13:04:26 +01:00
Sascha Hauer e833cba394 add clko command for i.MX27 2008-03-14 13:03:43 +01:00
Sascha Hauer 5864a49007 imx27: Fix calculation of ahb clock and ipg clock 2008-03-11 22:00:47 +01:00
Sascha Hauer d9016f7cce do not sleep if read gets EAGAIN. Must be some testing leftover 2008-03-11 21:48:38 +01:00
Sascha Hauer 8759e68de2 Add the possibility to have an architecture specific ctrlc() function.
This allows us to return immediately in ctrlc() on sandbox and thus
not slow down network througput.
2008-03-11 00:00:37 +01:00
Sascha Hauer 187847b2b4 add globbing support 2008-03-09 22:35:38 +01:00
Sascha Hauer 8d8f900366 [ARM] Remove CONFIG_ARCH_NUMBER from Kconfig system. Putting too many
values into kconfig which are not user configurable at all only
      encourages people to put even more stuff in there. This is not
      good because people tend to have board patches lying around and
      these patches won't apply regularly if they all change the same
      file (arch/arm/Kconfig)
      Instead, introduce a function armlinux_set_architecture() which
      everyone can call during board setup.
      Similarly introduce armlinux_set_bootparams() for the boot
      parameter pointer.
2008-02-26 15:38:37 +01:00
Carsten Schlote 1fd9c5a05c [ppc] Fixed orphaned CONFIG_INTERRUPTS
Changed CONFIG to CONFIG_USE_IRQ

Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
2008-02-21 15:07:49 +01:00
Sascha Hauer a28726cf51 [blackfin]: register handler for booting linux images 2008-02-21 13:18:53 +01:00
Sascha Hauer 28ab141867 [MPC5200]: call early_init() after we've setup our timing. Otherwise
the console gets messed up afterwards.
2008-02-21 13:06:38 +01:00
Sascha Hauer a26eca758e Make the early console device/baudrate configurable instead of using
hardcoded values
2008-02-21 13:05:19 +01:00
Sascha Hauer 39050a4c66 [MPC5200] Make MPC5XXX_EARLY_CONSOLE dependent on ARCH_MPC5200 2008-02-21 13:04:03 +01:00
Sascha Hauer 9beb36884b [ARM] Remove ARCH_NUMBERs from config.h and put them into Kconfig 2008-02-20 19:03:24 +01:00
Sascha Hauer f95ec8a32d - Add functions to register image handlers for booting uImages 2008-02-20 19:01:54 +01:00
Sascha Hauer 7b4e9c4a82 [i.MX]: Basic board support for the Freescale i.MX27 eval board 2008-02-19 15:59:37 +01:00
Sascha Hauer ecaadd17aa [i.MX]: Fix i.MX27 clock functions according to the chip revision 2008-02-19 15:51:34 +01:00
Sascha Hauer 2ae190a9dd [i.MX] add function to determine chip revision 2008-02-19 15:50:43 +01:00
Sascha Hauer bb6d50805a [netx]: Fix function prototype for do_loadxc 2008-02-19 09:53:48 +01:00
Wolfram Sang 43ff909fb2 [IPE337] refreshed defconfig
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-24 11:07:34 +01:00
Wolfram Sang e18ff815e3 [IPE337] Better support for multiple revision
Changed bool into choice

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-24 11:06:54 +01:00
Wolfram Sang a119fc273b Make board IPE337 revision 2 selectable for .config
A new menu "Board options" is introduced, where one can select if the board
is a rev.2 (= 40Mhz)

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-23 20:44:32 +01:00
Enrik Berkhan 35fd1e8f5b Fix/Adapt settings for version 2 of IPE337
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +01:00
Enrik Berkhan 9f27a5f068 Enable blackfin boot rom boot modes
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +01:00
Marc Kleine-Budde 5c2afd89e1 [sandbox] fix read for buffers of zero length
This patch fixes the read function for the linux sandbox if a buffer
of zero length should be read. The error handling introduced in
6574529bb5 detects a false positive if the
length is zero.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-01-02 21:48:31 +01:00
Marc Kleine-Budde 049063e2ad remove -isystem with empty argument
This patch removes the "-isystem $(gccincdir)" from the
arch/*/Makefile because gccindir is empty.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 20:03:37 +01:00
Marc Kleine-Budde f6f9065213 [sandbox] new defconfig
regenerated sandbox' defconfig

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:46:55 +01:00
Marc Kleine-Budde 6574529bb5 [sandbox] add error handling to read
This patch adds propper error handling to the linux' read functions.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:50 +01:00
Marc Kleine-Budde aff35bbe09 improved codingstyle
this patch improves the codingstyle

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:49 +01:00
Marc Kleine-Budde 66bdf91279 [sparse] define functions static, use NULL as NULL pointer
fixes:
arch/sandbox/board/hostfile.c:32:9: warning: symbol 'hf_read' was not declared. Should it be static?
arch/sandbox/board/hostfile.c:43:9: warning: symbol 'hf_write' was not declared. Should it be static?

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:49 +01:00
Marc Kleine-Budde c27f282cc3 [sparse] declare functions static
this fixes:
arch/sandbox/board/clock.c:28:10: warning: symbol 'linux_clocksource_read' was not declared. Should it be static?

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:48 +01:00
Marc Kleine-Budde a69f6b6836 [sparse] declare functions static
this fixes:
arch/sandbox/board/hostfile.c:32:9: warning: symbol 'hf_read' was not declared. Should it be static?
arch/sandbox/board/hostfile.c:43:9: warning: symbol 'hf_write' was not declared. Should it be static?

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:48 +01:00
Marc Kleine-Budde 039248654a [sandbox] fix stdin and stdout fd for sandbox console
u_boot_register_console uses the wrong filedescriptors for in and out
the are swapped. This patch fixes this problem and uses fileno instead.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:47 +01:00
Marc Kleine-Budde dbfef6fb63 [sandbox] HACK: add variable _SDA_BASE_ to main, to please linker
This patch is a _CRUDE_HACK_ the linker complains about the missing
symbol _SDA_BASE_ on powerpc, so git it to him to please him and
finally link the sandbx.

LD      uboot
/usr/lib/gcc/powerpc-linux-gnu/4.2.3/../../../../lib/crt1.o:(.rodata+0x0): undefined reference to `_SDA_BASE_'

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:47 +01:00
Marc Kleine-Budde ebe11c4f22 [sandbox] add ELF_{ARCH,FORMAT} for powerpc
This patch adds the needed ELF_{ARCH,FORMAT} for the sandbox on powerpc

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:46 +01:00
Marc Kleine-Budde be57231bc8 [sandbox] use C99 initializers
This patch uses C99 initializers to initialize the timeout in linux_tstc()

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 10:05:47 +01:00
Marc Kleine-Budde 66671b505f [pcm038] regenerate defconfig
This patch regenerates pcm038s defconfig

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 09:52:19 +01:00
Robert Schwebel 675ff8ef8c [imx] make frequency output nicer
Make the frequency output a little bit nicer

From: Robert Schwebel <r.schwebel@pengutronix.de>

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:04:57 +01:00
Robert Schwebel d86ba7d308 remove gpio debug output for imx
Remove a bogus debug output in the gpio initialization code for i.MX.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:03:27 +01:00
Robert Schwebel 7067e21f3f cleanup do_bootm_linux()
This patch cleans up the do_bootm_linux() function. It removes most of
the uggly ifdefery and replaces it by a sane function optimizing
structure.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:03:27 +01:00
Marc Kleine-Budde 57bb3cd90d don't against link libgcc
We don't want to link against libgcc.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 08:21:02 +01:00
Robert Schwebel 0fb3ec4e7e remove warnings
This patch fixes the following warnings:

arch/arm/cpu/cpu.c:176:4: warning: no newline at end of file
commands/bootm.c:872:4: warning: no newline at end of file

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-27 21:32:33 +01:00
Marc Kleine-Budde 0537946263 [menuconfig] fix indention for Arm specific settings
This patch fixes the indention for the menu "Arm specific settings"

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-27 21:32:33 +01:00
Juergen Beisert ab6d772b8e consider separated commands in pcm038's default config
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-15 18:41:36 +01:00
Marc Kleine-Budde bd8081b620 [ipe337] rename environment subdir form defenv -> env
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 14:03:45 +01:00
Juergen Beisert 9b77ffedf7 Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2 2007-11-09 14:09:54 +01:00
Juergen Beisert 9b07bdbbdc Merge branch 'docu' 2007-11-09 14:06:57 +01:00
Marc Kleine-Budde ff0b721962 Revert "add linker script for sandbox"
This reverts commit 175e8438df.
2007-11-09 13:02:31 +01:00
Robert Schwebel 1686ed0707 Merge branch 'master' of ssh://rsc@octopus/home/git/projects/u-boot-v2 2007-11-08 18:25:53 +01:00
Juergen Beisert a7d96488e5 Using correct board names all over the place
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-08 18:23:44 +01:00
Robert Schwebel 0e58480478 Merge branch 'master' of ssh://rsc@octopus/home/git/projects/u-boot-v2 2007-11-08 17:22:51 +01:00
Juergen Beisert e5eba4cf3a enabling correct network driver for i.MX27 2007-11-08 17:20:50 +01:00
Juergen Beisert 8fe25ecf12 adding various doku 2007-11-08 12:01:52 +01:00
Juergen Beisert 733636a573 adding first default config 2007-11-05 18:18:50 +01:00
Juergen Beisert 0a13be8de2 various docu added 2007-11-05 15:20:31 +01:00
Juergen Beisert 4cd877a840 saving added docu 2007-11-05 14:39:07 +01:00
Juergen Beisert c0f66e1ca4 Merge ../u-boot-v2-arm into jbe-imx27 2007-11-05 12:27:15 +01:00
Juergen Beisert 1cb7062653 integrating sha's changes into jbe's branch 2007-11-05 12:26:29 +01:00
Marc Kleine-Budde 246db4fe93 added lds-y for sandbox
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-10-31 16:43:17 +00:00
Robert Schwebel (Laptop) 175e8438df add linker script for sandbox 2007-10-31 17:21:29 +01:00
Sascha Hauer a26a5ef28f Replace all occurences of UBoot with U-Boot
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:20:27 +02:00
Sascha Hauer 5614e5c6d6 ipe337: Update defconfig (fix TEXT_BASE)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 11:51:44 +02:00
Sascha Hauer bf4d8056b0 Blackfin: Need to mask all interrupts before starting Linux.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-23 12:25:14 +02:00
Juergen Beisert a26f5e995e some doc added to uboot's simlator feature. Not finished yet. 2007-10-20 16:56:29 +02:00
Juergen Beisert be65b56a89 reset doc added for ARM 2007-10-19 16:35:25 +02:00
Juergen Beisert 53dd8423a5 adding new doc 2007-10-19 15:23:48 +02:00
Juergen Beisert afe73cff56 doc added and some reorganised 2007-10-19 14:56:45 +02:00
Juergen Beisert b21ed7177c basic doc structure added 2007-10-19 13:19:43 +02:00
Juergen Beisert 6ad2703e6e Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2 2007-10-19 11:58:33 +02:00
Juergen Beisert 99ebb0e0fc deficonfig for i.MX31 system added 2007-10-19 11:43:16 +02:00
Juergen Beisert 0d884b8417 GPIO handling on i.MX31 added 2007-10-19 11:39:49 +02:00
sascha a39dde980d remove CONFIG_IDENT_STRING. It's unused 2007-10-19 11:07:06 +02:00
sascha 2c6d0f711d update scb9328 defconfig 2007-10-19 11:00:57 +02:00
Juergen Beisert 075131631b make the clocksource work on current CPUs 2007-10-18 00:04:47 +02:00
Juergen Beisert c054a3682d Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2 2007-10-17 21:09:54 +02:00
Juergen Beisert 4c03bb1d58 first time running 2007-10-17 21:09:25 +02:00
sascha bd8ac3ec63 arch/arm/Makefile: fix proc link creation for external builds 2007-10-17 19:03:38 +02:00
sascha 5d746e8953 add generic linker script for arm 2007-10-17 18:23:34 +02:00
Juergen Beisert 3d1940a4a0 merge sha + jbe 2007-10-17 18:12:33 +02:00
Juergen Beisert 3be8ed2fa1 adding i.MX31 CPU support 2007-10-17 17:57:55 +02:00
Juergen Beisert 60f8ee6f3f adding GPL header 2007-10-17 17:56:13 +02:00
Juergen Beisert 7e047fd879 making watchdog handling independend from ifdefs 2007-10-17 17:49:23 +02:00
sascha d59ca7feb3 Linking: Remove linker scripts from (arm based-) boards and add
a generic linker script to arch/arm/lib/u-boot.lds.S.
	 If a board wants to overwrite a linker script it can do
	 so using CONFIG_BOARD_LINKER_SCRIPT.
	 There is no generic linker script for ppc and blackfin
	 yet, so still use the board specific one.
2007-10-17 12:21:53 +02:00