[#3972] u-boot configuration for bf548-ezkit NFC

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#3972] u-boot configuration for bf548-ezkit NFC

Submitted By: Michael Hennerich

Open Date

2008-03-17 11:37:57     Close Date

2008-04-01 16:42:38

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

EZ-Kit Lite     Processor:

N/A

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: u-boot configuration for bf548-ezkit NFC

Details:

 

In include/configs/bf548-ezkit.h, are leftovers from the memory mapped NAND flash support we use on BF53x.

 

This stuff is relly not needed.

 

 

#define CFG_NAND_ADDR          0x20212000

#define CFG_NAND_BASE          CFG_NAND_ADDR

#define CFG_MAX_NAND_DEVICE    1

#define SECTORSIZE             512

#define ADDR_COLUMN             1

#define ADDR_PAGE               2

#define ADDR_COLUMN_PAGE        3

#define NAND_ChipID_UNKNOWN    0x00

#define NAND_MAX_FLOORS        1

#define NAND_MAX_CHIPS         1

#define BFIN_NAND_READY        PF3

 

#define NAND_WAIT_READY(nand)              \

    do {                     \

        int timeout = 0;         \

        while(!(*pPORTFIO & PF3))     \

            if (timeout++ > 100000)    \

                break;        \

    } while (0)

 

#define WRITE_NAND_COMMAND(d, adr)                    \

    do {                                \

        * (volatile __u8 *)((unsigned long)adr) = (__u8)(d);    \

    } while (0)

#define WRITE_NAND_ADDRESS(d, adr)                    \

    do {                                \

        *(volatile __u8 * )((unsigned long)adr) = (__u8)(d);    \

    } while (0)

#define WRITE_NAND(d, adr)                        \

    do {                                \

        *(volatile __u8 *)((unsigned long)adr) = (__u8)d;    \

    } while (0)

#define READ_NAND(adr) ((volatile unsigned char)(*(volatile __u8 *)(unsigned long)adr))

 

Follow-ups

 

--- Mike Frysinger                                           2008-04-01 16:42:37

punted

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes