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

qemu: Fix spiflash args as per deprecated args #57

Merged
merged 1 commit into from
Sep 13, 2018

Commits on Sep 13, 2018

  1. qemu: Fix spiflash args as per deprecated args

    The arg available to specify serial for -drive was to be used for
    specifying a drive serial number.  However, we we using it to specify
    the flash driver.  This was a hack.
    
    Introduce a driver option to be able to specify this on litex_ssi.  This
    will then be read during ssi bus / drive initialization to initialize
    the requested guest hardware.
    
    By default we fall back to m25p80.
    
    Example usage:
      -drive if=mtd,format=qcow2,file=build/arty_net_or1k//qemu.qcow2
      -global litex_ssi.spiflash=mx25l1606e
    stffrdhrn committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    cb7e180 View commit details
    Browse the repository at this point in the history