From: Marcin Krzeminski
This series introduce some improvememnt targeting mt25qu01g.
Marcin Krzeminski (2):
block: m25p80: Add Quad Page Program 4byte version op
block: m25p80: Introduce Die Erase command
hw/block/m25p80.c | 37 +
1 file changed, 33 inse
From: Marcin Krzeminski
Some flash chips has additional page program opcode that
takes only 4 byte address. This commit adds support
for such command in Qemu.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 4
1 file changed, 4 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/b
From: Marcin Krzeminski
Big flash chips (like mt25qu01g) are consisted from dies.
Because of that some manufactures remove support for Chip
Erase giving Die Erase command instead.To avoid unnecessary
code complication, support for chip erase for mt25qu01g
is not removed.
Signed-off-by: Marcin Kr
From: Marcin Krzeminski
By introduction of CPUAddressSpace table it is not possible
to change address space for CPU from board code. In my case
Cortex-M3 core has it own address space that is created at board
level, then updated by changing cpu->as. For current code cpu->as
is used only at init,
From: Marcin Krzeminski
When Qemu boots directly ARM kernel the memory node in device
tree is automatically updated to mach guest RAM size assigned
to Qemu. This commit allow use case when user do not
want to pass all guest RAM to linux kernel by skipping
device tree mmory node update.
Signed-of
From: Marcin Krzeminski
Those are changes that I made to create SoC model with 2xCortexA9
and Cortex-M3. Generally all are done to allow move work further,
not to upstreaming (especially patch 3). I would like to start
discossion if those modification could be upstreamed.
Marcin Krzeminski (3):
From: Marcin Krzeminski
In case of MultiCPU SoC M3 is not always CPU0.
This commit add cpu_id property to allow set CPU
number for NVIC model. Also address space that this used
by NVIC is updated to mach CPU's one.
Signed-off-by: Marcin Krzeminski
---
hw/intc/armv7m_nvic.c | 24 +++
From: Marcin Krzeminski
According to ARM DUI 0552A 4.2.10. NVIC set pending status
also for disabled interrupts. This patch adds possibility
to emulate this in Qemu.
Signed-off-by: Marcin Krzeminski
---
v3:
- corrected logic to reflect NVIC behaviour
v2:
- add a dedicated function for n
From: Marcin Krzeminski
According to ARM DUI 0552A 4.2.10. NVIC set pending status
also for disabled interrupts. This patch adds possibility
to emulate this in Qemu.
Signed-off-by: Marcin Krzeminski
---
Changes for v2:
- add a dedicated unction for nvic
- update complete_irq
hw/intc/ar
From: Marcin Krzeminski
According to ARM DUI 0552A 4.2.10. NVIC set pending status
also for disabled interrupts. This patch adds possibility
to emulate this in Qemu.
Signed-off-by: Marcin Krzeminski
---
hw/intc/arm_gic.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/
From: Marcin Krzeminski
Correct bad name of the vmstate structure. Since this breaks
compatibility also update vmstate version back to 0 and make
all fields independent of the VMState version.
Signed-off-by: Marcin Krzeminski
Acked-by: Alistair Francis
---
V2: rewrite commit message
hw/block
From: Marcin Krzeminski
Change wrong name of the vmstate structure. Since this breaks
compatibility update version and fields to 0.
Signed-off-by: Marcin Krzeminski
---
This patch assumes that none migrates m25p80 flash devices.
hw/block/m25p80.c | 29 ++---
1 file ch
From: Marcin Krzeminski
Winbond also support continuous read mode, but as an opposite for other
flash type read mode clock cycles are included to dummy cycles number.
This path add proper handling of read mode byte and update needed
dummy cycles. QPI mode and dummy cycles configuration are not su
From: Marcin Krzeminski
Page program 4byte/quad and erase 32K sectors 4 bytes.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index ca1f882..55b4377 100644
From: Marcin Krzeminski
This series adds support for new flash devices.
V3:
* Add ReadMode handling in Dual/Quad readd for Spansion
* Macronix/Spansion are tested with the same tests as real HW
V2:
* Move fast read command family handling to functions
* Fix broken Winbond support
Marcin Krzem
From: Marcin Krzeminski
Quad and Equad modes for Spansion and Macronix flash devices.
This commit also includes modification and new command to manipulate
quad mode (status registers and dedicated commands).
This work is based on Pawel Lenkow work.
Signed-off-by: Marcin Krzeminski
Reviewed-by:
From: Marcin Krzeminski
Macronix: mx66u51235f and mx66u1g45g
Micron: mt25ql01g and mt25qu01g
Spansion: s25fs512s and s70fs01gs
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff
From: Marcin Krzeminski
Support for Spansion and Macronix flashes.
Additionally Numonyx(Micron) moved from default
in fast read commands family. Also moved fast read
command decoding to functions.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 154 +
From: Marcin Krzeminski
Configuration registers for Spansion and Macronix devices.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 47 +++
1 file changed, 47 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/b
From: Marcin Krzeminski
Instead of always reading and comparing jededc ID,
replace it by function.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 49 -
1 file changed, 40 insertions(+), 9 deletions(-)
diff --git a/hw/block/m25p80.c b/h
From: Marcin Krzeminski
Some flash allows to stop read at any time.
Allow framework to support this.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 6910c5
From: Marcin Krzeminski
This commit fix obvious bug in WINBOND command handling.
Datasheet states that default dummy cycles is 8 so fix it.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/block/m25p80.c b/hw/b
From: Marcin Krzeminski
Since it is now longer than 4. This work based on Pawel Lenkow
changes and the kernel SPI framework.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 61 ++-
1 file changed, 42 in
From: Marcin Krzeminski
Allow to have more than four 16MiB regions for bigger flash devices.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
inde
From: Marcin Krzeminski
Instead of always reading and comparing jededc ID,
replace it by function.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 49 -
1 file changed, 40 insertions(+), 9 deletions(-)
diff --git a/hw/block/m25p80.c b/h
From: Marcin Krzeminski
Configuration registers for Spansion and Macronix devices.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 47 +++
1 file changed, 47 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/b
From: Marcin Krzeminski
Allow to have more than four 16MiB regions for bigger flash devices.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
inde
From: Marcin Krzeminski
Quad and Equad modes for Spansion and Macronix flash devices.
This commit also includes modification and new command to manipulate
quad mode (status registers and dedicated commands).
This work is based on Pawel Lenkow work.
Signed-off-by: Marcin Krzeminski
---
hw/block
From: Marcin Krzeminski
This commit fix obvious bug in WINBOND command handling.
Datasheet states that default dummy cycles is 8 so fix it.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/block/m25p80.c b/hw/b
From: Marcin Krzeminski
Macronix: mx66u51235f and mx66u1g45g
Micron: mt25ql01g and mt25qu01g
Spansion: s25fs512s and s70fs01gs
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff
From: Marcin Krzeminski
Since it is now longer than 4. This work based on Pawel Lenkow
changes and the kernel SPI framework.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 61 ++-
1 file changed, 42 in
From: Marcin Krzeminski
Support for Spansion and Macronix flashes.
Additionally Numonyx(Micron) moved from default
in fast read commands family. Also moved fast read
command decoding to functions.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 145
From: Marcin Krzeminski
Page program 4byte/quad and erase 32K sectors 4 bytes.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index ca1f882..55b4377 100644
From: Marcin Krzeminski
Some flash allows to stop read at any time.
Allow framework to support this.
Signed-off-by: Marcin Krzeminski
Reviewed-by: Cédric Le Goater
---
hw/block/m25p80.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 6910c5
From: Marcin Krzeminski
This series adds support for new flash devices.
V2:
* Move fast read command family handling to functions
* Fix broken Winbond support
Marcin Krzeminski (10):
m25p80: Replace JEDEC ID masking with function.
m25p80: Make a table for JEDEC ID.
m25p80: Allow more than
From: Marcin Krzeminski
Macronix: mx66u51235f and mx66u1g45g
Micron: mt25ql01g and mt25qu01g
Spansion: s25fs512s and s70fs01gs
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/hw/block/m25p80.c b/hw/
From: Marcin Krzeminski
Configuration registers for Spansion and Macronix devices.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 47 +++
1 file changed, 47 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index d1c4d46..21
From: Marcin Krzeminski
Instead of always reading and comparing jededc ID,
replace it by function.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 49 -
1 file changed, 40 insertions(+), 9 deletions(-)
diff --git a/hw/block/m25p80.c b/h
From: Marcin Krzeminski
Add support for Spansion and Macronix flashes.
Additionally Numonyx(Micron) move from default
in fast read commands family.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 72 ---
1 file changed, 64 insertions
From: Marcin Krzeminski
Some flash allows to stop read at any time.
Allow framework to support this.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 6910c52..ca1f882 100644
--- a/hw/bloc
From: Marcin Krzeminski
Since it is now longer than 4. This work based on Pawel Lenkow
changes and the kernel SPI framework.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 61 ++-
1 file changed, 42 insertions(+), 19 deletions(-)
d
From: Marcin Krzeminski
Allow to have more than four 16MiB regions for bigger flash devices.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 342f7c9..6910c52 100644
--- a
From: Marcin Krzeminski
This series adds support for new flash devices.
Marcin Krzeminski (9):
m25p80: Replace JEDEC ID masking with function.
m25p80: Make a table for JEDEC ID.
m25p80: Allow more than four banks.
m25p80: Introduce COLLECTING_VAR_LEN_DATA state.
m25p80: Add additional
From: Marcin Krzeminski
Page program 4byte/quad and erase 32K sectors 4 bytes.
Signed-off-by: Marcin Krzeminski
---
hw/block/m25p80.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index ca1f882..55b4377 100644
--- a/hw/block/m25p80.c
+++ b/h
From: Marcin Krzeminski
Quad and Equad modes for Spansion and Macronix flash devices.
This commit also includes modification and new command to manipulate
quad mode (status registers and dedicated commands).
This work is based on Pawel Lenkow work.
Signed-off-by: Marcin Krzeminski
---
hw/block
45 matches
Mail list logo