From: Wolfgang Denk Date: Thu, 14 Feb 2008 23:06:18 +0000 (+0100) Subject: Merge branch 'master' of git://www.denx.de/git/u-boot-blackfin X-Git-Tag: v1.3.2-rc1~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f99eec3dc2285abfb93631003f7e5cadf2eab0f;p=u-boot Merge branch 'master' of git://www.denx.de/git/u-boot-blackfin Conflicts: Makefile doc/README.standalone Signed-off-by: Wolfgang Denk --- 6f99eec3dc2285abfb93631003f7e5cadf2eab0f diff --cc Makefile index 969ce42ec0,b4a39945bf..f80e5113ca --- a/Makefile +++ b/Makefile @@@ -285,7 -273,10 +273,10 @@@ __LIBS := $(subst $(obj),,$(LIBS) ######################################################################### ######################################################################### -ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) +ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND) + ifeq ($(ARCH),blackfin) + ALL += $(obj)u-boot.ldr + endif all: $(ALL) diff --cc doc/README.standalone index f9237a65f5,3495f54f58..81b949a0aa --- a/doc/README.standalone +++ b/doc/README.standalone @@@ -19,11 -19,11 +19,12 @@@ Design Notes on Exporting U-Boot Functi thus the compiler cannot perform type checks on these assignments. 2. The pointer to the jump table is passed to the application in a - machine-dependent way. PowerPC, ARM and MIPS architectures use a - dedicated register to hold the pointer to the 'global_data' - structure: r2 on PowerPC, r8 on ARM and k0 on MIPS. The x86 - architecture does not use such a register; instead, the pointer to - the 'global_data' structure is passed as 'argv[-1]' pointer. + machine-dependent way. PowerPC, ARM, MIPS and Blackfin architectures + use a dedicated register to hold the pointer to the 'global_data' - structure: r29 on PowerPC, r8 on ARM, k0 on MIPS, and P5 on Blackfin. - The x86 architecture does not use such a register; instead, the pointer - to the 'global_data' structure is passed as 'argv[-1]' pointer. ++ structure: r2 on PowerPC, r8 on ARM, k0 on MIPS, and P5 on Blackfin. ++ The x86 architecture does not use such a register; instead, the ++ pointer to the 'global_data' structure is passed as 'argv[-1]' ++ pointer. The application can access the 'global_data' structure in the same way as U-Boot does: