Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

2ndboot: always use the plain buffer type

- to prevent the passed image corruption
  (dirty patch, to be cleaned-up later)

Change-Id: I5bd10a10e432d9838125246a4b8112c422dd3b60
  • Loading branch information...
commit 204ae3863feb5b65bbc513298ab703c971e1d8e9 1 parent 065d56c
Pavel authored November 02, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  hbootuser/hbootuser.c
3  hbootuser/hbootuser.c
@@ -143,7 +143,8 @@ int handle_file(FILE *fp, int tag, int *buf) {
143 143
 	if ((tag == 0) || (filesize < 4*4096)) {
144 144
 		btype = B_TYPE_PLAIN;
145 145
 	} else {
146  
-		btype = B_TYPE_SCATTERED;
  146
+		btype = B_TYPE_PLAIN;
  147
+		//btype = B_TYPE_SCATTERED;
147 148
 	}
148 149
 	if (tag == 0) {
149 150
 		battrs = 0;

0 notes on commit 204ae38

Please sign in to comment.
Something went wrong with that request. Please try again.