Add defines needed to access NAND, remove second flash bank that is
actually connected to NAND.
Add nand booting support for P1022DS with hardcoded DDR config using
SPL framework from 2011
Signed-off-by: Matthew McClintock m...@freescale.com
Signed-off-by: Jerry Huang chang-ming.hu
Add defines needed to access NAND, remove second flash bank that is
actually connected to NAND.
Add nand booting support for P1022DS with hardcoded DDR config using
SPL framework from 2011
Signed-off-by: Matthew McClintock m...@freescale.com
Signed-off-by: Jerry Huang chang-ming.hu
Add defines needed to access NAND, remove second flash bank that is
actually connected to NAND.
Add nand booting support for P1022DS with hardcoded DDR config using
SPL framework from 2011
Signed-off-by: Matthew McClintock m...@freescale.com
Signed-off-by: Jerry Huang chang-ming.hu
We have a requirement to wait a period of time before enabling the
DDR controller
Signed-off-by: Matthew McClintock m...@freescale.com
---
nand_spl/board/freescale/p1023rds/Makefile|6 +-
nand_spl/board/freescale/p1023rds/nand_boot.c | 14 --
2 files changed, 17
Currently, for NAND boot for the P1010/4RDB we hard code the DDR
configuration. We can still dynamically set the DDR bus width in
the nand spl so the P1010/4RDB boards can boot from the same
u-boot image
Signed-off-by: Matthew McClintock m...@freescale.com
---
arch/powerpc/include/asm
We were not comparing the SVRs properly previously. This comparison
will properly shift the SVR and mask off the E bit
This fixes the boot output to show the correct DDR bus width:
512 MiB (DDR3, 16-bit, CL=5, ECC off)
instead of
512 MiB (DDR3, 32-bit, CL=5, ECC off)
Signed-off-by: Matthew
This change reduces the SPL size by removing the redundant syncs produced
by out_be32 and just replies on one final sync
Done with:
sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' -i
`git grep --name-only sdram_init nand_spl/`
Signed-off-by: Matthew McClintock m
There was an extra 0 in front of the value we were using to mask,
remove it to improve the code.
Also fix the value written to ddr_sdram_cfg to set the bus width
properly to 16 bits
Signed-off-by: Matthew McClintock m...@freescale.com
---
board/freescale/p1010rdb/ddr.c |7 ---
1 file
but it pulls in a lot
of code as well as depends on the gd struct and would require a lot
of rework
Signed-off-by: Matthew McClintock m...@freescale.com
---
nand_spl/board/freescale/common.c | 36 +
nand_spl/board/freescale/p1010rdb/Makefile|6
We have a requirement to wait a period of time before enabling the
DDR controller
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: change global bus_clk to use gd-bus_clk
nand_spl/board/freescale/p1023rds/Makefile|6 +-
nand_spl/board/freescale/p1023rds/nand_boot.c
but it pulls in a lot
of code as well as depends on the gd struct and would require a lot
of rework
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: Change global bus_clk to use gd-bus_clk
nand_spl/board/freescale/common.c | 35 +
nand_spl/board/freescale
but it pulls in a lot
of code and would require quite a bit of work to keep us within the
very small space constrains we currently have
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: Change global bus_clk to use gd-bus_clk
v3: Update commit message a bit
Fixed code formatting issues
From commit a28afca57df7875f3334407bc47bd66b98701534
Signed-off-by: Matthew McClintock m...@freescale.com
---
common/image.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/image.c b/common/image.c
index c6cd85e..5c7d4f4 100644
--- a/common/image.c
+++ b/common
Allow users to pass in extra defines via make so they can
modify the build. Example
make P1022DS EXTRA_OPTS=NAND
is equivalent to
make P1022DS_NAND
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: Fix tab indention, fix posix compliance
mkconfig |8 +++-
1 files changed
Allow users to pass in extra defines via make so they can
modify the build. Example
make P1022DS EXTRA_OPTS=NAND
is equivalent to
make P1022DS_NAND
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: Fix tab indention, fix posix compliance
v3: Move appending $EXTRA_OPTS up higher
Just setting CONFIG_SILENT_CONSOLE does not make the CONSOLE
silent without the silent env variable set. This adds a new
define to add this to the default environment easily
Signed-off-by: Matthew McClintock m...@freescale.com
---
README |4
common/env_common.c |3
and SPI via the
on chip rom but instead it goes from on-chip-rom to MPL to full
version of u-boot.
Depends on previous icache/dcache command changes and various
build fixes for add cases that occur when trying to build an
extremely minimal image
Signed-off-by: Matthew McClintock m...@freescale.com
Signed-off-by: Mohit Kumar mohit.ku...@freescale.com
Signed-off-by: Yu Liu yu@freescale.com
Signed-off-by: Kai Jiang kai.ji...@freescale.com
Signed-off-by: Zhao Chenhui b35...@freescale.com
Signed-off-by: Matthew McClintock m...@freescale.com
---
This patch requires some previously sent patches
Allow users to pass in extra defines via make so they can
modify the build. Example
make P1022DS EXTRA_OPTS=NAND
is equivalent to
make P1022DS_NAND
Signed-off-by: Matthew McClintock m...@freescale.com
---
mkconfig |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git
Right now we do not check if do_bootm is actually built into this
u-boot. Instead check define and only call do_bootm if it's actually
available.
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: Add ifdef protect for the whole autostart/autoboot block as it's not
supported when
Right now we do not check if do_bootm is actually built into this
u-boot. Instead check define and only call do_bootm if it's actually
available.
Signed-off-by: Matthew McClintock m...@freescale.com
---
common/cmd_nand.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git
It might be desirable to have the ability to flush icache/dcache
within u-boot, this patch gives each arch the ability to provide
a flush_dcache/flush_icache function to let u-boot flush caches
from the prompt
Signed-off-by: Matthew McClintock m...@freescale.com
---
There are some checkpatch.pl
This provides a function that will override the weak function
flush_icache to let 85xx boards to flush the icache
cc: Kumar Gala kumar.g...@freescale.com
Signed-off-by: Matthew McClintock m...@freescale.com
---
arch/powerpc/cpu/mpc85xx/start.S |2 ++
1 files changed, 2 insertions(+), 0
Print a message if we do not have the ability to uncompress a gzip
image. Before, u-boot would just assume the routines were available
Signed-off-by: Matthew McClintock m...@freescale.com
---
common/cmd_ximg.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/common
If we don't want to build support for any partition types we can now
add #undef CONFIG_PARTITIONS in a board config file to keep this from
being compiled in. Otherwise boards assume this is compiled in by
default
Signed-off-by: Matthew McClintock m...@freescale.com
---
common/cmd_mmc.c
If we don't want to build support for any partition types we can now
add #undef CONFIG_PARTITIONS in a board config file to keep this from
being compiled in. Otherwise boards assume this is compiled in by
default
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: Fix patch to apply
FT_FSL_PCI_SETUP
around CONFIG_PCI so we can remove CONFIG_PCI and boards will
still build properly.
cc: Kumar Gala kumar.g...@freescale.com
Signed-off-by: Matthew McClintock m...@freescale.com
---
arch/powerpc/include/asm/fsl_pci.h |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git
Change variables to const to reduce code size, these values are
hardcoded via defines anyways so we might as well assume they
are constants
Signed-off-by: Matthew McClintock m...@freescale.com
cc: Scott Wood scottw...@freescale.com
---
With this change we can reduce the size of the nand_spl
Change variables to const to reduce code size, these values are
hardcoded via defines anyways so we might as well assume they
are constants
Signed-off-by: Matthew McClintock m...@freescale.com
cc: Scott Wood scottw...@freescale.com
---
With this change we can reduce the size of the nand_spl
renaming 85xx define CONFIG_NAND_OR_PRELIM to
CONFIG_SYS_NAND_OR_PRELIM and CONFIG_NAND_BR_PRELIM to
CONFIG_SYS_NAND_BR_PRELIM to use the more appropriate
CONFIG_SYS prefix as well as be consistent with 83xx
Signed-off-by: Matthew McClintock m...@freescale.com
cc: Scott Wood scottw
The bus that the i2c api can access before relocating from flash
is defined via CONFIG_SYS_SPD_BUS_NUM, however we want to use
the i2c bus before relocating from flash for non-SPD related
reasons. Therefore, we rename this define to something more
appropriate
---
We are trying to access the I2C
From: Matthew McClintock mat...@right.am.freescale.net
Add reginfo as a default command for p1022ds boards
Signed-off-by: Matthew McClintock m...@freescale.com
---
include/configs/P1022DS.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/P1022DS.h b
Typo from 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5
Signed-off-by: Matthew McClintock m...@freescale.com
---
drivers/net/e1000.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 18584ef..60b04c2 100644
--- a/drivers/net
-by: Matthew McClintock m...@freescale.com
---
common/fdt_support.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 9b65a8a..cb0ad3b 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -1190,7 +1190,7 @@ int
-by: Matthew McClintock m...@freescale.com
---
v2 - move fdt_increase_size out of CONFIG_FDT_FIXUP_PARTITIONS
common/fdt_support.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 9b65a8a..46e93a2 100644
We currently do not add a cpu-release-addr for core 0, this is needed
when we want to reset core 0 and later restart it from Linux
Signed-off-by: Matthew McClintock m...@freescale.com
---
v2: Mark boot cpu status as okay
arch/powerpc/cpu/mpc85xx/fdt.c | 15 ---
1 files changed, 8
We currently do not add a cpu-release-addr for core 0, this is needed
when we want to reset core 0 and later restart it from Linux
---
arch/powerpc/cpu/mpc85xx/fdt.c | 21 -
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c
a relocatable
kernel and the memory is reported as an offset and size in the
device tree, and the size needs to be adjusted accordingly.
Signed-off-by: Matthew McClintock m...@freescale.com
---
common/image.c | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/common
a relocatable
kernel and the memory is reported as an offset and size in the
device tree, and the size needs to be adjusted accordingly.
Signed-off-by: Matthew McClintock m...@freescale.com
---
common/image.c | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/common
39 matches
Mail list logo