;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
; install media.
;
; NOTE: The Steppingstone loader can only be 4096 bytes in length max.  Romimage
;       will need to create and page-align the .pdata section and the linker generates
;       a 1-page header on the file.  In this .bib file we'll call the size 0x3000,
;       but we'll post-process the .nb0 file to remove the .pdata section and the header.
;
; NOTE: The Steppingstone loader and the IPL are concatenated and stored in the
;       first two SmartMedia NAND flash blocks.  If the size of either loader is
;       altered in the .bib file, the bootloader code will need to be updated as
;       it makes an assumption about the first two NAND flash blocks being reserved.
;
MEMORY


IF S5PV210_EVT = 0

;   Name		Start			Size			Type
;   -------		--------		--------		----
    BL1_UART	D0030000		00008000		RAMIMAGE
    STACK		D0038000		00000800		RESERVED
    RAM			D0038800		00007800		RAM
    
ELSE

;   Name		Start			Size			Type
;   -------		--------		--------		----
    BL1_UART	D0020000		00008000		RAMIMAGE
    STACK		D0028000		00000800		RESERVED
    RAM			D0028800		00007800		RAM
ENDIF




CONFIG
	COMPRESSION=OFF
	PROFILE=OFF
	KERNELFIXUPS=ON

IF S5PV210_EVT = 0	
	ROMSTART=D0030000
ELSE
	ROMSTART=D0020000
ENDIF

	ROMWIDTH=32
	ROMSIZE=00008000
	

MODULES
;   Name        Path                                                               Memory Type
;   ----------  --------------------------------------------------------------     -----------
    nk.exe      $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\BL1_UART.exe     BL1_UART

