Age | Commit message (Collapse) | Author |
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
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>
|
|
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.
|
|
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>
|
|
Signed-off-by: Per Forlin <per.forlin@linaro.org>
|
|
Signed-off-by: Per Forlin <per.forlin@linaro.org>
|
|
Signed-off-by: Per Forlin <per.forlin@linaro.org>
|
|
TODO: add the v2 stuff in a separate patch
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add support for the Dialog DA9053 PMIC.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
|
|
Signed-off-by: Stefano Babic <sbabic@denx.de>
|
|
Fix warnings introduced by OMAP4: Panda: Add usb peripheral boot
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: Steve Sakoman <steve@sakoman.com>
|
|
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
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
TODO: share dieid<-->mac addr code between
OMAP3 and OMAP4
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Some boot scripts fail without this. This makes OMAP4
the same as omap3_beagle.
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Identical to omap3_beagle.
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
So we don't use boot script on MMC/SD card.
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
For building a u-boot-spl with support for loading
u-boot via usb gadget.
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
Size problems when trying to include usb, mmc and fat
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
BugLink: http://bugs.launchpad.net/bugs/738193
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: Angus Ainslie <angus.ainslie@linaro.org>
|
|
Now that timers are fixed, set bootdelay to a reasonable value.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
|
|
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
|
|
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>
|