9
0
Fork 0
Commit Graph

1881 Commits

Author SHA1 Message Date
Marc Kleine-Budde c18c577722 [mac] add force link support
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:04 +02:00
Marc Kleine-Budde 4a770377d1 [miiphy] add feature to force link present
If a NIC's MII isn't connected to a PHY but directly to a switch port,
the switch doesn't sent a link signal to the NIC. (Because strictly
speaking, there isn't any ethernet link at all.)

This patch adds a force link feature to the phy, to cope with this
situation.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:04 +02:00
Marc Kleine-Budde 26a8987c46 [macb] add MII flag, improve code readability
This patch adds the flag "AT91SAM_ETHER_MII" along to the existing
"AT91SAM_ETHER_RMII". This improves code readability in baords which
are using plain MII mode.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:04 +02:00
Sascha Hauer 06a20b38f8 Add notifier framework
This is loosely based on the Linux notifier framework, but
stripped down to the bare minimum.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:00:11 +02:00
Sascha Hauer b548da81fe Add usb include files missing from USB merge
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-08 12:30:16 +02:00
Sascha Hauer 277b605eae USB support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:56:22 +02:00
Sascha Hauer e97918fbf1 miiphy: add miiphy_unregister function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:42:33 +02:00
Sascha Hauer 2230eea29b net: add eth_unregister function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:42:33 +02:00
Sascha Hauer 4511a8873b we need different bus types
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:42:33 +02:00
Sascha Hauer 03c2189aa8 initial USB support imported from U-Boot-1
imported from commit bd76729bcbfd64b5d016a9b936f058931fc06eaf.
Only minor changes to make it compile.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:42:33 +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 7703263340 fix dev_* macros
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:22:28 +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 b4b94664f0 i.MX31: add OTG base address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:21:02 +02:00
Sascha Hauer f090bca2d8 add __[lb]e types
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:12:54 +02:00
Sascha Hauer 2672196646 fix pr_debug
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:12:29 +02: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 8a2e721fc5 Flush consoles before exiting
We use FIFOs on some devices, so flush them before exiting so
we do not get funny characters in the output.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:24 +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 36ae69a2dc remove unused stuff from include/common.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:13 +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 1e20d6bc20 fec imx27: Add RMII support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:24 +01:00
Sascha Hauer 370f550107 fec imx27: configure phy address from platform data
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:16 +01:00
Sascha Hauer 3a84dd9bac include/malloc.h: add multiple inclusion protection
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:24:45 +01:00
Sascha Hauer 612c27f97e ARM: Add cache-l2x0 definitions
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 9995a8caf5 ARM: update mach-types.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:08:46 +01:00
Sascha Hauer 9e00177172 [MX31] Use common PLL defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:08:43 +01:00
Sascha Hauer 4d19a68f35 [MX27] use common PLL defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:07:23 +01:00
Sascha Hauer 4aae146bee [i.MX] Add header file for PLL registers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:07: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 5ccd3fd093 MX27/MX3: Move common SDRAM Controller bits to extra file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 12:00:25 +01:00
fredo 954f52d605 correct warning
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +01:00
Nishanth Menon 7e9bb400cf ARM:io - fix iomem define
__iomem define is required to use io.h
this define is present in mtd_compat OR
in compiler.h. using compiler.h as being
generic

Signed-off-by: Nishanth Menon <nm@ti.com>
2008-12-09 11:26:27 +01:00
Sascha Hauer 87d4b9ec09 [AT9SAM] implement different ECC modes for NAND chips
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 14:04:42 +01:00
Sascha Hauer c3fc1364d9 Introduce dev_* and pr_* functions
Proven to be useful in linux kernel, U-Boot should have such a thing
aswell. We do not distinguish between the various print levels others
than debug and not debug.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 14:02:25 +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 27a7de44ee [at91sam9] Nand driver
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-27 17:29:29 +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
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 a288018b6f pcm038: implement better waiting for PLLs
Instead of using a trivial counting loop we poll the 32KHz oscillator
to wait for the PLLs to stabilize

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-09 14:13:59 +02:00
Sascha Hauer dd7a74db87 ARM bitops: fix for arm arch < 5
The correct bitops implementation depends on __LINUX_ARM_ARCH__ being
set. We do not currently support this variable. Change the default case
to < armv5, so that we do not end up with clz instructions in v4 code.
This is actually a workaround, the correct solution is to set
__LINUX_ARM_ARCH__ correctly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 15:38:46 +02:00
Sascha Hauer b8efcd997f ARM: update mach-types
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:24:19 +02:00
Sascha Hauer d85e73776a envfs: remove bogus #warning statement
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 8ec84b8673 AT91SAM: Use Atmel header files from their Bootstrap code (ver 1.9)
The header files are neither small nor beautiful, but they are complete ;)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:45 +02:00
Sascha Hauer bcb049a702 string: add typechecking for strchr, strrchr, strstr
These functions offered an excellent possibility to bypass compiler
type checking.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer 0004d78381 remove unnecessary double string function declarations
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer c0d02ffc3d Fix string_to_ip
Use a pointer to an ip address instead of the return value in string_to_ip
and use the return value for error indication only. 0.0.0.0 can be a valid
ip address

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:47 +02:00
Sascha Hauer 33c488f8c1 net: remove unused function declarations
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 13:16:03 +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
Nishanth Menon 5fc0e871d5 U-Boot-V2:Bitops: asm-generic bitops
This introduces selected generic bitop files from
kernel. We don't need minix, ext2, sched or lock
based bitops. Those have been dropped.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:49 +02:00
Sascha Hauer e133ccdda8 implement memmap for mem driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 10:25:56 +02:00
Sascha Hauer 65778b63d2 Partition: Add an own device id for partitions
Add an own device id for partitions. This is necessary to allow
the partition layer to check if the given device is really a partition.
Also, check for readonly flag in erase.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:28:10 +02:00
Sascha Hauer e6b42af9c5 increase maximum driver name length to 32
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 08:42:32 +02:00
Sascha Hauer fd12d4cd77 SPI: Add empty spi_register_board_info function when SPI is disabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer 1fbb5f65d6 nand: Allow adding/removing of more than one bad block aware device at once
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer c5934b3a8b imx27: Add BOOT bitfield definitions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer e33ff403f3 remove unused include file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +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 e90e319aeb Add i.MX NAND driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer 72314f26d6 i.MX27: Add NAND Flash Controller base address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer d9af366450 NAND: Add updated NAND support from Kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer a131b1abc3 Add new device types for NAND
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer 12f00ac59c add include/linux/kernel.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:09 +02:00
Sascha Hauer 8b9dd936e8 Add include/linux/err.h from Kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:22 +02:00
Sascha Hauer 31cb2f0347 add wrapper macros for easier inclusion of kernel code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:22 +02:00
Sascha Hauer 4c01ac2e0e clocK: Add ndelay function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:22 +02:00
Sascha Hauer 2db67353f3 add compiler header files from kernel
Add include/linux/compiler*.h from Linux Kernel and remove old
include/compiler.h

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:17 +02:00
Sascha Hauer 9ce10ee66e PPC: need memset in elf.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer f043f32b82 partition: Add dummy dev_add_partition when partitions are disabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:26 +02:00
Sascha Hauer 932b57873d move several commands into extra files
move false, true, help, insmod, lsmod, version into extra files

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:17 +02:00
Sascha Hauer 74874be56a [AT91sam]: Add definitions for at91sam9263
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 11:59:44 +02:00
Sascha Hauer c10e20846d at91sam ether: Make more configurable via platform_data
Pass RMII and phy address via platform data rather than hardcoded.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 11:33:12 +02:00
Sascha Hauer b28943274b [ppc] include string.h in include/asm-ppc/elf.h, needed for memset 2008-07-03 10:32:08 +02:00
Sascha Hauer a91979a87d oops 2008-06-06 09:37:44 +02:00
Sascha Hauer ee6d36a540 - introduce ioctl call
- pass open/close/lseek through to drivers
2008-06-06 09:30:48 +02:00
Sascha Hauer 3d45abb7c4 [NAND] continue to make it work. Now works partly on at91sam9260 2008-06-06 09:30:39 +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 03f9461862 014-OMAP-add-mux-header
[Patch 14/17] U-Boot-V2:ARM:OMAP3: Add mux Header

This patch adds the OMAP3 mux header.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:43 +02:00
Nishanth Menon 9cca7cf662 013-OMAP-add-silicon-headers
[Patch 13/17] U-Boot-V2:ARM:OMAP3: Add generic Headers

This patch adds the generic OMAP headers and OMAP specific headers.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:42 +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 cd008fb265 009-add-NS16550
[Patch 09/17] U-Boot-V2:Serial: Add support for NS16550 Driver.

This introduces support for NS16550 and related OMAP support. This driver is a port from Uboot v1 driver from OMAP's Uboot tree.
OMAP U-Boot V1 source is available here: http://linux.omap.com/pub/bootloader/3430sdp/u-boot-v1.tar.gz

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:21 +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 beaab972f8 hardcode _FILE_OFFSET_BITS to 32 2008-06-03 13:34:45 +02:00
Sascha Hauer 9d0662bc0a net.h: no need to put extern declarations in ifdefs 2008-06-03 13:33:22 +02:00
Sascha Hauer aa2111e257 fix warnings in malloc code introduced by last commits 2008-06-03 13:30:38 +02:00
Sascha Hauer dabec3a7a1 Merge branch 'master' of git://www.denx.de/git/u-boot-v2 2008-06-02 16:13:14 +02:00
Menon, Nishanth 22d3dc0d27 [arm] remove unsused sections while linking 2008-05-12 15:52:23 +02:00
Sascha Hauer c3ec6a862c [cramfs] fix compiler warning about undefined __LITTLE_ENDIAN 2008-04-07 12:19:36 +02:00
Sascha Hauer 9c7d282579 [general] Move include/configs/* to board/*/config.h 2008-04-07 12:18:05 +02:00
Sascha Hauer 5b671e9611 remove unused mx1ads.h 2008-04-07 11:24:26 +02:00
Sascha Hauer f27462d6df remove currently unused lcd.h 2008-04-07 11:23:32 +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 50cc8c5412 Subject: [PATCH] [general] Fixed constant strings in data section issue
For practical reasons I changed all string literals assumed to be constant
to reside in .rodata subsection at end of .text section.

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
Sascha Hauer a9912f68c6 Fixed orphaned CONFIG_INTERRUPTS
replace remaining CONFIG_INTERRUPTS with CONFIG_USE_IRQ

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
Sascha Hauer 839aaaf9ef add protection from double inclusion in string.h 2008-03-31 21:55:34 +02:00
Sascha Hauer c2d756b84b add CSPI1 GPIO defines 2008-03-14 13:05:29 +01:00
Sascha Hauer a14a5c02f0 first (partly) running spi support 2008-03-14 12:59:55 +01:00
Sascha Hauer 906eea397a beginning of SPI support 2008-03-11 22:13:06 +01:00
Sascha Hauer 1871125c56 add several SDRAM Controller and PLL related register defintions
to imx27-regs.h
2008-03-11 21:59:26 +01:00
Sascha Hauer ce172e152e add ls -c and -l 2008-03-11 21:41:56 +01:00
Sascha Hauer f5a9246875 use newly introduced stringlist functions for tab completion 2008-03-11 21:40:40 +01:00
Sascha Hauer 8f35e16333 add stringlist function. They can be used to build a list
of strings. For now mainly useful to print the resulting
list in columns which is used in tab completion and ls.
2008-03-11 21:38:22 +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 1a8e0f589f add armlinux.h 2008-03-01 22:47:46 +01:00
Sascha Hauer c0770312bc remove traces of old tab completion 2008-03-01 22:47:06 +01:00
Sascha Hauer df31bb46be implement TAB completion 2008-03-01 21:08:14 +01:00
Sascha Hauer a1a747af7f fix typo 2008-03-01 21:06:14 +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
Sascha Hauer 066ac7abdb [CFI driver] add missing flash protection for new driver 2008-02-26 11:55:41 +01:00
Sascha Hauer 3d3c13d8f8 [CFI Driver] - Update Kconfig help texts
- Turn switch/case into if/else to be able to optimize out
	       unused code when not all bankwidths are needed
2008-02-26 11:28:55 +01:00
Sascha Hauer 51c840cd18 [CFI driver] For some Spansion flashes we have to write the
AMD_CMD_WRITE_TO_BUFFER command to the destination
	     address of the buffer write and not to the sector
	     beginning. Linux mtd does this as default, so I
	     assume this should work for other flashes aswell.
	     Reorder functions so that this change fits in nicely.
2008-02-26 10:32:25 +01:00
Sascha Hauer 7f88a7844c [CFI FLASH] Make the 'new' driver compile again and reorder functions to
get rid of static function declarations.
2008-02-25 18:41:25 +01:00
Sascha Hauer fa052abb64 add missing include 2008-02-20 19:07:47 +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 8d4e06d3d5 [mpc5200 fec] revert to some old version (somehow my play version got into the
repository). Runtime tested on pcm030
2008-02-20 17:48:31 +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 d5caf5ec5b [i.MX27]: Add CSx base addresses 2008-02-19 15:53:18 +01:00
Sascha Hauer c47beef096 [i.MX]: Add imx_get_ipgclk() prototype 2008-02-19 15:52:15 +01:00
Sascha Hauer 2ae190a9dd [i.MX] add function to determine chip revision 2008-02-19 15:50:43 +01:00
Carsten Schlote 4bc43ee28c [general] Fixed remaining defines for envfs in big-endian mode
Trivial - completed macros
2008-02-19 08:56:27 +01:00
Carsten Schlote db291de280 [general] Fixed endian handling for envfs
Fixed the handling of data similiar as found in cramfs.

This fixes the problem with an unreadable defaultenv on big-endian
targets.

The endian macors are now loaded from /asm/common.h by default.

Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
2008-02-19 08:56:01 +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
Marc Kleine-Budde 17e0a74ed3 [sparse] don't return sth in a void function
fixed
include/stdio.h:23:2: warning: returning void-valued expression

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:47 +01:00
Marc Kleine-Budde fb56fffbcb [sandbox] add propper sandbox detection
This patch adds a __SANDBOX__ define to identify compiling for the
sandbox.
When building for sandbox, don't use sync() workaround.

Fixes this error for sandbox on PPC:

CC      common/memsize.o
common/memsize.c:30:38: error: asm/io.h: No such file or directory
common/memsize.c: In function 'get_ram_size':
common/memsize.c:51: warning: implicit declaration of function 'sync'

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:46 +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
Robert Schwebel f8e7e8eeba fixed CONFIG_BOOT_PARAMS
Fixed CONFIG_BOOT_PARAMS location

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:01:19 +01:00
Marc Kleine-Budde e68ac6368d Revert "separating memory commands"
This reverts commit d59c600c65.

Conflicts:

	commands/Makefile
	common/Kconfig
	common/Makefile

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-27 23:19:55 +01:00
Juergen Beisert afbdded02a using the shiny new machine type for pcm038
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-15 18:42:14 +01:00
Juergen Beisert 6e601dc191 adding pcm038's macine type
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-15 18:40:17 +01:00
Juergen Beisert dae2d42d9b doc fixed in i.MX27 fec related files
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert 8413d78ab3 separating environment commands, part 2
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert 2966bba216 separating environment commands, part 1
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert d59c600c65 separating memory commands
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert f4ba1fff89 adding and correcting driver's doc
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 12:01:18 +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
Juergen Beisert 903d775d32 adding first clean mx27 only fec driver 2007-11-08 16:24:51 +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
Robert Schwebel 319b521955 add missing bitops.h for sandbox arch 2007-10-31 17:18:46 +01:00
Sascha Hauer fb85d9e8a1 blackfin: Do not include linux/config.h. It does not exist.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 11:53:52 +02:00
sascha 3f90fc9d3e NAND support work in progress 2007-10-20 01:13:46 +02:00
Juergen Beisert b90fc81605 doc added (what else) 2007-10-19 15:35:37 +02:00
sascha ad72b775f1 Merge octopus:/home/git/projects/u-boot-v2 2007-10-19 13:07:01 +02:00
sascha f1020bd2d5 add list_add_sort to list implementation 2007-10-19 12:43:00 +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 c616179204 doc added only 2007-10-19 11:58:22 +02:00
sascha 83f101bc30 fix compiler warning 2007-10-19 11:06:32 +02:00
sascha 3b6d6a45e7 - Implement tree structure for devices
- Use device tree structure to implement partitions
- Let devinfo print a nice tree
- Introduce 'fixed' partitions which are not removable
- Fix mount: It was not possible to mount on a relative path.
2007-10-19 08:45:57 +02:00
sascha ad0bfce51d Merge octopus:/home/git/projects/u-boot-v2 2007-10-18 12:07:05 +02:00
sascha 2db56b3031 When printing error messages about network parameters print
the network device id with it.
2007-10-18 12:06:50 +02:00
Juergen Beisert d8eae58a2a Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2 2007-10-18 11:55:03 +02:00
Juergen Beisert b8ac6051d7 chip select area sizes added 2007-10-18 11:52:33 +02:00
sascha 75b605bfd2 Merge octopus:/home/git/projects/u-boot-v2 2007-10-18 11:17:32 +02:00
sascha 1b272d80f1 change functions containing 'mac' or 'enet' in its name to 'ethaddr'.
change the parameter name for ethernet devices to 'ethaddr' aswell.
2007-10-18 11:17:16 +02:00
Juergen Beisert 075131631b make the clocksource work on current CPUs 2007-10-18 00:04:47 +02:00
Juergen Beisert 4c03bb1d58 first time running 2007-10-17 21:09:25 +02:00
Juergen Beisert 0641f18c36 prepare for release phytec's board. Untested yet 2007-10-17 18:05:58 +02:00
Juergen Beisert 3be8ed2fa1 adding i.MX31 CPU support 2007-10-17 17:57:55 +02:00
Juergen Beisert 7e047fd879 making watchdog handling independend from ifdefs 2007-10-17 17:49:23 +02:00
sascha 52fb34f5ad update scb9328 config 2007-10-16 14:45:58 +02:00
sascha fdf739c7a5 move dm9000 specific stuff to platform_data 2007-10-16 13:55:48 +02:00
sascha a99e03c847 i.MX clock functions: Make them work for i.MX1 again 2007-10-16 11:32:23 +02:00
sascha 7f72d26be9 add ffs 2007-10-15 18:01:30 +02:00
Sascha Hauer 7e58e219f8 add nand_ecc.h 2007-10-15 17:55:48 +02:00
Sascha Hauer a149f9949b add pcm038 config 2007-10-15 17:54:52 +02:00
Sascha Hauer 616cf2b45a NAND WIP 2007-10-15 17:22:25 +02:00
Sascha Hauer cedcb274ae add NAND Flash support. Initial import from u-boot-1.2.0 2007-10-12 10:04:54 +02:00
Sascha Hauer 3712bf5d0a Do not include unneeded linux/stddef.h in list.h 2007-10-11 22:03:12 +02:00
Sascha Hauer 212f631eb4 let erase and protect functions return int instead of size_t. They
only return succes/error but no size.
2007-10-11 22:00:22 +02:00
Sascha Hauer 82e54558b2 Collect all commands in a linked list. This makes it easier to handle
dynamically registered commands.
2007-10-11 21:58:51 +02:00
Sascha Hauer afaaf9a5d9 Add big #ifdef CONFIG_MODULE around module.h to build architectures
which do not have modules.
2007-10-11 21:56:03 +02:00
Sascha Hauer 2d20fc33e2 no need to include asm/system.h from list.h 2007-10-11 20:39:18 +02:00
Sascha Hauer ac8a1f064e Use Linux Kernel list implementation for console devices instead
of homegrown list.
2007-10-11 20:36:57 +02:00
Sascha Hauer eadf71abc7 Use Linux kernel list for drivers and devices instead of handmade
list.
2007-10-11 20:20:36 +02:00
Sascha Hauer 29fc9471f5 add list implementation from Linux Kernel. *_rcu functions have
been removed.
2007-10-11 15:59:35 +02:00
Sascha Hauer 996eb57938 add container_of macro. Needed for list implementation 2007-10-11 15:59:01 +02:00
Sascha Hauer 7a0d5c47c9 i.MX27: add GPIO description for CRS pin 2007-10-10 09:45:41 +02:00
Sascha Hauer 1285a35949 add i.MX27 ahb clock function 2007-10-10 09:44:21 +02:00
Sascha Hauer b161305946 change imx clock functions so that they have the same name for
i.MX1 and i.MX27
2007-10-09 17:24:25 +02:00
Sascha Hauer dc202f56d8 add PCCRx register definitions for mx27 2007-10-09 17:16:38 +02:00
Sascha Hauer 0590d8909b add aipi register defines 2007-10-09 08:24:48 +02:00
Sascha Hauer 8b08d97323 add mx27 PLL base 2007-10-08 00:12:02 +02:00
Sascha Hauer 0ab3cfcc67 add clock functions for i.MX27 and rename functions to lower case letters 2007-10-08 00:08:52 +02:00
Sascha Hauer 9575fc14c3 add more registers to imx27-regs.h 2007-10-07 23:44:09 +02:00
Sascha Hauer b5656a41e0 Beginning mx27 support: split imx-regs.h into imx1-regs.h and imx27-regs.h 2007-10-07 16:31:54 +02:00
Sascha Hauer 236d55a06a __u_boot__symtab -> __usymtab 2007-10-07 14:32:08 +02:00
Sascha Hauer 3c1cdbe763 add empty elf.h for sandbox 2007-10-05 00:02:53 +02:00
Sascha Hauer 17c3e64578 export functions 2007-10-04 12:37:06 +02:00
Sascha Hauer ae53e9ef1d CONFIG_MODULE -> CONFIG_MODULES 2007-10-04 12:33:03 +02:00
Sascha Hauer 09082c9222 add #ifndef ASSEBLY around the typedefs in include/asm-arm/types.h
to be able to include it in Assembly
2007-10-01 10:25:08 +02:00
Sascha Hauer 6b58e74d04 Resolve the symbols using an extra section and only resolve explicitly
exported symbols. Using kallsyms for this purpose doesn't do it because
kallsyms do not resolve variables. Also the symbol table gets quite
big using kallsyms.
2007-10-01 10:20:57 +02:00
Sascha Hauer 1e3465553b Add register_command() to register a command in runtime. This
is only needed when modules are enabled, so the change is inside
"#ifdef CONFIG_MODULE"
2007-10-01 10:15:38 +02:00
Sascha Hauer c41b41f9e7 add __used attribute in compiler.h 2007-10-01 10:13:13 +02:00
Sascha Hauer 153cf7bb6e add arm specific bits for modules 2007-10-01 09:51:04 +02:00
Sascha Hauer ffe5cb80a7 add powerpc specific bits for modules 2007-10-01 09:49:39 +02:00
Sascha Hauer cdfd8bdd92 update .gitignore files 2007-09-28 20:36:33 +02:00
Sascha Hauer a95a54b808 add blackfin specific bits for module handling 2007-09-28 20:35:40 +02:00
Sascha Hauer c396c4da49 Add module handling (mostly copied from Linux kernel and stripped down
for U-Boot)
2007-09-28 20:32:15 +02:00
Sascha Hauer 7a49f672c5 add kallsyms from linux kernel 2007-09-28 20:29:52 +02:00
Sascha Hauer 1156d3938c replace elf.h with the one from the linux kernel. It does not have powerpc
specific defines in it.
2007-09-28 19:59:12 +02:00
Sascha Hauer 685d85540c move ARRAY_SIZE macro to include/common.h 2007-09-28 19:46:37 +02:00
Sascha Hauer 6b7fdcb970 Use safe_strncpy() instead of copy_filename(). The shell has already removed
quotes, so we don't need this functionality from copy_filename()
2007-09-28 10:47:19 +02:00
Sascha Hauer 5931ed5a14 add safe_strncpy() function 2007-09-28 10:45:59 +02:00
Sascha Hauer b3dc734018 declare lots of functions static 2007-09-28 10:07:26 +02:00
Sascha Hauer 79ed00ba92 pass file size from read_file 2007-09-27 16:33:35 +02:00
Sascha Hauer 109449f49f update ipe337 timing values and fix memory size 2007-09-27 12:09:43 +02:00
Sascha Hauer e35ccd2f9c add string.h 2007-09-27 12:07:13 +02:00
Sascha Hauer 7c17ff7c45 Reimplement environment. Now we only have one crc for the whole image. 2007-09-27 12:04:17 +02:00
Sascha Hauer 46d5705395 implement mkdir -p 2007-09-27 11:59:18 +02:00
Sascha Hauer 52473038dc display malloc space on startup 2007-09-26 15:24:51 +02:00
Sascha Hauer 326e4bddc3 print_size() -> size_human_readable()
return a pointer to a human readable string rather than printingit directly
2007-09-26 15:23:46 +02:00
Sascha Hauer a2caf027e2 remove unused lynxkdi.h 2007-09-25 14:37:20 +02:00
Sascha Hauer 913691eccd add directory handling for environment 2007-09-25 12:58:52 +02:00
Sascha Hauer f132b2e073 - change function declarations for better standard conformity:
int open(const char *pathname, int flags);
-> int open(const char *pathname, int flags, ...);
   int mkdir(const char *pathname);
-> int mkdir(const char *pathname, mode_t mode);
2007-09-24 17:03:20 +02:00
Sascha Hauer ca5ae599d6 add recursive_action() and concat_subpath_file() from busybox 2007-09-24 17:00:49 +02:00
Sascha Hauer d4ba2f9001 move dirname() and basename() to lib/libgen.c and add header file 2007-09-24 16:57:12 +02:00
Sascha Hauer 3cbc5c5c12 remove u-boot command paramter flag 2007-09-24 12:31:08 +02:00
Sascha Hauer 14b5c2a647 - teach hush to honour PATH variable
- remove common/main.c. This is now handled in the different shells.
2007-09-24 01:40:06 +02:00
Sascha Hauer d97304aef2 add libbb functions 2007-09-24 01:36:07 +02:00
Sascha Hauer 71e2c11ebb introduce local and global variables, add export command 2007-09-23 23:29:37 +02:00
Sascha Hauer 05dec7d3bd move ppc assembler templates to include/asm-ppc 2007-09-22 16:07:51 +02:00
Sascha Hauer 12ca3c72ba remove atomic.h 2007-09-22 16:01:21 +02:00
Sascha Hauer 2e647e03b8 removed too much. Re-add include/asm-arm/proc-armv/ptrace.h 2007-09-21 21:31:39 +02:00
Sascha Hauer 90a17da95c add kernel kfifo implementation 2007-09-21 21:29:32 +02:00
Sascha Hauer 8b999f4a53 use faster chip select timings for ipe337 board 2007-09-21 14:37:30 +02:00
Sascha Hauer decff6927b remove currently unused arch header files 2007-09-21 14:25:29 +02:00
Sascha Hauer 9414ad39af remove unported includes and drivers 2007-09-21 14:18:25 +02:00
Sascha Hauer c1711479b0 remove unported includes and drivers 2007-09-21 14:14:05 +02:00
Sascha Hauer fd8e989e2e move mkimage.c to scripts, make it compile 2007-09-21 13:55:04 +02:00
Sascha Hauer c97a04cc31 remove some unused header files 2007-09-21 09:09:36 +02:00
Sascha Hauer 0dd68e795e - putc is now putchar for better standard conformity
- make printf return int
2007-09-21 09:09:06 +02:00
Sascha Hauer c36aba6101 add cpu.h header file for blackfin 2007-09-16 11:25:58 +02:00
Sascha Hauer e4785b540f add brackets around defines 2007-09-16 11:25:32 +02:00
Sascha Hauer 8783069d9e speed up core clock for ipe337 board 2007-09-16 11:25:00 +02:00
Sascha Hauer a39a92a4c6 use arch specific execute 2007-09-16 11:22:07 +02:00
Sascha Hauer 83c24cf19b remove linux/config.h include 2007-09-16 11:21:39 +02:00
Sascha Hauer dc11ebfa22 remove unused interrupt defines for blackfin 2007-09-16 11:20:55 +02:00
Sascha Hauer 7c5234b062 asm-blackfin: add missing includes 2007-09-16 11:19:28 +02:00
Sascha Hauer ca8ae5695a add the possibility to have a arch specific 'go' command. Some
architectures need this (e.g. blackfin and i386)
2007-09-16 11:16:08 +02:00
Sascha Hauer 1bc16dbb01 remove unused defines 2007-09-16 11:12:24 +02:00
Sascha Hauer a1fe3d6b82 remove inlude linux/config.h 2007-09-13 15:31:18 +02:00
Sascha Hauer 05a2642624 add empty common.h 2007-09-13 15:30:05 +02:00
Sascha Hauer 6dd5fcd940 remove old functions from include/environment.h 2007-09-13 15:28:15 +02:00
Sascha Hauer 0bf0b686f2 remove extern stufff 2007-09-13 15:22:49 +02:00
Sascha Hauer 3fc674cc51 add support for the PII bf561 board 2007-09-11 10:21:10 +02:00
Sascha Hauer 70a338bc27 Use unsigned char * for mac address. Otherwise (s)printf interpets
parts of the mac address as negative numbers and gives wrong
results.
2007-09-11 10:20:16 +02:00
Sascha Hauer 97c0278dc1 initial blackfin support 2007-09-11 10:15:32 +02:00
Sascha Hauer b39e410ca7 add Hilscher netx support part3 (header files) 2007-09-05 12:57:00 +02:00
Sascha Hauer 14e3b2b3ec temporary config for netx 2007-09-05 12:55:13 +02:00
Sascha Hauer 654bb6b0b8 further reloc fixes 2007-07-25 12:25:01 +02:00
Sascha Hauer 056a695c15 implement flash protection 2007-07-16 10:29:28 +02:00
Sascha Hauer be6790838d fix compiler warning 2007-07-15 14:06:16 +02:00
Sascha Hauer 8881fb7984 use memmap() to save one memcpy call in bootm 2007-07-15 14:02:53 +02:00
Sascha Hauer 665291e693 implement memmap().
With this function we can get a pointer to directly memory mapped
devices like nor flash or RAM. Useful for bootm where we save one
memcopy when the image is mappable
2007-07-15 13:50:04 +02:00
Sascha Hauer b844766e03 whitespace cleanup 2007-07-15 12:43:20 +02:00
Sascha Hauer 9994dfb818 rename linux target to sandbox 2007-07-12 12:19:39 +02:00
Sascha Hauer d757720766 arch/linux -> arch/sandbox 2007-07-12 12:12:34 +02:00
Sascha Hauer c32130ad97 add empty include/asm-linux/common.h 2007-07-12 12:08:38 +02:00
Sascha Hauer a5b58941f7 move variable declarations out of ifdef 2007-07-12 11:53:09 +02:00
Sascha Hauer ce192d40db autogenerate include/asm-arm/proc 2007-07-12 11:51:29 +02:00
Sascha Hauer 3187e83831 add missing include 2007-07-12 11:23:38 +02:00
Sascha Hauer b1c3952f00 add missing include 2007-07-12 11:23:17 +02:00
Sascha Hauer 793ff46a04 CONFIG_ARCH_HAS_RELOC -> CONFIG_HAS_EARLY_INIT 2007-07-12 11:21:13 +02:00
Sascha Hauer fa9807573b consolidate cpu_init_* 2007-07-12 11:19:09 +02:00
Sascha Hauer e48e2cdf25 add .gitignore files 2007-07-12 10:21:16 +02:00
Sascha Hauer 149d273b80 add early console for mpc5200 2007-07-12 09:31:07 +02:00
Sascha Hauer 93abe4f36b make printf position independent 2007-07-12 09:30:20 +02:00
Sascha Hauer 0ba162c9c7 cleanup 2007-07-12 09:26:20 +02:00
Sascha Hauer d3a537ef7e remove debugging rests 2007-07-12 09:25:47 +02:00
Sascha Hauer d435b9cb09 remove include/serial.h, it is unneeded 2007-07-12 09:23:21 +02:00
Sascha Hauer b1e843987a remove debug printf 2007-07-11 16:34:15 +02:00
Sascha Hauer 23ab186b15 compile fixes 2007-07-05 22:12:11 +02:00
Sascha Hauer 7d65de0b2b add empty include/asm-arm/common.h 2007-07-05 21:53:08 +02:00
Sascha Hauer e755ab4535 minor fixes 2007-07-05 21:50:14 +02:00
Sascha Hauer 9afd20bdb0 svn_rev_693
remove do_reset
2007-07-05 18:02:18 +02:00
Sascha Hauer f4abfde815 svn_rev_691 2007-07-05 18:02:17 +02:00
Sascha Hauer cf836d5f97 svn_rev_690
add comment
2007-07-05 18:02:17 +02:00
Sascha Hauer 496d7e4344 svn_rev_689
function prototypes do not hurt
2007-07-05 18:02:17 +02:00
Sascha Hauer e74a1633aa svn_rev_686
implement console baudrate switching
2007-07-05 18:02:17 +02:00
Sascha Hauer 31d3ca0354 svn_rev_685 2007-07-05 18:02:17 +02:00
Sascha Hauer 22274d77a7 svn_rev_684 2007-07-05 18:02:17 +02:00
Sascha Hauer 98432d3925 svn_rev_683
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer 1755ca1e01 svn_rev_681
remove unneded prototypes
2007-07-05 18:02:16 +02:00
Sascha Hauer d9147943ab svn_rev_677
remove arm specific things
2007-07-05 18:02:16 +02:00
Sascha Hauer 7301a3fcd5 svn_rev_661 2007-07-05 18:02:14 +02:00
Sascha Hauer 5fef2ddea7 svn_rev_660 2007-07-05 18:02:14 +02:00
Sascha Hauer 2ae203a52e svn_rev_659
remove ns7520 files. They are completely unused even in original u-boot
2007-07-05 18:02:14 +02:00
Sascha Hauer 4df05e542a svn_rev_658 2007-07-05 18:02:14 +02:00
Sascha Hauer afe12e6c87 svn_rev_657 2007-07-05 18:02:14 +02:00
Sascha Hauer 2d9b7eb247 svn_rev_656 2007-07-05 18:02:14 +02:00
Sascha Hauer ed870597b7 svn_rev_655
move mpc specific files to asm-ppc/arch-*
2007-07-05 18:02:14 +02:00
Sascha Hauer b2c5310d4d svn_rev_653
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer a46f705cd9 svn_rev_634
add comments
2007-07-05 18:02:12 +02:00
Sascha Hauer 1f155b9cd4 svn_rev_629
no config.h
2007-07-05 18:02:11 +02:00
Sascha Hauer 56828684a2 svn_rev_625 2007-07-05 18:02:11 +02:00
Sascha Hauer 3f64685ada svn_rev_617 2007-07-05 18:02:10 +02:00
Sascha Hauer dff4074642 svn_rev_614
no global data
2007-07-05 18:02:10 +02:00
Sascha Hauer 84adb3368d svn_rev_611 2007-07-05 18:02:09 +02:00
Sascha Hauer e2f1a28306 svn_rev_605
make read_file global
2007-07-05 18:02:09 +02:00
Sascha Hauer 443b217107 svn_rev_600 2007-07-05 18:02:08 +02:00
Sascha Hauer 68ae7e737d svn_rev_599
no interrupts
2007-07-05 18:02:08 +02:00
Sascha Hauer 230024741a svn_rev_588
increase malloc space
2007-07-05 18:02:07 +02:00
Sascha Hauer 85a8fd38d0 svn_rev_586
add IH_CPU for cpu checking
2007-07-05 18:02:07 +02:00
Sascha Hauer 9ff9f6a5ef svn_rev_579
miiphy
2007-07-05 18:02:06 +02:00
Sascha Hauer 5fd7544b32 svn_rev_578 2007-07-05 18:02:06 +02:00
Sascha Hauer c5424df966 svn_rev_577 2007-07-05 18:02:06 +02:00
Sascha Hauer be2407bd1a svn_rev_576 2007-07-05 18:02:06 +02:00
Sascha Hauer 06bc41745b svn_rev_575
add DEVICE_TYPE_MIIPHY
2007-07-05 18:02:06 +02:00
Sascha Hauer 5ab5b339a2 svn_rev_574
eth_init -> eth_open
2007-07-05 18:02:06 +02:00
Sascha Hauer 14edc91f97 svn_rev_572
add miiphy support
2007-07-05 18:02:06 +02:00
Sascha Hauer 49e96c684b svn_rev_554
added missing file
2007-07-05 18:02:04 +02:00
Sascha Hauer bec5e479b0 svn_rev_553
use version from toplevel makefile
2007-07-05 18:02:04 +02:00
Sascha Hauer 758a1107f8 svn_rev_538
several powerpc fixes
2007-07-05 18:02:03 +02:00
Sascha Hauer 1dc8483ffa svn_rev_535 2007-07-05 18:02:03 +02:00
Sascha Hauer c5ba7e8aa3 svn_rev_534 2007-07-05 18:02:02 +02:00
Sascha Hauer d259b1dad0 svn_rev_530
remove linux/config.h
2007-07-05 18:02:02 +02:00
Sascha Hauer 29c960f52c svn_rev_529 2007-07-05 18:02:02 +02:00
Sascha Hauer 0cdad3e337 svn_rev_528 2007-07-05 18:02:02 +02:00
Sascha Hauer db17619e35 svn_rev_527 2007-07-05 18:02:02 +02:00
Sascha Hauer 36a60cf92b svn_rev_526
CFG_CACHELINESIZE -> CONFIG_CACHELINE_SIZE
2007-07-05 18:02:01 +02:00
Sascha Hauer ba737ad29e svn_rev_522 2007-07-05 18:02:01 +02:00
Sascha Hauer eb10c7406e svn_rev_516
remove CONFIG_TIMESTAMP (now in Kconfig)
2007-07-05 18:02:00 +02:00
Sascha Hauer fa668fe184 svn_rev_502
complete multiple console support
2007-07-05 18:01:59 +02:00
Sascha Hauer 2314aee235 svn_rev_482 2007-07-05 18:01:58 +02:00
Sascha Hauer fe2d505d4d svn_rev_481
make more char * const, fix compiler warnings
2007-07-05 18:01:58 +02:00
Sascha Hauer bf7d2a1b9f svn_rev_479
for x86_64 set INTERNAL_SIZE_T to 64 bytes
2007-07-05 18:01:57 +02:00
Sascha Hauer dd7bf785a9 svn_rev_477
add alignment fix (hack?) for x86_64
2007-07-05 18:01:57 +02:00
Sascha Hauer 7baa6289fe svn_rev_469
- make some more char * const
- dev_add_parameter -> dev_add_param
2007-07-05 18:01:56 +02:00
Sascha Hauer fe72c6b8fe svn_rev_466
add CMDLINE_TAG SETUP_MEMORY_TAGS and INITRD_TAG to Kconfig
2007-07-05 18:01:56 +02:00
Sascha Hauer 17f9b2c9ac svn_rev_463
make ppc compile again
2007-07-05 18:01:56 +02:00
Sascha Hauer d5a108ece3 svn_rev_462
- Add help texts for many commands.
- Let the linker sort the command table.
- Add support for multiple argmuments in several commands
  (mkdir, rmdir, rm, cat)
2007-07-05 18:01:55 +02:00
Sascha Hauer 10a9a0aa1e svn_rev_455 2007-07-05 18:01:55 +02:00
Sascha Hauer 5a6358dcd0 svn_rev_453
add erase function
2007-07-05 18:01:55 +02:00
Sascha Hauer 4bcfd59363 svn_rev_449
increase malloc size
2007-07-05 18:01:54 +02:00
Sascha Hauer a12c581aa8 svn_rev_446
add postcore_initcall
2007-07-05 18:01:54 +02:00
Sascha Hauer 149b402f3b svn_rev_436 2007-07-05 18:01:53 +02:00
Sascha Hauer 2c631835f9 svn_rev_432 2007-07-05 18:01:53 +02:00
Sascha Hauer 07045831cd svn_rev_430 2007-07-05 18:01:53 +02:00
Sascha Hauer e694adc6a4 svn_rev_420
- do more POSIX:
  - use DIR instead of struct dirent
  - use (struct dirent)->d_name instead of (struct dirent)->name
- switch to a new layout for U_BOOT_CMD:
  - use C99 initializers to be able to add more fields to the
    command struct
  - add aliases for commands (needed mainly for help -> ? and test -> [
  - This is not done for all commands yet, but the compiler will tell you ;)
2007-07-05 18:01:52 +02:00
Sascha Hauer a9416dd8a6 svn_rev_417
use uint32_t to compile it with linux
2007-07-05 18:01:52 +02:00
Sascha Hauer bc22f79c1c svn_rev_416 2007-07-05 18:01:52 +02:00
Sascha Hauer 648110d271 svn_rev_415 2007-07-05 18:01:52 +02:00
Sascha Hauer b2e140f5c8 svn_rev_411
remove now nonexisting functions from console.c
2007-07-05 18:01:51 +02:00