Changeset 3087


Ignore:
Timestamp:
Jul 27, 2012, 4:57:48 AM (3 years ago)
Author:
wmb
Message:

OLPC ARM - this goes with svn 3084 - moving the UART assignment out to version-specific fw.bth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/build-fw.fth

    r3064 r3087  
    3232fload ${BP}/dev/omap/diaguart.fth       \ OMAP UART
    3333
    34 h# 18000 +io to uart-base               \ UART3 base address on MMP2
    35 \ h# 30000 +io to uart-base             \ UART1 base address on MMP2
    3634d# 26000000 to uart-clock-frequency
    3735
     
    106104   " /apbc" encode-phandle d# 12 encode-int encode+ " clocks" property
    107105   d# 24 " interrupts" integer-property
    108    1 " linux,unit#" integer-property
    109106end-package
     107
     1080 0  " d4017000"  " /" begin-package  \ UART2
     109   fload ${BP}/cpu/arm/mmp2/uart.fth
     110   " /apbc" encode-phandle d# 11 encode-int encode+ " clocks" property
     111   d# 28 " interrupts" integer-property
     112end-package
     113
    110114devalias com1 /uart
    111115: com1  " com1"  ;
     
    116120   d# 27 " interrupts" integer-property
    117121   " /apbc" encode-phandle d# 10 encode-int encode+ " clocks" property
    118    0 " linux,unit#" integer-property
    119122end-package
    120 devalias com2 /uart
    121 : com2  " com2"  ;
     123
     1240 0  " d4016000"  " /" begin-package  \ UART4
     125   fload ${BP}/cpu/arm/mmp2/uart.fth
     126   " /apbc" encode-phandle d# 32 encode-int encode+ " clocks" property
     127   d# 46 " interrupts" integer-property
     128end-package
    122129
    123130\needs md5init  fload ${BP}/ofw/ppp/md5.fth                \ MD5 hash
     
    343350fload ${BP}/cpu/arm/mmp2/thermal.fth
    344351fload ${BP}/cpu/arm/mmp2/fuse.fth
     352[ifdef] bsl-uart-base
    345353fload ${BP}/cpu/arm/olpc/bsl.fth
     354[then]
    346355
    347356[ifndef] virtual-mode
Note: See TracChangeset for help on using the changeset viewer.