Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless hex prefix; Support for Hynix HY27UF162G2B NAND flash #26

Merged
merged 3 commits into from
Jul 27, 2015
Merged

Conversation

mikolajpp
Copy link

  • A mistake in format string causes at91bootstrap to print "0x0x" followed by chip id.
  • The second commit adds support for Hynix HY27UF162G2B NAND flash.
    -I- -- AT91SAM9G20-EK [45/1586]
    -I- INIT command:
    -I- Communication link type : 0
    -I- Data bus width : 32 bits
    -I- External RAM type : SDRAM
    -I- Init SDRAM...
    -I- Init successful.
    -I- End of applet (command : 0 --- status : 0)
    -I- -- NandFlash applet 2.14 --
    -I- -- AT91SAM9G20-EK
    -I- INIT command
    -I- CHIP ID ad dc 10 95 54
    -I- Nandflash ID is 0x9510DCAD
    -I- Nandflash driver initialized
    -I- pageSize : 0x800 blockSize : 0x20000 blockNb : 0x1000 bus width : 8
    -I- bufferAddr : 0x20003de8
    -I- End of applet (command : 0 --- status : 0)

The datasheet for this memory can easily be consulted: https://www.insidegadgets.com/wp-content/uploads/2013/01/HY27UF082G2B.pdf

@mikolajpp mikolajpp changed the title Remove useless hex prefix Remove useless hex prefix; Support for Hynix HY27UF162G2B NAND flash Jul 24, 2015
wenyouyang pushed a commit that referenced this pull request Jul 27, 2015
Remove useless hex prefix; Support for Hynix HY27UF162G2B NAND flash
@wenyouyang wenyouyang merged commit c0698ae into linux4sam:master Jul 27, 2015
@wenyouyang
Copy link

Thank you for your patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants