Hi Tom,
2014/1/6 Tom Rini :
> On Mon, Dec 23, 2013 at 12:11:25PM +0100, Enric Balletbo Serra wrote:
>> 2013/12/6 Enric Balletbo i Serra :
>> > Hi all,
>> >
>> > Most of the boards based on TI processors uses common configuration files
>> > (ti_armv7_common.h, ti__common.h) to avoid duplication of
Hi,
On 21.01.2014 10:58, Ionut Nicu wrote:
>
> +static int __ext4fs_build_extent_cache(struct ext2_data *data,
> + struct ext4_extent_header *ext_block)
> {
> + int blksz = EXT2_BLOCK_SIZE(data);
> + int log2_blksz = LOG2_BLOCK_SIZE(data)
> + - get_fs()->dev_desc-
From: Ying Zhang
There was no enough memory for malloc in SPL booting from spi flash, so
relayout the memory in SPL: reduce the memory for global data from 16K
Bytes to 4K Bytes, save the space for malloc.
Signed-off-by: Ying Zhang
---
Change from v1:
- Move the content about P2020RDB to 2 of p
From: Ying Zhang
1. The SPL's length of SDCARD boot has not enough,expand the SPL's
length to 128K.
2. deleted unused symbol: CONFIG_SYS_RUN_INDDR
Signed-off-by: Ying Zhang
---
Change from v1:
- No change.
include/configs/P1022DS.h | 12 ++--
include/configs/p1_p2_rdb_pc.h | 12 +
From: Ying Zhang
In the previous patches, we introduced the SPL/TPL fraamework.
For SD/SPI flash booting way, we introduce the SPL to enable a loader stub. The
SPL was loaded by the code from the internal on-chip ROM. The SPL initializes
the DDR according to the SPD and loads the final uboot imag
From: Ying Zhang
There was no enough stack in SPL, so the buffer needed in SPL is to malloc
from memory pool and to repalce the temporary variable.
Signed-off-by: Ying Zhang
---
Change from v1:
- The malloc size expand to 364K bytes.
common/env_sf.c| 7 ++-
include/config
T1040 has QE-related addresses different from other boards,
modify those addresses value with macro CONFIG_PPC_T1040
and CONFIG_T1040QDS.
Add function qe_board_setup to mux the bus to tdm or uart
according to hwconfig.
Signed-off-by: Jiucheng Xu
Signed-off-by: Zhao Qiang
---
arch/powerpc/cpu/mp
From: rick
hardware difference between leopard and orca as below:
flash setting leoaprd orca
bank size 32MB64MB
bus width 32-bits 16-bits
Signed-off-by: rick
---
arch/nds32/cpu/n1213/ag101/asm-offsets.c |1 +
arch/nds32/cpu/n1213/ag101/lowlevel_init.S
Acked-by: Jaehoon Chung
Best Regards,
Jaehoon Chung
On 01/22/2014 08:08 PM, Przemyslaw Marczak wrote:
> CC
>
> On 01/22/2014 12:02 PM, Przemyslaw Marczak wrote:
>> This change allows updating environment stored on MMC by dfu or thor.
>>
>> New setting:
>> - "params.bin mmc 0x38 0x8"
>>
>> File
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 2 +-
nand_spl/board/amcc/acadia/Makefile | 8
nand_spl/board/amcc/bamb
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6:
- Rebase on the current u-boot/master
Changes in v5: None
Changes in v4:
- Move the line where U_BOOT_VERSION is defined
Changes in v3: None
Changes in v2: None
Makefile | 66
We switched to Kbuild style makefiles at v2014.01-rc1 release.
With that modification, we can write makefiles simpler.
But it is NOT real Kbuild. We need more progress.
As the next step, this series imports (+ adjusts) build scripts
from Linux Kernel under scripts/ directory.
By applying this ser
We are going to switch over to Kbuild in upcoming commits.
Each makefile must have non-empty obj- or obj-y
to generate built-in.o on Kbuild.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 5 +
examples/Makefile| 9 +
examples/api/Makefile| 4
examples/standalo
BFD_ROOT_DIR is used only in tools/gdb/Makefile
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
config.mk | 23 ---
tools/gdb/Makefile | 21 ++
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6:
- Import from linux v3.13
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
scripts/Kbuild.include | 278 +
1 file changed, 278 insertions(+)
c
This commit adds scripts/Makefile.host.tmp which will
be used in the next commit to convert makefiles
under tools/ directory to Kbuild style.
Notice this script, scripts/Makefile.host.tmp
is temporary.
When switching over to real Kbuild,
it will be replaced with scripts/Makefile.host of Linux Ker
We had switched to Kbuild, so we do not need to
delete sandburst board files at every build.
U-Boot conventional build system did not check the
update of command line option, -DBUILDUSER.
Kbuild can handle it nicely and re-builds object files
when command line options are changed.
(The file ".*.c
This commit refactors cleaning targets such as
clean, clobber, mrpropper, distclean
with scripts/Makefile.clean.
By using scripts/Makefile.clean, we can recursively descend
into subdirectories and delete generated files there.
We do not need add a big list of generated files
to the "clean" target
This commit changes the location of include directives
of board configuration files.
The purpose of this change is:
- Slim down $(TOPDIR)/config.mk
- Prevent $(TOPDIR)/Makefile from including the same
configuration file twice
- Do not include include/config.mk multiple times
because ARC
This commit moves suffix rules from config.mk
to scripts/Makefile.build, which will allow us
to switch smoothly to real Kbuild.
Note1:
post/lib_powerpc/fpu/Makefile has
its own rule to compile C sources.
We need to tweak it to keep the same behavior.
Note2:
There are two file2 with the same name:
For out-of-tree build
- Check if the source tree is clean
- Create a Makefile in the output directory
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Newly added
Makefile | 63
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 20 +---
config.mk | 19 +--
2 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/Ma
This commit merges commonly-used header include paths
to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed
at the top Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
M
We can get Kbuild-ish log style like this:
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
We do not need XECHO any more.
And also change checkstack target like Linux Kernel.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes
Some build scripts including scripts/Makefile.build
will be imported from Linux Kernel in the next commit.
We need to adjust them for U-Boot in the following commits.
To make it easier for reviewers to track the modification,
this commit renames scripts/Makefile.build to
scripts/Makefile.build.tmp
- Move "easylogo", "gdb" tagets to tools/Makefile
- Delete "gdbtools" target (same as "gdb")
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5:
- Revive "env" target
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 8 +++---
We had switched to Kbuild.
We do not need old build scripts any more.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
rules.mk | 47 -
scripts/Makefile.
Ignore generated files by Kbuild such as .*.cmd, *.order, etc.
Besides above,
- Ignore *.s files
We do not need to ignore with file name, asm-offsets.s
- Do not ignore *.rej (for quilt)
- Ignore backup files, \#*#
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6:
- ig
This commit refactors rules of directory descending
and defines u-boot-dirs and u-boot-all-dirs.
(We will need u-boot-all-dirs when using
scripts/Makefile.clean)
Additionally, rename LIBS-y to libs-y.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
fw_printenv is a program which mostly runs on the target Linux.
Before switching to Kbuild, we needed to set HOSTCC at the
command line like this:
make HOSTCC= env
Going forward we can cross compile it by specifying CROSS_COMPILE:
make CROSS_COMPILE= env
This looks more natural.
Signed-o
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 5 +
examples/api/Makefile| 21 +---
examples/standalone/Makefile | 46 +
This commit adjusts some files to use Kbuild.include.
- Use cc-option defined in Kbuild.include
(Delete cc-option in config.mk)
- Use cc-version defined in
(Delete cc-version in config.mk)
- Move binutils-version and dtc-version to Kbuild.include
by analogy to cc-version
This comm
This commit imports build scripts from Linux Kernel v3.13
as they are.
I know they include some trailing spaces
but I keep intentionally them untouched.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes
Before this commit, "make tidy" did
"make clean" + delete "*.depend*" files.
But, we do not have "*.depend*" files any more,
which means "make tidy" is the same as "make clean".
This commit removes the redandant target "tidy".
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v
This commit changes the top Makefile to handle various targets
nicely.
Make targets are divided into four categories:
- mixed-targets
We can call a configuration target and build targets
at one command line like follows:
$ make _config u-boot
They are handled one by one.
-
On Fri, Jan 24, 2014 at 4:14 AM, JYOTI DUBEY wrote:
> while compiling I got an error System not configured - see README. SO how
> can I configure it for NItrogen6x board?
Please read chapter 4 from board/boundary/nitrogen6x/README
Regards,
Fabio Estevam
_
-Add usb2 node entry in "hwconfig string"
-Remove controller interleaving from hwconfig string as T1040
has only one DDR conroller
-SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH
are move outside so that they are defined for all cases as these
macros are also used by other
From: Fabio Estevam
No need to pass 'u-boot.imx' as parameter for 'make' because u-boot.imx is
built by default.
Signed-off-by: Fabio Estevam
---
board/boundary/nitrogen6x/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/boundary/nitrogen6x/README b/board/bounda
$(MTD_VERSION) is used in tools/env/Makefile
If you specify a variable at a command line like:
$ make MTD_VERSION=old env
or specify it thru an envrionment variable like:
$ export MTD_VERSION=old
$ make env
it is inherited to the sub-make too.
We do not need to pass it from the top Makefile
This commit fixes two problems:
[1] We could not do board configuration and "make all"
in one command line.
For example, the following did not work as we expect:
$ make sandbox_config all
Configuring for sandbox board...
make: Nothing to be done for `all'.
[2] mixed-target build did no
Without this workaround, you will see a lot of ".*.su" files
at the top directory after building with a compiler
which supports "-fstack-usage" option.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4:
- Newly added
Changes in v3: No
This commit moves some flags which are used
under examples/ directory only.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
config.mk| 8
examples/api/Makefil
Some flags are used for SPL (and TPL) build only.
This commit moves them from config.mk to spl/Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
config.mk| 19
Before this commit, {spl,tpl}-autoconf.mk was always generated
at the top Makefile even if SPL(TPL) build was not selected.
This commit moves the build rule of {spl,tpl}-autoconf.mk
from the top Makefile to spl/Makefile.
It prevents unnecessary {spl,tpl}-autoconf.mk from being
generated.
Signed-o
Some Samsung boards have their own tools under board/samsung//tools/.
This commit refactor more makefiles with "hostprogs-y".
Signed-off-by: Masahiro Yamada
---
Note1:
Samsung boards have tools under board/samsung//tools/
and have tools/mkexynosspl.c too.
It is inconsistent, so we should choose
Before this commit, most of compiler flags were defined in config.mk.
But it is redundant because config.mk is included from all recursive make.
This commit moves many complier flags to the top Makefile
and export them.
And we use new vaiarables to store them:
KBUILD_CPPFLAGS, KBUILD_CFLAGS, KBUIL
This commit moves some variable definitions from config.mk
to the top Makefile:
- HOSTCC, HOSTCFLAGS, HOSTLDFLAGS
- AS, LD, CC, CPP, etc.
- SHELL (renamed to CONFIG_SHELL)
I'd like to slim down config.mk file
because it is included from all recursive make.
It is redundant to re-define the v
Before this commit, makefiles under tools/ directory
were implemented with their own way.
This commit refactors them by using "hostprogs-y" variable.
Several C sources have been added to wrap other C sources
to simplify Makefile.
For example, tools/crc32.c includes lib/crc32.c
Signed-off-by: Mas
From: Fabio Estevam
MAINTAINERS file has been removed from the project.
Replace its reference with 'boards.cfg' file instead.
Signed-off-by: Fabio Estevam
---
board/boundary/nitrogen6x/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/boundary/nitrogen6x/README
T1040 has only one SerDes block. so update the code accordingly.
Also, add support of SerDes Protocol 0x00, 0x06, 0x40, 0x69 0x85,
0xA7 and 0xAA
Signed-off-by: Arpit Goel
Signed-off-by: Poonam Aggrwal
Signed-off-by: Priyanka Jain
Signed-off-by: Prabhakar Kushwaha
---
arch/powerpc/cpu/mpc85xx
Enable entherent for T1040QDS. It enables FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5
- Define MDIO related configs
- Added eth.c file
- Update t1040.c to support RGMII and SGMII
- Update t1040qds.c to support ethernet
- Define the PHY address
Signed-off-by: Arpit Goel
Signed-off-by: Poonam Aggrwal
This patch adds support for the silica pengwyn board with AM335x SoC
Signed-off-by: Lothar Felten
---
arch/arm/include/asm/arch-am33xx/ddr_defs.h | 16 ++
board/silica/pengwyn/Makefile | 13 +
board/silica/pengwyn/board.c| 245 +++
board/silica/
Hi Ajay,
Please avoid re-post with the same subject.
I think, Yesterday you posted the same patches.
If there is any diff or updates, then you should add next version info to them.
Regards...
Prafulla . . .
> -Original Message-
> From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com]
>
On Fri, Jan 24, 2014 at 09:45:36AM +0100, Enric Balletbo Serra wrote:
> Hi Tom,
>
> 2014/1/6 Tom Rini :
> > On Mon, Dec 23, 2013 at 12:11:25PM +0100, Enric Balletbo Serra wrote:
> >> 2013/12/6 Enric Balletbo i Serra :
> >> > Hi all,
> >> >
> >> > Most of the boards based on TI processors uses comm
Dear Danny,
In message <52e15bad.1020...@coloradoengineeringinc.com> you wrote:
>
> > Yes - if you add support for 64 bit configurations in general, and
> > for powerpc64 in particular.
> I don't even have a sense for what would be involved here. How
> fundamentally would the U-Boot code need to
Dear Dennis Gilmore,
In message <1390501358-4564-2-git-send-email-den...@ausil.us> you wrote:
> Signed-off-by: Dennis Gilmore
"add any option for filesystem with sysboot uses generic load" ?
I'm sorry, but I cannot understand what this is supposed to mean.
> +#ifdef CONFIG_CMD_FS_GENERIC
Can
On Wed, Jan 22, 2014 at 01:20:35PM -0700, Stephen Warren wrote:
> From: Stephen Warren
>
> Since all code that sets or interprets MASK_BITS_* now uses the enums
> to define/compare the values, there is no need for MASK_BITS_* to have
> a specific integer value. In fact, having a specific integer
Dear Dennis Gilmore,
In message <1390501358-4564-3-git-send-email-den...@ausil.us> you wrote:
> describe a set of default features that distros can rely on being available.
> having this common definition means that distros can easily support systems
> implementing them.
>
> Signed-off-by: Dennis
On Wed, Jan 22, 2014 at 01:20:32PM -0700, Stephen Warren wrote:
> From: Stephen Warren
>
> The only place where the MASK_BITS_* values are used is in
> adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28,
> new MASK_BITS_31_28) as being associated with mask OUT_CLK_SOURCE4_MASK
On Wed, Jan 22, 2014 at 01:20:33PM -0700, Stephen Warren wrote:
> From: Stephen Warren
>
> OUT_CLK_SOURCE_ are currently named after the number of bits the mask
> they represent includes. However, bit count is not the only possible
> variable; bit position may also vary. Rename OUT_CLK_SOURCE_ to
On Wed, Jan 22, 2014 at 01:20:31PM -0700, Stephen Warren wrote:
> From: Tom Warren
>
> The enum used to define the set of register bits used to represent a
> clock's input mux, MUX_BITS_*, is defined separately for each SoC at
> present. Move this definition to a common location to ease fixing up
On Friday, January 24, 2014 at 12:55:07 PM, Wally Yeh wrote:
> Dear Marek:
> I'm sorry to send this email bothering you.
> but I'm so curious about your patch in uboot:
> http://patchwork.ozlabs.org/patch/301216/
>
> in your patch imx_pcie.c, there's a fuction replace the DABT handler for
> fr
Dear mks,
it would be nice if you could use a real name here...
In message <1310410193.3166.2.camel@debian> you wrote:
>
> Im getting a trouble with mtd on my imx27 27 board, I can't write or
> erase it on U-Boot-1.3.4, here is the log :
I'm sorry, but v1.3.4 is more than 5 years old - this is
On Wed, Jan 22, 2014 at 01:20:59PM -0700, Stephen Warren wrote:
[...]
> diff --git a/arch/arm/include/asm/arch-tegra/pmc.h
> b/arch/arm/include/asm/arch-tegra/pmc.h
[...]
> @@ -21,7 +21,11 @@ struct pmc_ctlr {
> uint pmc_dpd_sample;/* _DPD_PADS_SAMPLE_0, offset 20 */
> uint
Thanks Fabio,
On 01/24/2014 04:15 AM, Fabio Estevam wrote:
From: Fabio Estevam
No need to pass 'u-boot.imx' as parameter for 'make' because u-boot.imx is
built by default.
Signed-off-by: Fabio Estevam
---
board/boundary/nitrogen6x/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(
On 01/24/2014 04:27 AM, Fabio Estevam wrote:
From: Fabio Estevam
MAINTAINERS file has been removed from the project.
Replace its reference with 'boards.cfg' file instead.
Signed-off-by: Fabio Estevam
---
board/boundary/nitrogen6x/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-
On Fri, Jan 24, 2014 at 13:49 +0100, micro1183 wrote:
>
> This patch adds support for the silica pengwyn board with AM335x SoC
>
> Signed-off-by: Lothar Felten
Please consider using git send-email for submission. Your MUA
broke the patch so it doesn't apply, and the From and S-o-b specs
don't
Dear micro1183,
In message <52e2615c.1000...@gmail.com> you wrote:
> This patch adds support for the silica pengwyn board with AM335x SoC
Your patch is line-wrapped and does not apply. Please fix your mailer
configuration.
> +/*
> + * board.c
> + *
> + * Copyright (C) 2013 Lothar Felten
> + *
On Thu, Jan 23, 2014 at 11:58:13AM -0700, Stephen Warren wrote:
[...]
> diff --git a/arch/arm/cpu/tegra-common/clock.c
> b/arch/arm/cpu/tegra-common/clock.c
[...]
> @@ -575,3 +575,91 @@ void clock_init(void)
> /* Do any special system timer/TSC setup */
> arch_timer_init();
> }
> +
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/24/2014 08:49 AM, Wolfgang Denk wrote:
> Dear Dennis Gilmore,
>
> In message <1390501358-4564-2-git-send-email-den...@ausil.us> you wrote:
>> Signed-off-by: Dennis Gilmore
>
> "add any option for filesystem with sysboot uses generic load" ?
>
Hi Stephen,
Looks fine to me..
On Jan 24, 2014, at 2:42 AM, Stephen Warren wrote:
> From: Stephen Warren
>
> Tegra124's MMC controller is very similar to earlier SoC generations,
> and can be supported by the same driver.
>
> However, there are some non-backwards-compatible HW differences, an
Hi Tom,
2014/1/24 Tom Rini :
> On Fri, Jan 24, 2014 at 09:45:36AM +0100, Enric Balletbo Serra wrote:
>> Hi Tom,
>>
>> 2014/1/6 Tom Rini :
>> > On Mon, Dec 23, 2013 at 12:11:25PM +0100, Enric Balletbo Serra wrote:
>> >> 2013/12/6 Enric Balletbo i Serra :
>> >> > Hi all,
>> >> >
>> >> > Most of the
- "Prafulla Wadaskar" wrote:
> Hi Ajay,
>
> Please avoid re-post with the same subject.
> I think, Yesterday you posted the same patches.
> If there is any diff or updates, then you should add next version info
> to them.
>
> Regards...
> Prafulla . . .
>
Hi Prafulla,
I apologize for thi
On 24.01.2014, at 02:39, Scott Wood wrote:
> On Fri, 2014-01-24 at 02:25 +0100, Alexander Graf wrote:
>> On 24.01.2014, at 01:49, Scott Wood wrote:
>>
>>> On Thu, 2014-01-23 at 14:08 +0100, Alexander Graf wrote:
On 21.01.2014, at 03:25, Scott Wood wrote:
> On Sun, 2014-01-19 at
Hi Wolfgang,
El Fri, 24 Jan 2014 14:50:10 +0100
Wolfgang Denk escribió:
> Dear Dennis Gilmore,
>
> In message <1390501358-4564-3-git-send-email-den...@ausil.us> you
> wrote:
> > describe a set of default features that distros can rely on being
> > available. having this common definition means
On Thu, Jan 23, 2014 at 05:42:54PM -0700, Stephen Warren wrote:
[...]
> diff --git a/arch/arm/include/asm/arch-tegra/clk_rst.h
> b/arch/arm/include/asm/arch-tegra/clk_rst.h
[...]
> @@ -105,10 +128,10 @@ struct clk_rst_ctlr {
> uint crc_clk_cpug_cmplx;/* _CLK_CPUG_CMPLX_0, 0x378
On Friday, January 24, 2014 at 04:15:37 PM, Wally Yeh wrote:
> Dear Marek:
> thank you very much! you really help me a lot. :D
>
> and I see you in the community at the samw post about uboot pcie:
> https://community.freescale.com/message/375723?et=watches.email.thread#3757
> 23
>
> I'm Wally
Add a callback so that a board can implement it's own specific routine to
toggle the port's nRESET line.
Signed-off-by: Marek Vasut
Cc: Stefano Babic
---
drivers/pci/pcie_imx.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/
On Thu, Jan 23, 2014 at 05:42:55PM -0700, Stephen Warren wrote:
[...]
> diff --git a/arch/arm/cpu/arm720t/tegra-common/cpu.c
> b/arch/arm/cpu/arm720t/tegra-common/cpu.c
[...]
> @@ -128,6 +144,18 @@ int pllx_set_rate(struct clk_pll_simple *pll , u32 divn,
> u32 divm,
>
> debug(" pllx_set_r
I've been booting Venice2 with these patches for a day now, everything
seems to work as expected, so:
Tested-by: Thierry Reding
pgpiuqcN9qGSX.pgp
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/list
On Thu, Jan 23, 2014 at 12:55:27PM -0700, Stephen Warren wrote:
> From: Stephen Warren
>
> People who write (or scripts that auto-generate) extlinux.conf don't
> want to know about HW-specific information such as FDT filenames. Create
> a new extlinux.conf tag "fdtdir" that specifies only the dir
On Wed, Jan 22, 2014 at 09:45:53AM -0800, York Sun wrote:
> Tom,
>
> The following changes since commit e222b1f36fedb0363dbc21e0add7dc3848bae553:
>
> powerpc/mpc85xx:Increase binary size for P, B & T series boards. (2014-01-21
> 14:06:30 -0800)
>
> are available in the git repository at:
>
>
On 01/24/2014 06:44 AM, Thierry Reding wrote:
> On Wed, Jan 22, 2014 at 01:20:32PM -0700, Stephen Warren wrote:
>> From: Stephen Warren
>>
>> The only place where the MASK_BITS_* values are used is in
>> adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28,
>> new MASK_BITS_31_28
On 01/24/2014 06:47 AM, Thierry Reding wrote:
> On Wed, Jan 22, 2014 at 01:20:33PM -0700, Stephen Warren wrote:
>> From: Stephen Warren
>>
>> OUT_CLK_SOURCE_ are currently named after the number of bits the mask
>> they represent includes. However, bit count is not the only possible
>> variable; b
On 01/24/2014 06:54 AM, Thierry Reding wrote:
> On Wed, Jan 22, 2014 at 01:20:31PM -0700, Stephen Warren wrote:
...
> With the few small comments addressed, the series:
>
> Reviewed-by: Thierry Reding
>
> I've also given these a spin together with your reworked Tegra124
> patches and it al
From: Tom Warren
The enum used to define the set of register bits used to represent a
clock's input mux, MUX_BITS_*, is defined separately for each SoC at
present. Move this definition to a common location to ease fixing up
some issues with the definition, and the code that uses it.
Signed-off-b
On 01/24/2014 06:50 AM, Thierry Reding wrote:
> On Wed, Jan 22, 2014 at 01:20:35PM -0700, Stephen Warren wrote:
>> From: Stephen Warren
>>
>> Since all code that sets or interprets MASK_BITS_* now uses the enums
>> to define/compare the values, there is no need for MASK_BITS_* to have
>> a specifi
From: Stephen Warren
The only place where the MASK_BITS_* values are used is in
adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28,
new MASK_BITS_31_28) as being associated with mask OUT_CLK_SOURCE4_MASK,
i.e. bits 31:28. Rename the MASK_BITS_ macro to reflect how it's actuall
From: Tom Warren
Some clock sources have 3-bit muxes in bits 31:29. Implement core
support for this mux field.
Signed-off-by: Tom Warren
[swarren, extracted from a larger patch by Tom]
Signed-off-by: Stephen Warren
Reviewed-by: Thierry Reding
Tested-by: Thierry Reding
Acked-by: Thierry Redin
From: Stephen Warren
OUT_CLK_SOURCE_ are currently named after the number of bits the mask
they represent includes. However, bit count is not the only possible
variable; bit position may also vary. Rename OUT_CLK_SOURCE_ to
OUT_CLK_SOURCE_31_30_ and OUT_CLK_SOURCE4_ to OUT_CLK_SOURCE_31_28 to
mor
From: Stephen Warren
Not all code that set or interpreted "mux_bits" was using the named
macros, but rather some was simply using hard-coded integer constants.
This makes it hard to determine which pieces of code are affected by
changes to those constants.
Replace the integer constants with the
From: Stephen Warren
Since all code that sets or interprets MASK_BITS_* now uses the enums
to define/compare the values, there is no need for MASK_BITS_* to have
a specific integer value. In fact, having a specific integer value may
encourage people to hard-code those values, or interpret the val
On 01/24/2014 09:15 AM, Tom Rini wrote:
> On Thu, Jan 23, 2014 at 12:55:27PM -0700, Stephen Warren wrote:
>> From: Stephen Warren
>>
>> People who write (or scripts that auto-generate) extlinux.conf don't
>> want to know about HW-specific information such as FDT filenames. Create
>> a new extlinux
From: Stephen Warren
Tegra114 and later's PMC module removes the pwrgate_timer_on register
and replaces it with a clamp_status register. Adjust pmc.h to reflect
this, and update any code affected by the change.
The cpu.c change in this patch was extracted from a much larger patch
by Jimmy Zhang.
On 01/24/2014 07:13 AM, Thierry Reding wrote:
> On Thu, Jan 23, 2014 at 11:58:13AM -0700, Stephen Warren wrote:
> [...]
>> diff --git a/arch/arm/cpu/tegra-common/clock.c
>> b/arch/arm/cpu/tegra-common/clock.c
> [...]
>> @@ -575,3 +575,91 @@ void clock_init(void)
>> /* Do any special system ti
From: Jimmy Zhang
Based on the Tegra TRM, the system clock (which is the AVP clock) can
run up to 275MHz. On power on, the default sytem clock source is set to
PLLP_OUT0. In function clock_early_init(), PLLP_OUT0 will be set to
408MHz which is beyond system clock's upper limit.
The fix is to set
On 01/24/2014 08:20 AM, Thierry Reding wrote:
> On Thu, Jan 23, 2014 at 05:42:54PM -0700, Stephen Warren wrote:
>> diff --git a/arch/arm/include/asm/arch-tegra124/gpio.h
>> b/arch/arm/include/asm/arch-tegra124/gpio.h
> [...]
>> +enum gpio_pin {
>> +GPIO_PA0 = 0, /* pin 0 */
> [...]
>> +
On 01/24/2014 08:44 AM, Thierry Reding wrote:
> On Thu, Jan 23, 2014 at 05:42:55PM -0700, Stephen Warren wrote:
>> +static bool is_partition_powered(u32 mask)
>> +{
>> +struct pmc_ctlr *pmc = (struct pmc_ctlr *)NV_PA_PMC_BASE;
>> +u32 reg;
>> +
>> +/* Get power gate status */
>> +r
On 01/21/2014 09:34 AM, York Sun wrote:
> On 01/21/2014 09:29 AM, Scott Wood wrote:
>> On Tue, 2014-01-21 at 10:14 +0100, Wolfgang Denk wrote:
>>> Dear York,
>>>
>>> In message you wrote:
> On second thought, I also think we should avoid solutions where the
> BE/LE test has to be done
1 - 100 of 149 matches
Mail list logo