1# Copyright (c) 2009-2017 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 941 unchanged lines hidden (view full) --- 950 self._attach_device(device, *args, **kwargs) 951 952 def setupBootLoader(self, mem_bus, cur_sys, loc): 953 self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'), 954 conf_table_reported=False) 955 self.nvmem.port = mem_bus.master 956 cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ] 957 cur_sys.atags_addr = 0x8000000 |
958 # the old load_add_mask 0xfffffff works for 32-bit kernel 959 # but not the 64-bit one. The new value 0x7ffffff works for both 960 cur_sys.load_addr_mask = 0x7ffffff |
961 cur_sys.load_offset = 0x80000000 962 963 # Setup m5ops. It's technically not a part of the boot 964 # loader, but this is the only place we can configure the 965 # system. 966 cur_sys.m5ops_base = 0x10010000 |