Re: [U-Boot] [PATCH] powerpc/mpc8xxx: Fix ddr build error

2011-10-04 Thread Becky Bruce
op building because there is a debug() >> statement that references symbols that only exist when DEBUG is >> defined. This patch makes those symbols unconditional. >> >> Signed-off-by: Becky Bruce > > NAK. This approach increases code size. The patch you mentioned i

Re: [U-Boot] [PATCH] powerpc/mpc8xxx: Fix ddr build error

2011-10-04 Thread Becky Bruce
On Oct 3, 2011, at 8:40 PM, Tabi Timur-B04825 wrote: > On Mon, Oct 3, 2011 at 6:59 PM, Becky Bruce > wrote: > >> -#ifdef DEBUG >> const char *step_string_tbl[] = { >>"STEP_GET_SPD", >>"STEP_COMPUTE_DIMM_PARMS", >> @

[U-Boot] [PATCH] powerpc/mpc8xxx: Fix ddr build error

2011-10-03 Thread Becky Bruce
defined. This patch makes those symbols unconditional. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc8xxx/ddr/main.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/main.c b/arch/powerpc/cpu/mpc8xxx/ddr/main.c index 249fd7d..eb70535 10064

[U-Boot] [PATCH 1/2] powerpc/mpc8641hpcn: fix SRIO BAT config

2011-10-03 Thread Becky Bruce
There were duplicate (and conflicting) defines for the BATs used to cover SRIO. Drop the bogus set. Signed-off-by: Becky Bruce --- include/configs/MPC8641HPCN.h |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/configs/MPC8641HPCN.h b/include/configs

[U-Boot] [PATCH 2/2] powerpc/mpc86xx: Disable translation for BAT setup

2011-10-03 Thread Becky Bruce
move back to asm code, because we require translation to be enabled to have a stack for C code. The yucky thing about that is that the assembler doesn't like ULL so we have to switch to using HIGH/LOW pairs for physical addresses that are > 32 bits in length. Signed-off-by: Becky Bruce

[U-Boot] [PATCH 0/2] powerpc/mpc86xx: Fix BAT register setup

2011-10-03 Thread Becky Bruce
This set of 2 patches fixes the BAT register setup on mpc86xx. Currently, we overwrite a BAT register while running out of it which is dangerous and can cause problems like the system going into the weeds. The first patch cleans up the SRIO config information used for setup of the SRIO BAT registe

[U-Boot] [PATCH v2 0/2] Fix TQM8560 DDR boot issue

2011-07-18 Thread Becky Bruce
Series to fix the TQM85xx issue reported by Wolfgang the problem turned out to be that those boards use get_ram_size(), which requires that a TLB entry be set up for the DDR region. My earlier patches changed the way this was done and broke this. I've created a new function, clear_ddr_tlbs()

[U-Boot] [PATCH V2 2/2] board/tqm85xx: Create and tear down TLB for get_ram_size()

2011-07-18 Thread Becky Bruce
lb entries for the *actual* detected size of ddr. This prevents us from having TLB entries that are larger than DDR sitting around for very long, which is not a recommended scenario. Signed-off-by: Becky Bruce --- board/tqc/tqm85xx/sdram.c |7 +++ include/configs/TQM85xx.h |6 +

[U-Boot] [PATCH V2 1/2] powerpc/mpc85xx: Add clear_ddr_tlbs function

2011-07-18 Thread Becky Bruce
range as needed. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c | 14 +++--- arch/powerpc/cpu/mpc85xx/tlb.c | 29 + arch/powerpc/include/asm/mmu.h |1 + 3 files changed, 33 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/cpu/mp

[U-Boot] [PATCH 2/3] board/tqm85xx: Clean up PPC_DDR_WIMGE define logic in config file

2011-07-15 Thread Becky Bruce
The way I wrote this in the first time was based on the original code, but I used a karnaugh map to make it a bit easier to read. There should be no functional change. Signed-off-by: Becky Bruce --- include/configs/TQM85xx.h |7 ++- 1 files changed, 6 insertions(+), 1 deletions

[U-Boot] [PATCH 1/3] powerpc/mpc85xx: Add clear_ddr_tlbs function

2011-07-15 Thread Becky Bruce
range as needed. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c | 14 +++--- arch/powerpc/cpu/mpc85xx/tlb.c | 29 + arch/powerpc/include/asm/mmu.h |1 + 3 files changed, 33 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/cpu/mp

[U-Boot] [PATCH 3/3] board/tqm85xx: Create and tear down TLB for get_ram_size()

2011-07-15 Thread Becky Bruce
lb entries for the *actual* detected size of ddr. This prevents us from having TLB entries that are larger than DDR sitting around for very long, which is not a recommended scenario. Signed-off-by: Becky Bruce --- board/tqc/tqm85xx/sdram.c |7 +++ include/configs/TQM85xx.h |2 +

[U-Boot] [PATCH 0/3] powerpc/85xx: Fix TQM8560 DDR boot issue

2011-07-15 Thread Becky Bruce
Series to fix the TQM85xx issue reported by Wolfgang the problem turned out to be that those boards use get_ram_size(), which requires that a TLB entry be set up for the DDR region. My earlier patches changed the way this was done and broke this. I've created a new function, clear_ddr_tlbs(),

[U-Boot] [PATCH] powerpc/mpc8548cds: Remove incorrect DDR_MSYNC_IN erratum define

2011-07-13 Thread Becky Bruce
This erratum doesn't exist on this processor, and the workaround spins on a non-existent register, causing boot to hang. Signed-off-by: Becky Bruce --- include/configs/MPC8548CDS.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/MPC8548CDS.h b/in

[U-Boot] [PATCH V3 3/6] mpc85xx boards: initdram() cleanup/bugfix

2010-12-17 Thread Becky Bruce
disabled. This seems bad. The xpedite boards had a common/fsl_8xxx_ddr.c; with this change only the 517 board uses this so I have moved the ddr code into that board's directory in xpedite517x.c The ATUM8548 board didn't appear to set up any tlbs in the fixed_sdram case; this patch fixes th

[U-Boot] [PATCH V3 6/6] MPC8xxx DDR: align informational prints

2010-12-17 Thread Becky Bruce
64-bit, CL=5, ECC off) The prints from lbc_sdram_init() have also been modified to line line up and changed to start with "LBC SDRAM" instead of the confusing "SDRAM". Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc8xxx/ddr/main.c |5 +++-- board/freescale/

[U-Boot] [PATCH V3 5/6] 85xx boards: Rename CONFIG_DDR_DLL to CONFIG_SYS_FSL_ERRATUM_DDR_MSYNC_IN

2010-12-17 Thread Becky Bruce
This config option is for an erratum workaround; rename it to be more clear. Also, drop it from config files don't need it and were undefining it. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++ arch/powerpc/cpu/mpc85xx/cpu.c|2 +-

[U-Boot] [PATCH V3 4/6] mpc85xx: rename sdram_init() lbc_sdram_init()

2010-12-17 Thread Becky Bruce
sdram_init() is used to initialize sdram on the lbc. Rename it accordingly. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c |2 +- arch/powerpc/cpu/mpc8xxx/fsl_lbc.c |4 ++-- arch/powerpc/include/asm/fsl_lbc.h |2 +- board/freescale/mpc8540ads

[U-Boot] [PATCH V3 2/6] mpc85xx/tlb.c: Allow platforms to specify wimge bits

2010-12-17 Thread Becky Bruce
is a fairly universal concept, so any ppc platforms that require different WIMGE settings for DDR can use the same #define. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b

[U-Boot] [PATCH V3 1/6] tqm85xx: create fixed_sdram() to do sdram setup

2010-12-17 Thread Becky Bruce
Also, change this code to use phys_size_t instead of long int. Using common naming for this function will enable us to use the common initdram() for 85xx going forward. Other than the type change, this is just a code rearrange. Signed-off-by: Becky Bruce --- board/tqc/tqm85xx/sdram.c | 37

[U-Boot] [PATCH V3 00/06] Go to common initdram() on 85xx-based boards

2010-12-17 Thread Becky Bruce
This patch series consists of a bunch of cleanups that allow us to use a common initdram() on all of the non-corenet 85xx-based boards. Also, switch to using phys_size_t to represent the size of memory returned. Most of these patches are just code rearranges or renaming things to get a common sch

Re: [U-Boot] [PATCH V2 09/12] mpc85xx boards: initdram() cleanup/bugfix

2010-12-15 Thread Becky Bruce
llowing changes since commit 0c0892be0d93a5a892b93739c5eb3bf692fed4ff: > > Merge branch 'master' of git://git.denx.de/u-boot-marvell > (2010-10-29 22:03:00 +0200) > > are available in the git repository at: > > . bb-dram > > Becky Bruce (12): > mpc85

Re: [U-Boot] 85xx board maintainership / anyone care?

2010-12-14 Thread Becky Bruce
On Dec 14, 2010, at 10:59 AM, Paul Gortmaker wrote: > On Tue, Dec 14, 2010 at 10:12 AM, Kumar Gala > wrote: >> >> On Dec 14, 2010, at 1:34 AM, Paul Gortmaker wrote: >> >>> On Mon, Dec 13, 2010 at 11:10 PM, Kumar Gala >>> wrote: On Dec 10, 2010, at 12:21 PM, Kumar Gala wrote:

[U-Boot] [PATCH V2 05/12] mpc8569mds: Remove unnecessary CONFIG_SYS_LBC_SDRAM_BASE definition

2010-12-13 Thread Becky Bruce
This isn't used - delete it. Signed-off-by: Becky Bruce --- include/configs/MPC8569MDS.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h index 9620fd0..e64277e 100644 --- a/include/configs/MPC8569

[U-Boot] [PATCH V2 09/12] mpc85xx boards: initdram() cleanup/bugfix

2010-12-13 Thread Becky Bruce
disabled. This seems bad. The xpedite boards had a common/fsl_8xxx_ddr.c; with this change only the 517 board uses this so I have moved the ddr code into that board's directory in xpedite517x.c The ATUM8548 board didn't appear to set up any tlbs in the fixed_sdram case; this patch fixes th

[U-Boot] [PATCH V2 12/12] MPC8xxx DDR: align informational prints

2010-12-13 Thread Becky Bruce
CL=5, ECC off) Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc8xxx/ddr/main.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/main.c b/arch/powerpc/cpu/mpc8xxx/ddr/main.c index 6d582e9..e3888ff 100644 --- a/arch/powerpc/cpu/mpc8

[U-Boot] [PATCH V2 10/12] 85xx boards: Rename CONFIG_DDR_DLL to CONFIG_SYS_FSL_ERRATUM_DDR_MSYNC_IN

2010-12-13 Thread Becky Bruce
This config option is for an erratum workaround; rename it to be more clear. Also, drop it from config files don't need it and were undefining it. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++ arch/powerpc/cpu/mpc85xx/cpu.c|2 +-

[U-Boot] [PATCH V2 11/12] mpc85xx: rename sdram_init() lbc_sdram_init()

2010-12-13 Thread Becky Bruce
sdram_init() is used to initialize sdram on the lbc. Rename it accordingly. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c |2 +- arch/powerpc/cpu/mpc8xxx/fsl_lbc.c |4 ++-- arch/powerpc/include/asm/fsl_lbc.h |2 +- board/freescale/mpc8540ads

[U-Boot] [PATCH V2 06/12] PM854: rename CONFIG_SYS_LBC_SDRAM_BASE CONFIG_SYS_LBC_BASE

2010-12-13 Thread Becky Bruce
As far as I can tell, this board doesn't actually configure the LBC for SDRAM. I've renamed this to avoid confusion (and to make the initdram() cleanup easier later.) Signed-off-by: Becky Bruce --- board/pm854/law.c |5 ++--- board/pm854/tlb.c |4 ++-- include/con

[U-Boot] [PATCH V2 07/12] PM856: Rename CONFIG_SYS_LBC_SDRAM_BASE CONFIG_SYS_LBC_BASE

2010-12-13 Thread Becky Bruce
This board does not actually configure anything for SDRAM - change the name to avoid confusion and make it easier to go to a common initdram going forward. Signed-off-by: Becky Bruce --- board/pm856/law.c |5 ++--- board/pm856/tlb.c |4 ++-- include/configs/PM856.h |6

[U-Boot] [PATCH V2 08/12] MPC8568/MPC8569: Remove CONFIG_DDR_DLL define

2010-12-13 Thread Becky Bruce
Neither of these parts should have the erratum this is meant to work around. Delete it. Signed-off-by: Becky Bruce --- include/configs/MPC8568MDS.h |1 - include/configs/MPC8569MDS.h |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/MPC8568MDS.h b

[U-Boot] [PATCH V2 03/12] mpc85xx/tlb.c: Allow platforms to specify wimge bits

2010-12-13 Thread Becky Bruce
Some platforms might want to override the default wimge=0 for DDR. Add CONFIG_DDR_TLB_WIMGE for those platforms to use. This will initially only be used by TQM85xx, but could be useful for other boards or testing going forward. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c

[U-Boot] [PATCH V2 02/12] tqm85xx: create fixed_sdram() to do sdram setup

2010-12-13 Thread Becky Bruce
Also, change this code to use phys_size_t instead of long int. Using common naming for this function will enable us to use the common initdram() for 85xx going forward. Other than the type change, this is just a code rearrange. Signed-off-by: Becky Bruce --- board/tqc/tqm85xx/sdram.c | 37

[U-Boot] [PATCH V2 01/12] mpc8540eval: Split initdram() into initdram() and sdram_init()

2010-12-13 Thread Becky Bruce
Modeled after the MPC8540DS code; this will allow us to use a common initdram() once that is available. There should be no functional change. Signed-off-by: Becky Bruce --- board/mpc8540eval/mpc8540eval.c | 64 +- 1 files changed, 35 insertions(+), 29

[U-Boot] [PATCH V2 04/12] socrates: rename sdram_setup fixed_sdram()

2010-12-13 Thread Becky Bruce
This will help us go to a fixed initdram() for all 85xx boards going forward. sdram_setup() had an argument that it didn't need, since the value was #defined. Signed-off-by: Becky Bruce --- board/socrates/sdram.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/

[U-Boot] [PATCH v2 00/12] Go to common initdram() on 85xx-based boards

2010-12-13 Thread Becky Bruce
This patch series consists of a bunch of cleanups that allow us to use a common initdram() on all of the non-corenet 85xx-based boards. Also, switch to using phys_size_t to represent the size of memory returned. Most of these patches are just code rearranges or renaming things to get a common sch

Re: [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-03 Thread Becky Bruce
On Dec 2, 2010, at 8:26 PM, Peter Tyser wrote: > Hi Becky, > >> +/* Common ddr init for non-corenet fsl 85xx platforms */ >> +#ifndef CONFIG_FSL_CORENET >> +phys_size_t initdram(int board_type) >> +{ >> +phys_size_t dram_size = 0; >> + >> +puts("Initializing\n"); > > Any chance we can r

Re: [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-03 Thread Becky Bruce
On Dec 2, 2010, at 8:26 PM, Timur Tabi wrote: > On Thu, Dec 2, 2010 at 5:45 PM, Becky Bruce > wrote: >> This is for boards that use the SDRAM mode on the LBC but don't >> require any additional setup. >> >> I'm merging all the initdram() calls into a

[U-Boot] [PATCH 12/13] mpc85xx boards: initdram() cleanup/bugfix

2010-12-02 Thread Becky Bruce
disabled. This seems bad. The xpedite boards had a common/fsl_8xxx_ddr.c; with this change only the 517 board uses this so I have moved the ddr code into that board's directory in xpedite517x.c The ATUM8548 board didn't appear to set up any tlbs in the fixed_sdram case; this patch fixes th

[U-Boot] [PATCH 13/13] 85xx boards: Rename CONFIG_DDR_DLL to CONFIG_SYS_FSL_ERRATUM_DDR_MSYNC_IN

2010-12-02 Thread Becky Bruce
This config option is for an erratum workaround; rename it to be more clear. Also, drop it from config files don't need it and were undefining it. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++ arch/powerpc/cpu/mpc85xx/cpu.c|2 +-

[U-Boot] [PATCH 11/13] MPC8568/MPC8569: Remove CONFIG_DDR_DLL define

2010-12-02 Thread Becky Bruce
Neither of these parts should have the erratum this is meant to work around. Delete it. Signed-off-by: Becky Bruce --- include/configs/MPC8568MDS.h |1 - include/configs/MPC8569MDS.h |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/MPC8568MDS.h b

[U-Boot] [PATCH 10/13] SBC8540: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-02 Thread Becky Bruce
This is used to distinguish between boards that require extra setup to use LBC sdram, and those that don't Signed-off-by: Becky Bruce --- include/configs/SBC8540.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/SBC8540.h b/include/configs/SBC8

[U-Boot] [PATCH 09/13] stxgp3: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-02 Thread Becky Bruce
This is needed to distinguish between boards with lbc sdram that require additional initialization and those that do not. Signed-off-by: Becky Bruce --- include/configs/stxgp3.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/stxgp3.h b/include/configs

[U-Boot] [PATCH 07/13] PM856: Rename CONFIG_SYS_LBC_SDRAM_BASE CONFIG_SYS_LBC_BASE

2010-12-02 Thread Becky Bruce
This board does not actually configure anything for SDRAM - change the name to avoid confusion and make it easier to go to a common initdram going forward. Signed-off-by: Becky Bruce --- board/pm856/law.c |5 ++--- board/pm856/tlb.c |4 ++-- include/configs/PM856.h |6

[U-Boot] [PATCH 02/13] tqm85xx: create fixed_sdram() to do sdram setup

2010-12-02 Thread Becky Bruce
Also, change this code to use phys_size_t instead of long int. Using common naming for this function will enable us to use the common initdram() for 85xx going forward. Other than the type change, this is just a code rearrange. Signed-off-by: Becky Bruce --- board/tqc/tqm85xx/sdram.c | 37

[U-Boot] [PATCH 04/13] socrates: rename sdram_setup fixed_sdram()

2010-12-02 Thread Becky Bruce
This will help us go to a fixed initdram() for all 85xx boards going forward. sdram_setup() had an argument that it didn't need, since the value was #defined. Signed-off-by: Becky Bruce --- board/socrates/sdram.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/

[U-Boot] [PATCH 00/13] Go to common initdram() on 85xx-based boards

2010-12-02 Thread Becky Bruce
This patch series consists of a bunch of cleanups that allow us to use a common initdram() on all of the non-corenet 85xx-based boards. Also, switch to using phys_size_t to represent the size of memory returned. Most of these patches are just code rearranges or renaming things to get a common sc

[U-Boot] [PATCH 06/13] PM854: rename CONFIG_SYS_LBC_SDRAM_BASE CONFIG_SYS_LBC_BASE

2010-12-02 Thread Becky Bruce
As far as I can tell, this board doesn't actually configure the LBC for SDRAM. I've renamed this to avoid confusion (and to make the initdram() cleanup easier later.) Signed-off-by: Becky Bruce --- board/pm854/law.c |5 ++--- board/pm854/tlb.c |4 ++-- include/con

[U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-02 Thread Becky Bruce
could have defined an empty sdram_init() but I hate doing that. Signed-off-by: Becky Bruce --- include/configs/sbc8560.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/sbc8560.h b/include/configs/sbc8560.h index 101c5d9..65d8eba 100644 --- a/include/configs

[U-Boot] [PATCH 03/13] mpc85xx/tlb.c: Allow platforms to specify wimge bits

2010-12-02 Thread Becky Bruce
Some platforms might want to override the default wimge=0 for DDR. Add CONFIG_DDR_TLB_WIMGE for those platforms to use. This will initially only be used by TQM85xx, but could be useful for other boards or testing going forward. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c

[U-Boot] [PATCH 01/13] mpc8540eval: Split initdram() into initdram() and sdram_init()

2010-12-02 Thread Becky Bruce
Modeled after the MPC8540DS code; this will allow us to use a common initdram() once that is available. There should be no functional change. Signed-off-by: Becky Bruce --- board/mpc8540eval/mpc8540eval.c | 64 +- 1 files changed, 35 insertions(+), 29

[U-Boot] [PATCH 05/13] mpc8569mds: Remove unnecessary CONFIG_SYS_LBC_SDRAM_BASE definition

2010-12-02 Thread Becky Bruce
This isn't used - delete it. Signed-off-by: Becky Bruce --- include/configs/MPC8569MDS.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h index c7973b4..720b5b6 100644 --- a/include/configs/MPC8569

Re: [U-Boot] 4 PiB left unmapped

2010-11-19 Thread Becky Bruce
On Nov 19, 2010, at 4:23 AM, DUNDA Matthias wrote: >>> Well, it's actually 2 Gig, just like u-boot recognizes above... >>> >>> There's something wrong with the parameter you're passing to print_size(). > >> I'm guessing its -1 or something like that. > > I used the board specific code of

Re: [U-Boot] [PATCH] powerpc/85xx: Introduce CONFIG_SYS_EXTRA_ENV_RELOC

2010-11-18 Thread Becky Bruce
On Nov 18, 2010, at 11:21 AM, Kumar Gala wrote: > Some systems need to relocate the env_addr pointer early because the > location its point to will get invalidated before env_relocate is > called. One example is on systems that might use a L2 or L3 cache > in SRAM mode and initialize that cache

Re: [U-Boot] [PATCH] TQM85xx: Fix bug introduced by 83xx/85xx/86xx: LBC register cleanup

2010-11-12 Thread Becky Bruce
On Nov 11, 2010, at 4:30 PM, Wolfgang Denk wrote: > Dear Becky Bruce, > > In message <1289496785-9243-1-git-send-email-bec...@kernel.crashing.org> you > wrote: >> The size of the other bank needed to be added to the br0 setting; >> this got dropped in the LBC

[U-Boot] [PATCH] TQM85xx: Fix bug introduced by 83xx/85xx/86xx: LBC register cleanup

2010-11-11 Thread Becky Bruce
The size of the other bank needed to be added to the br0 setting; this got dropped in the LBC cleanup. Signed-off-by: Becky Bruce --- This has been neither built or tested, as TQM8555 doesn't seem to build on the head of this tree, and I don't have a board to test on. board/t

[U-Boot] [PATCH] TQM85xx: Fix bug introduced by 83xx/85xx/86xx: LBC register cleanup

2010-11-11 Thread Becky Bruce
The size of the other bank needed to be added to the br0 setting; this got dropped in the LBC cleanup. Signed-off-by: Becky Bruce --- This has been neither built or tested, as TQM8555 doesn't seem to build on the head of this tree, and I don't have a board to test on. board/t

Re: [U-Boot] [PATCH v2] powerpc/83xx: Fix build issue with ve8313 board due to lbus changes

2010-08-20 Thread Becky Bruce
e: *** [board/ve8313/libve8313.a] Error 2 > > Due to changes to unifiy local bus struct definitions. > > Reported-by: Wolfgang Denk > Signed-off-by: Kumar Gala ve8313 wasn't in the tree when I submitted my changes but I think this is the right fix - it looks sane WRT to my L

[U-Boot] [PATCH] drivers/usb/host/ohci-hcd: rename readl/writel to ohci_readl/ohci_writel

2010-06-30 Thread Becky Bruce
This avoids a build warning that you see if anyone in the header chain has included io.h (which is coming shortly). The previous code redefined readl/writel; this patch renames it to be specific to ohci. The defines are also moved from ohci-hcd.c to ohci.h. Signed-off-by: Becky Bruce --- Remy

[U-Boot] [PATCH V6 10/10] MAKEALL: Add missing powerpc 36-bit targets

2010-06-17 Thread Becky Bruce
We were missing 8641HPCN_36BIT and MPC8536DS_36BIT. Signed-off-by: Becky Bruce --- MAKEALL |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAKEALL b/MAKEALL index 2527352..a82c93c 100755 --- a/MAKEALL +++ b/MAKEALL @@ -393,6 +393,7 @@ LIST_85xx

[U-Boot] [PATCH V6 09/10] powerpc 83xx/85xx: Merge lbc upmconfig code

2010-06-17 Thread Becky Bruce
Each platform had its own version of the upmconfig, despite the init process being identical. Now that we have a spot for common lbc code, create a common upmconfig() there. Signed-off-by: Becky Bruce Acked-by: Kim Phillips --- arch/powerpc/cpu/mpc83xx/cpu.c | 66

[U-Boot] [PATCH V6 08/10] mpc85xx: Add reginfo command

2010-06-17 Thread Becky Bruce
The new command dumps the TLBCAM, the LAWs, and the BR/OR regs. Add CONFIG_CMD_REGINFO to the config for all MPC85xx parts. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c | 13 + common/cmd_reginfo.c |5 + include/configs/MPC8536DS.h|1

[U-Boot] [PATCH V6 07/10] fsl_law.c: Add print_laws() for FSL_CORENET platforms.

2010-06-17 Thread Becky Bruce
Add printing of LAWBARH/LAWBARL for FSL_CORENET platforms. Signed-off-by: Becky Bruce --- drivers/misc/fsl_law.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/misc/fsl_law.c b/drivers/misc/fsl_law.c index 968..628bd59 100644 --- a/drivers/misc

[U-Boot] [PATCH V6 06/10] drivers/misc/fsl_law.c: Rearrange code to avoid duplication

2010-06-17 Thread Becky Bruce
The current code redefines functions based on FSL_CORENET_ vs not - create macros/inlines instead that hide the differences. Signed-off-by: Becky Bruce --- arch/powerpc/include/asm/fsl_law.h |1 + drivers/misc/fsl_law.c | 125 ++-- 2 files

[U-Boot] [PATCH V6 04/10] mpc85xx: tlb.c cleanups

2010-06-17 Thread Becky Bruce
a few misc other minor cleanups. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c | 50 +++ arch/powerpc/include/asm/mmu.h |1 + 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerp

[U-Boot] [PATCH V6 05/10] mpc85xx: Add print_tlbcam() function

2010-06-17 Thread Becky Bruce
This dumps out the contents of TLB1 on 85xx-based systems. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c | 20 arch/powerpc/include/asm/mmu.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch

[U-Boot] [PATCH V6 02/10] drivers/usb/host/ohci-hcd: undef readl/writel before redefining

2010-06-17 Thread Becky Bruce
This avoids a build warning that you see if anyone in the header chain has included io.h (which is coming shortly). I also move this to the "ohci.h" header file in the same dir, which is cleaner. Signed-off-by: Becky Bruce --- drivers/usb/host/ohci-hcd.c | 11 --- driver

[U-Boot] [PATCH v6 0/10] PPC LBC/TLB cleanups; reginfo command for 85xx

2010-06-17 Thread Becky Bruce
This somewhat random patch series got its start when I was asked to create a reginfo command for 85xx by one of the internal teams here at FSL to dump the BR/ORs, LAWs, and the TLBCAM entries. As I started doing that, I began to notice that there was a lot of duplicated and inconsistent code for m

[U-Boot] [PATCH V6 01/10] powerpc: Update configs to properly set FSL_ELBC

2010-06-17 Thread Becky Bruce
Some parts that have an Enhanced Local Bus Controller weren't setting CONFIG_FSL_ELBC. Fix this so we can use this define properly going forward (currently it's only used if PHYS_64BIT is set, which meant not all platforms needed to have it set correctly). Signed-off-by: Becky Bruce

Re: [U-Boot] [PATCH V5 09/10] powerpc 83xx/85xx: Merge lbc upmconfig code

2010-06-16 Thread Becky Bruce
Gah. Where did that come from? Will respin this one. -B On Jun 15, 2010, at 8:31 PM, Kim Phillips wrote: > On Mon, 14 Jun 2010 19:56:19 -0500 > Becky Bruce wrote: > >> Each platform had its own version of the upmconfig, despite the >> init process being identical. No

Re: [U-Boot] [PATCH V5 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-16 Thread Becky Bruce
Dangit I'll fix that, thanks. Grrr. -B On Jun 15, 2010, at 8:31 PM, Kim Phillips wrote: > On Mon, 14 Jun 2010 19:56:13 -0500 > Becky Bruce wrote: > >> Currently, 83xx, 86xx, and 85xx have a lot of duplicated code >> dedicated to defining and manipulating the LBC

[U-Boot] [PATCH V5 10/10] MAKEALL: Add missing powerpc 36-bit targets

2010-06-14 Thread Becky Bruce
We were missing 8641HPCN_36BIT and MPC8536DS_36BIT. Signed-off-by: Becky Bruce --- MAKEALL |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAKEALL b/MAKEALL index 2527352..a82c93c 100755 --- a/MAKEALL +++ b/MAKEALL @@ -393,6 +393,7 @@ LIST_85xx

[U-Boot] [PATCH V5 09/10] powerpc 83xx/85xx: Merge lbc upmconfig code

2010-06-14 Thread Becky Bruce
Each platform had its own version of the upmconfig, despite the init process being identical. Now that we have a spot for common lbc code, create a common upmconfig() there. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc83xx/cpu.c | 66 arch

[U-Boot] [PATCH V5 08/10] mpc85xx: Add reginfo command

2010-06-14 Thread Becky Bruce
The new command dumps the TLBCAM, the LAWs, and the BR/OR regs. Add CONFIG_CMD_REGINFO to the config for all MPC85xx parts. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c | 13 + common/cmd_reginfo.c |5 + include/configs/MPC8536DS.h|1

[U-Boot] [PATCH V5 06/10] drivers/misc/fsl_law.c: Rearrange code to avoid duplication

2010-06-14 Thread Becky Bruce
The current code redefines functions based on FSL_CORENET_ vs not - create macros/inlines instead that hide the differences. Signed-off-by: Becky Bruce --- arch/powerpc/include/asm/fsl_law.h |1 + drivers/misc/fsl_law.c | 125 ++-- 2 files

[U-Boot] [PATCH V5 07/10] fsl_law.c: Add print_laws() for FSL_CORENET platforms.

2010-06-14 Thread Becky Bruce
Add printing of LAWBARH/LAWBARL for FSL_CORENET platforms. Signed-off-by: Becky Bruce --- drivers/misc/fsl_law.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/misc/fsl_law.c b/drivers/misc/fsl_law.c index 968..628bd59 100644 --- a/drivers/misc

[U-Boot] [PATCH V5 05/10] mpc85xx: Add print_tlbcam() function

2010-06-14 Thread Becky Bruce
This dumps out the contents of TLB1 on 85xx-based systems. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c | 20 arch/powerpc/include/asm/mmu.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch

[U-Boot] [PATCH V5 04/10] mpc85xx: tlb.c cleanups

2010-06-14 Thread Becky Bruce
a few misc other minor cleanups. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c | 50 +++ arch/powerpc/include/asm/mmu.h |1 + 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerp

[U-Boot] [PATCH V5 01/10] powerpc: Update configs to properly set FSL_ELBC

2010-06-14 Thread Becky Bruce
Some parts that have an Enhanced Local Bus Controller weren't setting CONFIG_FSL_ELBC. Fix this so we can use this define properly going forward (currently it's only used if PHYS_64BIT is set, which meant not all platforms needed to have it set correctly). Signed-off-by: B

[U-Boot] [PATCH V5 02/10] drivers/usb/host/ohci-hcd: undef readl/writel before redefining

2010-06-14 Thread Becky Bruce
This avoids a build warning that you see if anyone in the header chain has included io.h (which is coming shortly). I also move this to the "ohci.h" header file in the same dir, which is cleaner. Signed-off-by: Becky Bruce --- drivers/usb/host/ohci-hcd.c | 11 --- driver

[U-Boot] [PATCH V5] PPC LBC/TLB cleanups; reginfo command for 85xx

2010-06-14 Thread Becky Bruce
This somewhat random patch series got its start when I was asked to create a reginfo command for 85xx by one of the internal teams here at FSL to dump the BR/ORs, LAWs, and the TLBCAM entries. As I started doing that, I began to notice that there was a lot of duplicated and inconsistent code for m

[U-Boot] [PATCH V4] MAKEALL: Add missing powerpc 36-bit targets

2010-06-14 Thread Becky Bruce
We were missing 8641HPCN_36BIT and MPC8536DS_36BIT. Signed-off-by: Becky Bruce --- MAKEALL |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAKEALL b/MAKEALL index 2527352..a82c93c 100755 --- a/MAKEALL +++ b/MAKEALL @@ -393,6 +393,7 @@ LIST_85xx

[U-Boot] [PATCH V4] powerpc 83xx/85xx: Merge lbc upmconfig code

2010-06-14 Thread Becky Bruce
Each platform had its own version of the upmconfig, despite the init process being identical. Now that we have a spot for common lbc code, create a common upmconfig() there. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc83xx/cpu.c | 66 arch

[U-Boot] [PATCH V4] mpc85xx: Add reginfo command

2010-06-14 Thread Becky Bruce
The new command dumps the TLBCAM, the LAWs, and the BR/OR regs. Add CONFIG_CMD_REGINFO to the config for all MPC85xx parts. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c | 13 + common/cmd_reginfo.c |5 + include/configs/MPC8536DS.h|1

[U-Boot] [PATCH V4] fsl_law.c: Add print_laws() for FSL_CORENET platforms.

2010-06-14 Thread Becky Bruce
Add printing of LAWBARH/LAWBARL for FSL_CORENET platforms. Signed-off-by: Becky Bruce --- drivers/misc/fsl_law.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/misc/fsl_law.c b/drivers/misc/fsl_law.c index 968..628bd59 100644 --- a/drivers/misc

[U-Boot] [PATCH V4] drivers/misc/fsl_law.c: Rearrange code to avoid duplication

2010-06-14 Thread Becky Bruce
The current code redefines functions based on FSL_CORENET_ vs not - create macros/inlines instead that hide the differences. Signed-off-by: Becky Bruce --- arch/powerpc/include/asm/fsl_law.h |1 + drivers/misc/fsl_law.c | 125 ++-- 2 files

[U-Boot] [PATCH V4] mpc85xx: Add print_tlbcam() function

2010-06-14 Thread Becky Bruce
This dumps out the contents of TLB1 on 85xx-based systems. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c | 20 arch/powerpc/include/asm/mmu.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch

[U-Boot] [PATCH V4 0/10] PPC LBC/TLB cleanups; reginfo command for 85xx

2010-06-14 Thread Becky Bruce
This somewhat random patch series got its start when I was asked to create a reginfo command for 85xx by one of the internal teams here at FSL to dump the BR/ORs, LAWs, and the TLBCAM entries. As I started doing that, I began to notice that there was a lot of duplicated and inconsistent code for m

[U-Boot] [PATCH V4] mpc85xx: tlb.c cleanups

2010-06-14 Thread Becky Bruce
a few misc other minor cleanups. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/tlb.c | 50 +++ arch/powerpc/include/asm/mmu.h |1 + 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerp

[U-Boot] [PATCH V4] drivers/usb/host/ohci-hcd: undef readl/writel before redefining

2010-06-14 Thread Becky Bruce
This avoids a build warning that you see if anyone in the header chain has included io.h (which is coming shortly). I also move this to the "ohci.h" header file in the same dir, which is cleaner. Signed-off-by: Becky Bruce --- drivers/usb/host/ohci-hcd.c | 11 --- driver

[U-Boot] [PATCH V4] powerpc: Update configs to properly set FSL_ELBC

2010-06-14 Thread Becky Bruce
Some parts that have an Enhanced Local Bus Controller weren't setting CONFIG_FSL_ELBC. Fix this so we can use this define properly going forward (currently it's only used if PHYS_64BIT is set, which meant not all platforms needed to have it set correctly). Signed-off-by: B

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Becky Bruce
On Jun 8, 2010, at 1:43 PM, Kim Phillips wrote: > On Tue, 8 Jun 2010 12:28:48 -0500 > Becky Bruce wrote: > >> >> On Jun 8, 2010, at 12:09 PM, Kim Phillips wrote: >> >>> On Tue, 8 Jun 2010 11:15:07 -0500 >>> Becky Bruce wrote: >>> >>

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Becky Bruce
On Jun 8, 2010, at 12:09 PM, Kim Phillips wrote: > On Tue, 8 Jun 2010 11:15:07 -0500 > Becky Bruce wrote: > >> This isn't *ELBC*, it's the existence of any sort of LBC. ELBC is >> determined per-board in the fine grained configs. There are 2 >> configs

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-08 Thread Becky Bruce
This isn't *ELBC*, it's the existence of any sort of LBC. ELBC is determined per-board in the fine grained configs. There are 2 configs. -B On Jun 3, 2010, at 7:37 PM, Kim Phillips wrote: > On Wed, 2 Jun 2010 13:12:02 -0500 > Becky Bruce wrote: > >> diff --git a

Re: [U-Boot] [PATCH V3 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-02 Thread Becky Bruce
Note: I resubmitted this one, as the signed-off-by line had somehow gone into the great big bit-bucket in the sky. -Becky ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-02 Thread Becky Bruce
On Jun 2, 2010, at 2:16 PM, Scott Wood wrote: > On 06/02/2010 01:12 PM, Becky Bruce wrote: >> +#ifdef CONFIG_NAND_FSL_ELBC >> +u8 res9[0x8]; >> +u32 fmr;/* Flash Mode Register */ >> +u32 fir;/* Flash Instruction Regi

Re: [U-Boot] [PATCH V2 10/10] MAKEALL: Add missing powerpc 36-bit targets

2010-06-02 Thread Becky Bruce
On Jun 2, 2010, at 2:21 PM, Scott Wood wrote: > On 06/02/2010 01:12 PM, Becky Bruce wrote: >> We were missing 8641HPCN_36BIT and MPC8536DS_36BIT. >> >> Signed-off-by: Becky Bruce >> --- >> MAKEALL |2 ++ >> 1 files changed, 2 insertions(+), 0 de

[U-Boot] [PATCH V2 10/10] MAKEALL: Add missing powerpc 36-bit targets

2010-06-02 Thread Becky Bruce
We were missing 8641HPCN_36BIT and MPC8536DS_36BIT. Signed-off-by: Becky Bruce --- MAKEALL |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAKEALL b/MAKEALL index 2527352..a82c93c 100755 --- a/MAKEALL +++ b/MAKEALL @@ -393,6 +393,7 @@ LIST_85xx

[U-Boot] [PATCH V2 09/10] powerpc 83xx/85xx: Merge lbc upmconfig code

2010-06-02 Thread Becky Bruce
Each platform had its own version of the upmconfig, despite the init process being identical. Now that we have a spot for common lbc code, create a common upmconfig() there. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc83xx/cpu.c | 66 arch

[U-Boot] [PATCH V2 08/10] mpc85xx: Add reginfo command

2010-06-02 Thread Becky Bruce
The new command dumps the TLBCAM, the LAWs, and the BR/OR regs. Add CONFIG_CMD_REGINFO to the config for all MPC85xx parts. Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc85xx/cpu.c | 13 + common/cmd_reginfo.c |5 + include/configs/MPC8536DS.h|1

  1   2   3   >