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
Signed-off-by: Jerry Huang
Signed-off-by: Jiang Yutang
Signed-off-by
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
Signed-off-by: Jerry Huang
Signed-off-by: Jiang Yutang
Signed-off-by
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
Signed-off-by: Jerry Huang
Signed-off-by: Jiang Yutang
Signed-off-by
lay functions 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
---
v2: Change global bus_clk to use gd->bus_clk
v3: Update commit message a bit
Fixed code formatting issue
lay functions 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
---
v2: Change global bus_clk to use gd->bus_clk
nand_spl/board/freescale/common.c | 35 +
nand_spl/board/free
We have a requirement to wait a period of time before enabling the
DDR controller
Signed-off-by: Matthew McClintock
---
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 |
lay functions 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
---
nand_spl/board/freescale/common.c | 36 +
nand_spl/board/freescale/p1010rdb/Makefile|6 +++-
nand
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
---
board/freescale/p1010rdb/ddr.c |7 ---
1 file changed, 4
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
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
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
---
arch/powerpc/include/asm/fsl_ddr_sdram.h |1
We have a requirement to wait a period of time before enabling the
DDR controller
Signed-off-by: Matthew McClintock
---
nand_spl/board/freescale/p1023rds/Makefile|6 +-
nand_spl/board/freescale/p1023rds/nand_boot.c | 14 --
2 files changed, 17 insertions(+), 3
>From commit a28afca57df7875f3334407bc47bd66b98701534
Signed-off-by: Matthew McClintock
---
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/image.c
@@ -127
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
---
v2: Fix tab indention, fix posix compliance
v3: Move appending $EXTRA_OPTS up higher before we set $TARGETS
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
---
v2: Fix tab indention, fix posix compliance
mkconfig |8 +++-
1 files changed, 7 insertions(+), 1
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
---
mkconfig |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/mkconfig b
Signed-off-by: Kai Jiang
Signed-off-by: Zhao Chenhui
Signed-off-by: Matthew McClintock
---
This patch requires some previously sent patches to build correctly. They
deal build fixes for building the <256k middle u-boot image:
http://patchwork.ozlabs.org/patch/97219/
http://patchwork.ozlabs.
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
---
Makefile | 38
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
---
README |4
common/env_common.c |3 +++
2 files changed, 7
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
---
v2: Use __weak instead of __attribute__((weak
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
---
v2: If gzip is not available block out case statement and let it fall through
to the default case
common/cmd_ximg.c
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
---
v2: Add ifdef protect for the whole autostart/autoboot block as it's not
supported when the bootm
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
---
v2: Fix patch to apply to current tr
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
---
v2: Fix patch to apply to current tree
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
---
common/cmd_mmc.c |2 ++
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
---
common/cmd_ximg.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/common/cmd_ximg.c b/common
This provides a function that will override the weak function
flush_icache to let 85xx boards to flush the icache
cc: Kumar Gala
Signed-off-by: Matthew McClintock
---
arch/powerpc/cpu/mpc85xx/start.S |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/cpu
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
---
There are some checkpatch.pl warnings for
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
---
common/cmd_nand.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/common/cmd_nan
wraps FT_FSL_PCI_SETUP
around CONFIG_PCI so we can remove CONFIG_PCI and boards will
still build properly.
cc: Kumar Gala
Signed-off-by: Matthew McClintock
---
arch/powerpc/include/asm/fsl_pci.h |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/fsl_pci.h
b
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
cc: Scott Wood
cc: Kumar Gala
---
arch/powerpc/cpu
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
cc: Scott Wood
---
With this change we can reduce the size of the nand_spl by
148 bytes with my particular board/compiler
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
cc: Scott Wood
---
With this change we can reduce the size of the nand_spl by
148 bytes with my particular board/compiler
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 bu
From: Matthew McClintock
Add reginfo as a default command for p1022ds boards
Signed-off-by: Matthew McClintock
---
include/configs/P1022DS.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 13f1125..272bd9f
Typo from 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5
Signed-off-by: Matthew McClintock
---
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/e1000.c
+++ b/drivers
ned-off-by: Matthew McClintock
---
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
--
ned-off-by: Matthew McClintock
---
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 fdt_alloc_ph
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
---
v2: Mark boot cpu status as "okay"
arch/powerpc/cpu/mpc85xx/fdt.c | 15 ---
1 files changed, 8 insert
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 b/arch/
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
---
common/image.c | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/common/image.c b/common
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
---
common/image.c | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/common/image.c b/common
42 matches
Mail list logo