aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-11snowball: Fixing boot algorithm for snowball and DT address2012.05-2Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-07snowball: fixing cache management before starting kernelMathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-07snowball: fixing board specific defines to boot kernelMathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-07SAUCE: Snowball: init serial laterJohn Rigby
The early init does not take for some reason or is not called at all? This works around the problem while search for what is really going on. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-07snowball: arm cpu: inv and clean of L2Per Forlin
TODO: make this patch board specific. E.g add a board hook in cpu.c that the board may implement. Use generic cache functions for clean and inv, not hardcoded registers.
2012-05-07snowball: igloo copy port of board specific filesPer Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org> remove snowball specific mmc driver and use pl180_mmci Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-07snowball: add snowball to boards.cfgPer Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org>
2012-05-07snowball: igloo copy port of gpio driver supportPer Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org>
2012-05-07snowball: igloo copy port of armv7/u8500 and include/asm/arch-u8500Per Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org>
2012-05-07MMC: arm_pl180_mmci: factor out plat specific infoJohn Rigby
TODO: add the v2 stuff in a separate patch Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04mx53loco: Add support for 1GHz operation for DA9053-based boardsFabio Estevam
There are two types of mx53loco boards: initial boards were built with a Dialog DA9053 PMIC and more recent version is based on a Freescale MC34708 PMIC. Add DA9053 PMIC support and adjust the required voltages and clocks for running the CPU at 1GHz. Tested on both versions of mx53loco boards. In the case of a MC34708-based board the CPU operating voltage remains at 800MHz. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04mx53loco: Allow to print CPU information at a later stageFabio Estevam
Print CPU information within board_late_init(). This is in preparation for adding 1GHz support, which requires programming a PMIC via I2C. As I2C is only available after relocation, print the CPU information later at board_late_init(), so that the CPU frequency can be printed correctly. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04mx5: Add clock config interfaceFabio Estevam
mx5: Add clock config interface Add clock config interface support, so that we can configure CPU or DDR clock in the later init Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04imx-common: Factor out get_ahb_clk()Fabio Estevam
get_ahb_clk() is a common function between mx5 and mx6. Place it into imx-common directory. Cc: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04pmic: Add support for the Dialog DA9053 PMICFabio Estevam
Add support for the Dialog DA9053 PMIC. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04MX53: mx53loco: Add SATA supportStefano Babic
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org> Acked-by: Jason Liu <jason.hui@linaro.org> Conflicts: include/configs/mx53loco.h
2012-05-04SATA: add driver for MX5 / MX6 SOCsStefano Babic
This driver is part of Freescale's LTIB for MX5 / MX6. Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Terry Lv <r65388@freescale.com> CC: Fabio Estevam <fabio.estevam@freescale.com> CC: Dirk Behme <dirk.behme@de.bosch.com>
2012-05-04MX53: add function to set SATA clock to internalStefano Babic
The MX53 SATA interface can use an internal clock (USB PHY1) instead of an external clock. This is an undocumented feature, but used on most Freescale's evaluation boards, such as MX53-loco. As stated by Freescale's support: Fuses (but not pins) may be used to configure SATA clocks. Particularly the i.MX53 Fuse_Map contains the next information about configuring SATA clocks : SATA_ALT_REF_CLK[1:0] (offset 0x180C) '00' - 100MHz (External) '01' - 50MHz (External) '10' - 120MHz, internal (USB PHY) '11' - Reserved Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04SATA: check for return value from sata functionsStefano Babic
sata functions are called even if previous functions failed because return value is not checked. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Dirk Behme <dirk.behme@de.bosch.com> CC: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04MX5: Add definitions for SATA controllerStefano Babic
Add base address and MXC_SATA_CLK to return the clock used for the SATA controller. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com> CC: Dirk Behme <dirk.behme@de.bosch.com>
2012-05-04NET: fec_mxc.c: Add a way to disable auto negotiationStefano Babic
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04Define UART4 and UART5 base addressesStefano Babic
Signed-off-by: Stefano Babic <sbabic@denx.de>
2012-05-04dsuboot: fix warningsJohn Rigby
Fix warnings introduced by OMAP4: Panda: Add usb peripheral boot Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04GCC47: Fix warning in md5.cMarek Vasut
md5.c: In function ‘MD5Final’: md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
2012-05-04GCC47: Fix warning in cmd_nand.cMarek Vasut
cmd_nand.c: In function ‘arg_off_size’: cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Marek Vasut <marex@denx.de> Cc: Scott Wood <scottwood@freescale.com> Cc: Wolfgang Denk <wd@denx.de>
2012-05-04overo: support 200Mhz memory on 37XXSteve Sakoman
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2012-05-04Revert "armv7: adapt omap3 to the new cache maintenance framework"Ricardo Salveti de Araujo
This reverts commit 45bf05854bc94ed8bae9e9114292895b990327ea. Conflicts: arch/arm/cpu/armv7/omap3/board.c arch/arm/cpu/armv7/omap3/lowlevel_init.S arch/arm/include/asm/arch-omap3/sys_proto.h Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> Conflicts: arch/arm/cpu/armv7/omap3/board.c
2012-05-04OMAP3 Beagle: add preEnv.txt supportJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: add preEnv.txt supportJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04SAUCE: HACK: move omap spl base addressJohn Rigby
Move NON_SECURE_SRAM_START from 0x40304000 to 0x40303000 and move u-boot-spl load address from 0x40304350 to 0x40303080. This allows it to stay under 0x4030c000 which is what the TRM says it must do. SRAM actually starts at 0x40300000 on GP devices but was set to 0x40304000 to be the same as Secure devices so this breaks that. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP3: Beagle: set mac addr from dieidJohn Rigby
TODO: share dieid<-->mac addr code between OMAP3 and OMAP4 Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04Allow loading of u-boot.bin for backward compatibilityJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP3: Enable command line editing for omap3_beagleJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: change MAXARGS to 32John Rigby
Some boot scripts fail without this. This makes OMAP4 the same as omap3_beagle. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: Enable command line editing in omap4_common.hJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: Panda: add uEnv.txt supportJohn Rigby
Identical to omap3_beagle. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP3: Beagle: add back boot.scr supportJohn Rigby
Removing boot.scr support broke some external bootscripts that depended on it. This patch restores boot.scr support but leaves uEnv.txt support in. uEnv.txt still works and if both files exist then uEnv.txt takes precedence. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4 Panda: Generate a unique usbethaddrJohn Rigby
The panda board has a usb nic but the nic has no rom. Use the die-id to generate a unique address. This is derived from an RFC kernel patch by Andy Green that does the same thing: https://patchwork.kernel.org/patch/660541/ [RFC PATCH 1/2] OMAP2+: add cpu id register to MAC address helper Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04PXE: look for usbethaddr if no ethaddrJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-02OMAP4: Force PXE booting when booting via spl-usbRobie Basak
So we don't use boot script on MMC/SD card. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-02OMAP4: Panda: Add USB_SPL variantJohn Rigby
For building a u-boot-spl with support for loading u-boot via usb gadget. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-02OMAP4: Panda: Add usb peripheral bootJohn Rigby
Stripped down fastboot protocol for now but could be just about anything. Will revisit once a fastboot or dfu implementation hits upstream. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-02OMAP4: Make mmc and fat conditional in splJohn Rigby
Size problems when trying to include usb, mmc and fat Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-02OMAP4: avoid null pointer access in save_boot_paramsJohn Rigby
When booting via spl the parameter layout is apparently different and this leads to following bad pointers. For now just work around the issue by checking pointers before following them. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-02mx53loco: define ERRATUM_ESDHC111Eric Miao
BugLink: http://bugs.launchpad.net/bugs/738193 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-05-02MMC: arm_pl180_mmci: allow multiple devicesJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-04-25Add a default env that will use boot.scr from the vfat partitionAngus Ainslie
Signed-off-by: Angus Ainslie <angus.ainslie@linaro.org>
2012-04-25ARM: highbank: update autoboot bootdelay valueRob Herring
Now that timers are fixed, set bootdelay to a reasonable value. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-04-25ARM: highbank: add autoboot script filesRob Herring
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-04-25net: allow setting env enetaddr from net device settingRob Herring
If the net driver has setup a valid ethernet address and an ethernet address is not set in the environment already, then set the environment variables from the net driver setting This enables pxe booting on boards which don't set ethaddr env variable. Signed-off-by: Rob Herring <rob.herring@calxeda.com>