9
0
Fork 0
barebox/common
Marc Kleine-Budde 8fba554f88 state: backend_raw: properly align write and erase size
This patch makes it easier to share the code with linux, on Linux the ease and
write size have to be aligned. Use stride (which is already aligned to erase
block size) during erase, align size_full to writesize and use it while
writing.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-05-26 14:33:18 +02:00
..
partitions partitions/efi: Fix off-by-one error in 'last_lba' 2014-11-11 15:02:23 +01:00
.gitignore update .gitignore files for linker scripts 2009-01-21 23:28:14 +01:00
Kconfig Merge branch 'for-next/state' 2015-04-13 12:57:14 +02:00
Makefile timeout: factor out wait-for-key-press loop into separate file 2015-04-23 08:12:28 +02:00
bbu.c bbu: make bbu confirm a bit more verbose 2015-03-04 11:34:08 +01:00
binfmt.c command: Let builtin command take precedence 2013-09-24 09:03:18 +02:00
block.c block: Add flush callback 2014-07-14 08:01:11 +02:00
blspec.c blspec: put blspec bootargs into a .dyn bootargs variable 2015-02-10 09:55:43 +01:00
bootargs.c common/bootargs: add blkdevparts variables 2015-02-17 08:46:36 +01:00
bootm.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
bootsource.c bootsource: add definition for i2c-eeprom, spi-nor, spi-eeprom and usb 2013-04-04 10:54:27 +02:00
clock.c clock: incorporate dummy clocksource into core clock code 2014-12-17 12:15:11 +01:00
command.c command: allow runtime usage 2015-03-19 07:46:22 +01:00
complete.c complete: Add devicetree completion 2014-05-19 22:23:56 +02:00
console.c console: allow to specify the device id 2015-01-13 08:48:59 +01:00
console_common.c console: Make locally used function static 2015-03-04 11:32:59 +01:00
console_countdown.c timeout: factor out wait-for-key-press loop into separate file 2015-04-23 08:12:28 +02:00
console_simple.c Merge branch 'for-next/login' 2013-10-07 08:00:13 +02:00
date.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
ddr_spd.c common: DDR3 SPD verification support 2014-03-18 17:32:31 +01:00
dlmalloc.c dlmalloc: remove unused functions 2014-07-09 07:38:12 +02:00
dummy_malloc.c dummy malloc: Add licence header 2013-03-08 08:47:51 +01:00
efi-devicepath.c efi: add function to determine type of device path 2014-12-09 09:59:09 +01:00
efi-guid.c EFI: introduce efi_strguid to convert GUID to human readable names 2014-07-16 10:46:19 +02:00
env.c setenv: Be more informative when device parameter setting fails 2015-05-04 09:27:35 +02:00
environment.c Merge branch 'for-next/misc' 2015-03-09 08:30:24 +01:00
file-list.c Add function to parse a string in dfu format 2014-07-22 08:11:08 +02:00
filetype.c Merge branch 'for-next/xz' 2014-11-05 15:47:39 +01:00
firmware.c common: firmware: include libfile 2014-11-24 14:04:08 +01:00
globalvar.c globalvar: Add support for printing all global variables 2014-11-06 12:23:12 +01:00
hush.c Fix spelling: pathes -> paths 2015-01-28 10:02:56 +01:00
image.c Merge branch 'for-next/remove-fsf-address' 2012-10-03 21:12:48 +02:00
imd-barebox.c Add support for metadata in barebox images 2014-08-07 06:13:52 +02:00
imd.c imd: provide dummy imd_command_setenv 2015-02-12 10:58:08 +01:00
kallsyms.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
meminfo.c Merge branch 'for-next/pr_print' 2013-04-04 14:20:33 +02:00
memory.c malloc: Add a function to detect if malloc pool is already initialized 2015-01-05 11:30:59 +01:00
memory_display.c ARM/mem: handle data aborts gracefully for md 2015-02-27 13:17:31 +01:00
memsize.c Add warning above get_ram_size 2013-02-13 18:14:38 +01:00
memtest.c sizes.h: move include/sizes.h to include/linux/sizes.h 2015-01-08 14:00:26 +01:00
menu.c Merge branch 'for-next/nfs' 2014-03-07 09:25:44 +01:00
menutree.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
misc.c printf: move panic() to common/misc.c 2015-01-05 11:30:58 +01:00
module.c module: remove duplicate ALIGN and __ALIGN_MASK definition 2013-06-21 08:08:37 +02:00
module.lds.S Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
oftree.c of: add a function to remove an of_fixup 2015-05-18 08:06:35 +02:00
parser.c run_command: remove unused flag parameter 2014-03-07 07:41:26 +01:00
partitions.c common: fix mbr filetype detection 2014-11-05 14:53:28 +01:00
password.c password: add pbkdf2 support 2015-03-20 11:45:55 +01:00
poller.c poller: Allow to call functions asynchronously 2013-12-18 16:47:48 +01:00
reset_source.c reset_source: Add external reset 2015-03-02 07:54:13 +01:00
resource.c resource: Let request_ioport_region return an error pointer 2014-09-16 08:32:10 +02:00
s_record.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
startup.c efi: mount efivarfs by default if enabled 2014-12-09 09:59:10 +01:00
state.c state: backend_raw: properly align write and erase size 2015-05-26 14:33:18 +02:00
tlsf.c tlsf: Use NULL instead of 0 for returning NULL pointers 2012-06-30 22:34:54 +02:00
tlsf_malloc.c meminfo: purely cosmetical changes 2014-06-02 09:07:12 +02:00
tlsfbits.h tlsf: remove unused stuff from tlsfbits.h 2011-12-23 11:29:10 +01:00
uimage.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
version.c startup: Don't print multiple lines with pr_info 2014-09-30 10:44:16 +02:00