| #
eed36609 |
| 19-May-2017 |
Simon Glass <sjg@chromium.org> |
fdt: Rename a few functions in fdt_support
These two functions have an of_ prefix which conflicts with naming used in of_addr. Rename them:
fdt_read_number fdt_support_bus_default_count_cells
fdt: Rename a few functions in fdt_support
These two functions have an of_ prefix which conflicts with naming used in of_addr. Rename them:
fdt_read_number fdt_support_bus_default_count_cells
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
21342d4a |
| 08-Feb-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
e160f7d4 |
| 17-Jan-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Replace of_offset with accessor
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live device tree,
dm: core: Replace of_offset with accessor
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live device tree, which uses a node pointer instead, refactor existing code to access this field through an inline function.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
8e8106dc |
| 23-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: allow ctrl-c to abort the erase ops
Allow ctrl-c to abort the erase ops.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
|
| #
d579d38f |
| 23-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: show erase progress
Show sector erase progress with dot and comma.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
|
| #
f81a673e |
| 23-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: skip erase if the sector is blank
Skip erase if the sector is blank. The sector erase is slow, and may take 0.7 sec typically or up to 3 sec worst-case.
Signed-off-by: Thomas Chou <tho
altera_qspi: skip erase if the sector is blank
Skip erase if the sector is blank. The sector erase is slow, and may take 0.7 sec typically or up to 3 sec worst-case.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
show more ...
|
| #
a1b1d7ec |
| 23-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: set fail_addr for erase ops
If the erase fails, fail_addr might indicate exactly which block failed. If fail_addr = MTD_FAIL_ADDR_UNKNOWN, the failure was not at the device level or was
altera_qspi: set fail_addr for erase ops
If the erase fails, fail_addr might indicate exactly which block failed. If fail_addr = MTD_FAIL_ADDR_UNKNOWN, the failure was not at the device level or was not specific to any particular block.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
show more ...
|
| #
9e957aa4 |
| 23-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: call callback even if the erase failed
Erase is an asynchronous operation. Device drivers are supposed to call instr->callback() whenever the operation completes, even if it completes
altera_qspi: call callback even if the erase failed
Erase is an asynchronous operation. Device drivers are supposed to call instr->callback() whenever the operation completes, even if it completes with a failure.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
show more ...
|
| #
1c0e84ca |
| 18-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: initialize instr.mtd in flash_erase
Initialize instr.mtd in flash_erase(). This fixes the system hang issue when CONFIG_MTD_PARTITIONS is selected.
Signed-off-by: Thomas Chou <thomas@w
altera_qspi: initialize instr.mtd in flash_erase
Initialize instr.mtd in flash_erase(). This fixes the system hang issue when CONFIG_MTD_PARTITIONS is selected.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|
| #
25ef4bea |
| 07-Dec-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-nios
|
| #
f118fe5c |
| 01-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: fix erase and write error code
Fix erase and write error code, which should be "protected".
From the "Embedded Peripherals IP User Guide" of Altera,
The "Illegal write" flag indicates
altera_qspi: fix erase and write error code
Fix erase and write error code, which should be "protected".
From the "Embedded Peripherals IP User Guide" of Altera,
The "Illegal write" flag indicates that a write instruction is targeting a protected sector on the flash memory. This bit is set to indicate that the IP has cancelled a write instruction.
The "Illegal erase" flag indicates that an erase instruction has been set to a protected sector on the flash memory. This bit is set to indicate that the IP has cancelled the erase instruction.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| #
421f306f |
| 01-Dec-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: add lock unlock ops
Add lock() and unlock() mtd ops to altera_qspi.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com> Reviewed-by: Marek Vas
altera_qspi: add lock unlock ops
Add lock() and unlock() mtd ops to altera_qspi.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| #
8ed38fa5 |
| 14-Nov-2015 |
Thomas Chou <thomas@wytron.com.tw> |
altera_qspi: change ioremap to map_physmem
Change ioremap() to map_physmem(), as it is more used in u-boot.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Marek Vasut <marex@denx.de>
|
| #
5f5620ab |
| 12-Nov-2015 |
Stefano Babic <sbabic@denx.de> |
Merge git://git.denx.de/u-boot
|
| #
38a0f36e |
| 09-Nov-2015 |
Thomas Chou <thomas@wytron.com.tw> |
mtd: add altera quadspi driver
Add Altera Generic Quad SPI Controller support. The controller converts SPI NOR flash to parallel flash interface. So it is not like other SPI flash, but rather like C
mtd: add altera quadspi driver
Add Altera Generic Quad SPI Controller support. The controller converts SPI NOR flash to parallel flash interface. So it is not like other SPI flash, but rather like CFI flash.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
show more ...
|