Sub device inherits parent device erase_byte.
Nand flash device is with erase_byte = 0xFF, but in bio_publish_subdevice,
the sub device erase_byte will be with initial value 0.
When the image with the chunk of 0, the chunk is not written, but the
read value is 0xFF.
Signed-off-by: Pibben <pibben.tung@mediatek.com>
-added support for bringing up the clocks and setting up the gpio bits
before starting the uart.
-add a proper target init routine
-add scripts to flash board via openocd
-fixed bug in riscv interrupt save state where it wasn't saving mstatus
on irq entry.
-comment out cycle enabling, not implemented on this core
The STM32F072 and STM32F070 have different vector tables. We can't
#ifdef on the existance of the constans like PVD_IRQn because they
are enum values. Right now, since we only have two supported variants,
we're switching on the variant. This will likely not scale.
-Add support for x86 legacy mode, designed for 386+ instead of pentium+
-Fixup uart driver to support com2
-Stub out PCI driver properly
-Fixup IDE driver to detect legacy disks
Currently targets qemu's sifive_e machine, which is a split flash/ram
machine, much like the Sifive HiFive1. Untested as of yet on a real
HiFive1.
Basic support including interrupts and architectural timers in place.
After a TLBI instruction the right thing to do is to execute DSB
followed by ISB. DSB ensures that the TLBI is seen by all observers of
the system and ISB ensures that the DSB has finished before continuing.
Also, the value in <Rt> is ignored for a TLBIALL. It isn't needed to
load 0 to r12 and then use r12 in the instruction. In order not to cause
confusion it is better to not load anything to r12.
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
After a TLBI instruction the right thing to do is to execute DSB
followed by ISB. DSB ensures that the TLBI is seen by all observers of
the system and ISB ensures that the DSB has finished before continuing.
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Support MT6735 platform.
Most files are copied from platform MT6797 without any modification.
The register offsets (mt_reg_base.h) were cross-referenced from the following
source code releases.
http://git.huayusoft.com/tomsu/AP7350_MDK-kernelhttps://github.com/alexgoussev/AP7350_MDK-kernel
ToDo:
1. Porting other peripheral drivers.
2. Check what files can be shared between platforms
then reduce file duplications.
Signed-off-by: Macpaul Lin <macpaul@gmail.com>