]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
am335x_evm: Add support to boot from NOR.
authorSteve Kipisz <s-kipisz2@ti.com>
Thu, 18 Jul 2013 19:13:04 +0000 (15:13 -0400)
committerTom Rini <trini@ti.com>
Tue, 30 Jul 2013 13:21:41 +0000 (09:21 -0400)
commitc5c7a7c32d552592ac49749e5c184c89bd50c098
tree69c906c589a0a6c5e9c02a35a3719699cb7397f6
parentcd8845d7a49687e9e7f727c9d821accf22854dd3
am335x_evm: Add support to boot from NOR.

NOR requires that s_init be within the first 4KiB of the image so that
we can perform the rest of the required pinmuxing to talk with the rest
of NOR that we are found on.  When NOR_BOOT is set we save our
environment in NOR at 512KiB and a redundant copy at 768KiB.  We avoid
using SPL for this case and u-boot.bin is written directly to the start
of NOR.

We enclose the DMM-related parts of arch/arm/cpu/armv7/am33xx/emif4.c
with TI81xx checks as at this time U-Boot does not discard unused
sections in the main build and this code relies on functions specific to
(and only provided in) ti81xx-related code.

Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/am33xx/board.c
arch/arm/cpu/armv7/am33xx/emif4.c
board/ti/am335x/Makefile
board/ti/am335x/board.c
board/ti/am335x/mux.c
board/ti/am335x/u-boot.lds [new file with mode: 0644]
boards.cfg
include/configs/am335x_evm.h