Simon Glass  
		
	
	
		e144cafe43 
		
	 
	
	
	dtoc: Fix widening of int to bytes  
		
			... 
			At present an integer is converted to bytes incorrectly. The whole 32-bit
integer is inserted as the first element of the byte array, and the other
three bytes are skipped. This was not noticed because the unit test did
not check it, and the functional test was checking for wrong values.
Update the code to handle this as a special case. Add one more test to
cover all code paths.
Signed-off-by: Simon Glass <sjg@chromium.org> 
		
	 
 
		2020-10-29 14:42:17 -06:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2020-10-22 11:43:43 +05:30 
		 
	
		
			
			
			
			
			
			2020-09-22 12:50:43 -06:00 
		 
	
		
			
			
			
			
			
			2020-01-30 13:30:35 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-29 14:42:17 -06:00 
		 
	
		
			
			
			
			
			
			2020-08-05 08:18:34 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-26 14:23:39 -06:00 
		 
	
		
			
			
			
			
			
			2019-10-08 16:35:59 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-10-14 11:16:34 -04:00 
		 
	
		
			
			
			
			
			
			2016-06-13 07:46:29 +09:00 
		 
	
		
			
			
			
			
			
			2020-01-02 10:27:23 -05:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:10:00 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2019-12-06 16:44:20 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2019-07-29 00:20:31 +02:00 
		 
	
		
			
			
			
			
			
			2019-12-02 18:23:08 -05:00 
		 
	
		
			
			
			
			
			
			2020-01-07 11:12:47 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-06-29 22:36:35 +02:00 
		 
	
		
			
			
			
			
			
			2019-12-02 18:23:08 -05:00 
		 
	
		
			
			
			
			
			
			2020-04-01 07:45:09 -06:00 
		 
	
		
			
			
			
			
			
			2020-05-15 14:47:35 -04:00 
		 
	
		
			
			
			
			
			
			2018-11-26 22:52:12 -05:00 
		 
	
		
			
			
			
			
			
			2020-04-01 07:45:09 -06:00 
		 
	
		
			
			
			
			
			
			2019-05-18 12:32:02 -04:00 
		 
	
		
			
			
			
			
			
			2019-05-18 12:32:02 -04:00 
		 
	
		
			
			
			
			
			
			2020-08-07 11:47:18 -04:00 
		 
	
		
			
			
			
			
			
			2019-05-18 12:32:02 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-26 14:25:21 -06:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2010-01-26 00:07:13 +01:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-10 20:38:35 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:10:00 -04:00 
		 
	
		
			
			
			
			
			
			2020-10-22 09:54:54 -04:00 
		 
	
		
			
			
			
			
			
			2019-03-08 11:31:44 -05:00 
		 
	
		
			
			
			
			
			
			2020-07-25 14:46:57 -06:00 
		 
	
		
			
			
			
			
			
			2017-06-16 10:11:38 -04:00 
		 
	
		
			
			
			
			
			
			2020-05-18 17:33:33 -04:00 
		 
	
		
			
			
			
			
			
			2020-02-09 14:57:38 +01:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:10:00 -04:00 
		 
	
		
			
			
			
			
			
			2019-01-01 14:12:18 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-18 10:10:25 +02:00 
		 
	
		
			
			
			
			
			
			2010-07-25 15:17:23 -04:00 
		 
	
		
			
			
			
			
			
			2019-04-26 17:51:51 -04:00 
		 
	
		
			
			
			
			
			
			2020-06-13 23:12:17 +05:30 
		 
	
		
			
			
			
			
			
			2020-10-09 12:02:26 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:10:00 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:10:00 -04:00 
		 
	
		
			
			
			
			
			
			2018-09-19 08:59:26 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-06-12 13:14:07 -04:00 
		 
	
		
			
			
			
			
			
			2014-12-18 17:26:08 -07:00 
		 
	
		
			
			
			
			
			
			2019-11-04 18:15:32 -07:00 
		 
	
		
			
			
			
			
			
			2018-11-02 22:39:07 +01:00 
		 
	
		
			
			
			
			
			
			2019-12-02 18:23:08 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-10-22 09:54:52 -04:00 
		 
	
		
			
			
			
			
			
			2020-05-01 11:34:01 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:10:00 -04:00 
		 
	
		
			
			
			
			
			
			2020-08-23 13:43:10 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-12-15 11:49:56 -05:00 
		 
	
		
			
			
			
			
			
			2019-10-28 13:32:51 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2019-12-02 18:23:08 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2009-04-28 01:16:46 +02:00 
		 
	
		
			
			
			
			
			
			2012-09-24 13:17:24 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:51:56 -04:00 
		 
	
		
			
			
			
			
			
			2020-04-24 10:51:56 -04:00 
		 
	
		
			
			
			
			
			
			2019-12-02 18:23:08 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2019-12-02 18:23:08 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2019-08-15 13:42:28 +08:00 
		 
	
		
			
			
			
			
			
			2019-09-03 09:30:32 +08:00 
		 
	
		
			
			
			
			
			
			2020-05-18 18:36:55 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 10:24:31 -04:00 
		 
	
		
			
			
			
			
			
			2020-05-22 20:53:20 +08:00 
		 
	
		
			
			
			
			
			
			2019-12-27 15:17:07 +08:00 
		 
	
		
			
			
			
			
			
			2019-12-27 15:17:07 +08:00 
		 
	
		
			
			
			
			
			
			2019-11-04 18:15:32 -07:00 
		 
	
		
			
			
			
			
			
			2019-12-27 15:17:07 +08:00 
		 
	
		
			
			
			
			
			
			2019-12-27 15:17:07 +08:00 
		 
	
		
			
			
			
			
			
			2020-09-22 12:50:43 -06:00 
		 
	
		
			
			
			
			
			
			2020-10-09 17:53:16 +08:00 
		 
	
		
			
			
			
			
			
			2019-10-08 16:36:37 +02:00 
		 
	
		
			
			
			
			
			
			2020-02-13 17:32:09 +01:00 
		 
	
		
			
			
			
			
			
			2017-05-05 16:45:57 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2011-07-31 23:25:41 +09:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2019-07-30 10:20:06 +02:00 
		 
	
		
			
			
			
			
			
			2019-10-24 13:37:02 +02:00 
		 
	
		
			
			
			
			
			
			2019-10-28 13:32:51 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-11 09:23:44 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-11 14:54:57 -04:00