source: trunk/target/linux/at91-2.6/image/u-boot/patches/001-lowlevel-config.patch @ 6626

Last change on this file since 6626 was 6626, checked in by hcg, 10 years ago

Added primary and secondary bootloaders

File size: 3.1 KB
  • cpu/arm920t/config.mk

    old new  
    3030# Supply options according to compiler version 
    3131# 
    3232# ========================================================================= 
    33 PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) 
     33PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32) 
    3434PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) 
  • cpu/arm920t/start.S

    old new  
    237237 */ 
    238238 
    239239 
     240#ifndef CONFIG_SKIP_LOWLEVEL_INIT 
    240241cpu_init_crit: 
    241242        /* 
    242243         * flush v4 I/D caches 
     
    265266        mov     lr, ip 
    266267        mov     pc, lr 
    267268 
     269#endif 
    268270 
    269271/* 
    270272 ************************************************************************* 
  • examples/Makefile

    old new  
    3030endif 
    3131 
    3232ifeq ($(ARCH),arm) 
    33 LOAD_ADDR = 0xc100000 
     33LOAD_ADDR = 0x21000000 
    3434endif 
    3535 
    3636ifeq ($(ARCH),mips) 
  • include/config.h

    old new  
     1/* Automatically generated - do not edit */ 
     2#include <configs/at91rm9200dk.h> 
  • include/config.mk

    old new  
     1ARCH   = arm 
     2CPU    = arm920t 
     3BOARD  = at91rm9200dk 
     4SOC    = at91rm9200 
  • include/configs/at91rm9200dk.h

    old new  
    2525#ifndef __CONFIG_H 
    2626#define __CONFIG_H 
    2727 
     28// Added 2 defines to skip re-init lowlevel and relocate HCG HLH 
     29// 
     30#define CONFIG_SKIP_LOWLEVEL_INIT 
     31#define CONFIG_SKIP_RELOCATE_UBOOT 
     32 
    2833/* ARM asynchronous clock */ 
    2934#define AT91C_MAIN_CLOCK        179712000       /* from 18.432 MHz crystal (18432000 / 4 * 39) */ 
    3035#define AT91C_MASTER_CLOCK      59904000        /* peripheral clock (AT91C_MASTER_CLOCK / 3) */ 
     
    165170#define CFG_FLASH_ERASE_TOUT            (2*CFG_HZ) /* Timeout for Flash Erase */ 
    166171#define CFG_FLASH_WRITE_TOUT            (2*CFG_HZ) /* Timeout for Flash Write */ 
    167172 
    168 #undef  CFG_ENV_IS_IN_DATAFLASH 
     173#define CFG_ENV_IS_IN_DATAFLASH 
    169174 
    170175#ifdef CFG_ENV_IS_IN_DATAFLASH 
    171 #define CFG_ENV_OFFSET                  0x20000 
     176#define CFG_ENV_OFFSET                  0x21000 
    172177#define CFG_ENV_ADDR                    (CFG_DATAFLASH_LOGIC_ADDR_CS0 + CFG_ENV_OFFSET) 
    173 #define CFG_ENV_SIZE                    0x2000  /* 0x8000 */ 
     178#define CFG_ENV_SIZE                    0x8400  /* 0x8000 */ 
    174179#else 
    175180#define CFG_ENV_IS_IN_FLASH             1 
    176181#ifdef CONFIG_SKIP_LOWLEVEL_INIT 
  • u-boot-1.1.4

    old new  
    5757CROSS_COMPILE = powerpc-linux- 
    5858endif 
    5959ifeq ($(ARCH),arm) 
    60 CROSS_COMPILE = arm-linux- 
     60CROSS_COMPILE = ../staging_dir/bin/arm-linux- 
    6161endif 
    6262ifeq ($(ARCH),i386) 
    6363ifeq ($(HOSTARCH),i387) 
Note: See TracBrowser for help on using the repository browser.