~ubuntu-branches/ubuntu/wily/slof/wily

« back to all changes in this revision

Viewing changes to llfw/nvramlog.S

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2013-05-04 20:41:17 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130504204117-fb1q6em82ugu8plb
Tags: 20121018+dfsg-1ubuntu1
* Merge from Debian unstable. Remaining changes:
  - Since Ubuntu always builds Architecture: all packages on i386, build
    using a cross-compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include <southbridge.h>
15
15
#include <calculatecrc.h>
16
16
 
17
 
 
18
 
#if !defined(DISABLE_NVRAM)
 
17
#if !defined(DISABLE_NVRAM) && !defined(RTAS_NVRAM)
19
18
 
20
19
// detect overflow: if(a<b)  return a else return 0
21
20
#define NVRAM_LOG_DATA_OVERFLOW( a, b) \
342
341
        mr r4, r6
343
342
        blr
344
343
 
345
 
#else   /* defined(DISABLE_NVRAM) */
 
344
#else   /* defined(DISABLE_NVRAM) || defined(RTAS_NVRAM) */
346
345
 
347
346
ASM_ENTRY(.writeNVRAMbyte)
348
347
        ENTRY(writeLogByte)