projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e649a6
)
targets/pipistrello: add flash sizes
author
Zach Smith
<IAmSparticle@gmail.com>
Fri, 1 May 2015 18:41:37 +0000
(14:41 -0400)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Sat, 2 May 2015 01:59:24 +0000
(09:59 +0800)
targets/pipistrello.py
patch
|
blob
|
history
diff --git
a/targets/pipistrello.py
b/targets/pipistrello.py
index cbd958c4527e9e1399635f9847c708fcadcb7cd8..cde9be4c53a30df3ba517ce7d457076e5010b9bf 100644
(file)
--- a/
targets/pipistrello.py
+++ b/
targets/pipistrello.py
@@
-120,6
+120,8
@@
class BaseSoC(SDRAMSoC):
if not self.integrated_rom_size:
self.submodules.spiflash = spiflash.SpiFlash(platform.request("spiflash4x"),
dummy=10, div=4)
+ self.add_constant("SPIFLASH_PAGE_SIZE", 256)
+ self.add_constant("SPIFLASH_SECTOR_SIZE", 0x10000)
self.flash_boot_address = 0x180000
self.register_rom(self.spiflash.bus, 0x1000000)