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://repo.jachan.dev/J-u-boot.git/commitdiff_plain/6f99eec3dc2285abfb93631003f7e5cadf2eab0f 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 969ce42ec06,b4a39945bf0..f80e5113ca0 --- 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 f9237a65f57,3495f54f588..81b949a0aaa --- 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: