06 Aug, 2014
13 commits
-
Signed-off-by: Tom Rini
-
Messages to afleming@freescale.com now bounce, and should be
directed to my personal address at afleming@gmail.comSigned-off-by: Andy Fleming
-
The _config part is gone for sure, the _defconfig target could at least
work. I have not verified this for all targets though. -
It's easier to Cc Masahiro on Kconfig-related changes with a git-mailrc
alias.Signed-off-by: Stephen Warren
Acked-by: Masahiro Yamada -
Reflect the latest build system to doc/README.SPL.
Signed-off-by: Masahiro Yamada
-
This document is too old and useless.
Signed-off-by: Masahiro Yamada
-
if status register do never set MXC_CSPICTRL_TC, spi_xchg_single
endless loops. Add a timeout here to prevent endless hang.Signed-off-by: Heiko Schocher
Cc: Dirk Behme
Reviewed-by: Jagannadha Sutradharudu Teki -
This parameter should also be supported.
Signed-off-by: Simon Glass
Tested-by: Ajay Kumar
Reviewed-by: Jagannadha Sutradharudu Teki -
The SPI transaction delay is supposed to be measured from the end of one
transaction to the start of the next. The code does not work that way, so
fix it.Signed-off-by: Simon Glass
Tested-by: Ajay Kumar
Reviewed-by: Jagannadha Sutradharudu Teki -
An incorrect message version is passed to the EC in some cases and the
parameters of one function are switched.Fix these problems.
Signed-off-by: Simon Glass
Tested-by: Ajay Kumar
Reviewed-by: Jagannadha Sutradharudu Teki -
It's usually a common pattern to free() the memory that we allocated.
Implement this here to stop leaking memory.Signed-off-by: Marek Vasut
Cc: Michal Simek
Reviewed-by: Jagannadha Sutradharudu Teki
04 Aug, 2014
3 commits
-
Add support for re-relocation malloc() in arm's start-up code.
Signed-off-by: Simon Glass
-
At present arm defines CONFIG_SYS_GENERIC_GLOBAL_DATA, meaning that
the global_data pointer is set up in board_init_f(). However it is
actually set up before this, it just isn't zeroed.If we zero the global data before calling board_init_f() then we
don't need to define CONFIG_SYS_GENERIC_GLOBAL_DATA.Make this change (on arm32 only) to simplify the init process. I
don't have the ability to test aarch64 yet.Signed-off-by: Simon Glass
Acked-by: Tom Rini
02 Aug, 2014
17 commits
-
This patch configures the qrio to trigger a core reset on
a CPU reset request.Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
Reviewed-by: York Sun -
To acheive this, the qrio_uprstreq() function that sets the UPRSTREQN
flag in the qrio RESCNF reg is added.Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
Reviewed-by: York Sun -
Check the core timer status register (TSR) for watchdog reset,
and and set the QRIO's reset reason flag REASON1[0] accordingly.This allows the appliction SW to identify the cpu watchdog as a
reset reason, by setting the REASON1[0] flag in the QRIO.Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
Reviewed-by: York Sun -
To achieve this, the qrio_cpuwd_flag() function that sets the CPU watchdog
flag in the REASON1 reg is added.Signed-off-by: Rainer Boschung
Signed-off-by: Valentin Longchamp
Reviewed-by: York Sun -
The booting of the board is now protected by the CPU watchdog.
A failure during the boot phase will end up in board reset.Signed-off-by: Rainer Boschung
Reviewed-by: York Sun -
When CONFIG_WATCHDOG is defined the board initialization just performs
a WATCHDOG_RESET, an initialization of the watchdog is not done.
This has been modified fot the MPC85xx, the board initialization calls
its watchdog initialitzation allowing for full watchdog configuration
very early in the boot phase.Signed-off-by: Rainer Boschung
Reviewed-by: York Sun -
Function to inititialize the cpu watchdog added.
Signed-off-by: Rainer Boschung
[York Sun: Add prototype in watchdog.h]
Reviewed-by: York Sun -
For e500mc cores the watchdog timer period has to be set by means of a
6bit value, that defines the bit of the timebase counter used to signal
a watchdog timer exception on its 0 to 1 transition.
The macro used to set the watchdog period TCR_WP, was redefined for e500mc
to support 6 WP setting.The parameter (x) given to the macro specifies the prescaling factor of
the time base clock (fTB):watchdog_period = 1/fTB * 2^x
Signed-off-by: Rainer Boschung
Reviewed-by: York Sun -
TCR watchdog bit are overwritten when dec interrupt is enabled.
This has been fixed with this patch.Signed-off-by: Rainer Boschung
Reviewed-by: York Sun -
Add callback with __weak annotation to allow setup of environment
partition number in runtime from a board file.Propagate mmc_switch_part() return value into init_mmc_for_env() instead
of -1 in case of failure.Signed-off-by: Dmitry Lifshitz
Signed-off-by: Igor Grinberg
Acked-by: Pantelis Antoniou -
Add missing mmc_get_env_addr() prototype in environment.h
Signed-off-by: Dmitry Lifshitz
Acked-by: Pantelis Antoniou -
If the MCI IP version >= 0x300, it supports hight speed mode
option, this patch enable it.Signed-off-by: Bo Shen
Acked-by: Pantelis Antoniou -
Add configuration register definition, this register only
exists on MCI IP version >= 0x300.Signed-off-by: Bo Shen
Acked-by: Pantelis Antoniou -
The mode register is different between MCI IP version.
So, according to MCI IP version to set the mode register.Signed-off-by: Bo Shen
Acked-by: Pantelis Antoniou -
To fix the clock divider calculation error when the controller
clock same as the operating frequency. This is known as bypass
mode. In this mode, the divider should be 0.Signed-off-by: Chin Liang See
Cc: Pantelis Antoniou
Cc: Rajeshwari Shinde
Cc: Jaehoon Chung
Cc: Mischa Jonker -
Implement SD driver for the S3C24xx family. This implementation
is currently only capable of using the PIO transfers, DMA is not
supported.Signed-off-by: Marek Vasut
Cc: Kyungmin Park
Cc: Lukasz Majewski
Cc: Minkyu Kang
Cc: Pantelis Antoniou
Cc: Vladimir Zapolskiy
Acked-by: Pantelis Antoniou -
Unify the register structure so they can be easily used across all
of S3C24xx lineup.Signed-off-by: Marek Vasut
Cc: Kyungmin Park
Cc: Lukasz Majewski
Cc: Minkyu Kang
Cc: Pantelis Antoniou
Cc: Vladimir Zapolskiy
Acked-by: Pantelis Antoniou
01 Aug, 2014
2 commits
-
Seems like the controller doesn't support the flag. None of the hi-speed cards
I've tried could be read, while they successfully worked with the quirk enabled.Signed-off-by: Lubomir Rintel
Tested-by: Stephen Warren -
This patch add Marvell kirkwood MVSDIO/MMC driver
and enable it for Sheevaplugs and OpenRD boards.Signed-off-by: Gerald Kerma
Reviewed-by: Stefan Roese
Acked-by: Pantelis Antoniou
31 Jul, 2014
5 commits
-
Now CONFIG_SPL and CONFIG_TPL are defined in Kconfig.
Remove the redundant definition in config headers.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass -
CONFIG_${CPU} is defined by Kconfig.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Acked-by: Stefan Roese -
CONFIG_${ARCH} is defined by Kconfig.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass -
Use "make _defconfig" instead of "make _config".
Invoke tools/genboardscfg.py to generate boards.cfg when it is missing.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass -
- Use "make _defconfig" instead of "make _config".
- Invoke tools/genboardscfg.py to generate boards.cfg when it is
missing.- Show "Building ${BOARD_NAME} board..." message.
(Prior to Kconfig, instead, mkconfig script displayed
"Configuring for ${BOARD_NAME} board..." but it was removed.)
Without this message, we cannot know which board is currently
being built.- Do not show "# configuration written to .config".
This message is useless and just annoying for MAKEALL.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass