Re: [U-Boot] [PATCH v4 09/28] arm: socfpga: add define for bootinfo bsel bit shift

2017-01-22 Thread Marek Vasut
On 01/10/2017 06:20 AM, Chee Tien Fong wrote: > From: Tien Fong Chee > > On arria5/cyclone5 parts, the bsel bits are at shift 0, while for arria10, > the bsel bits are at shift 12. Add SYSMGR_BOOTINFO_BSEL_SHIFT define so that > the reading the bsel can generic. > > Suggested-by: Marek Vasut >

[U-Boot] [PATCH v4 09/28] arm: socfpga: add define for bootinfo bsel bit shift

2017-01-09 Thread Chee Tien Fong
From: Tien Fong Chee On arria5/cyclone5 parts, the bsel bits are at shift 0, while for arria10, the bsel bits are at shift 12. Add SYSMGR_BOOTINFO_BSEL_SHIFT define so that the reading the bsel can generic. Suggested-by: Marek Vasut Signed-off-by: Dinh Nguyen Signed-off-by: Tien Fong Chee Cc: