diff options
author | Poonam Aggrwal <poonam.aggrwal@freescale.com> | 2009-06-01 10:31:21 +0530 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-10-07 15:47:48 -0400 |
commit | b121fdc5d24e8ec6e32e5570e3e019214c41b68f (patch) | |
tree | c8ef5d3ff435ec858ad65ae99f15ef7eff752c0a /config.mk | |
parent | b4a7ef6f8871fe73c848fa31075971c83ff5e129 (diff) |
NAND boot support for P1 P2 RDB Platforms
Switch options for NAND boot are SW[1:4]='0101"
To Boot from NAND
1. tftp 1000000 u-boot-nand.bin
2. nand erase 0 80000
3. nand write 1000000 0 80000
4. Change the Switch settings to boot from NAND.
5. reset the board.
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -112,12 +112,16 @@ DBGFLAGS= -g # -DDEBUG OPTFLAGS= -Os #-fomit-frame-pointer ifndef LDSCRIPT #LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug +ifeq ($(CONFIG_NAND_U_BOOT),y) +LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds +else ifeq ($(CONFIG_SDCARD_U_BOOT),y) LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-sdboot.lds else LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds endif endif +endif OBJCFLAGS += --gap-fill=0xff gccincdir := $(shell $(CC) -print-file-name=include) |