mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
cfi_flash: Fix placement of brace
The opening brace of block statements should be attached to the statement itself, and not be on a separate line. Signed-off-by: Mario Six <mario.six@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
9860137fbc
commit
0cec0a12f9
1 changed files with 1 additions and 2 deletions
|
@ -1925,8 +1925,7 @@ static int __flash_detect_cfi(flash_info_t *info, struct cfi_qry *qry)
|
|||
info->interface == FLASH_CFI_X8X16) ||
|
||||
/* x16/x32 in x16 mode */
|
||||
(info->chipwidth == FLASH_CFI_BY16 &&
|
||||
info->interface == FLASH_CFI_X16X32))
|
||||
{
|
||||
info->interface == FLASH_CFI_X16X32)) {
|
||||
info->addr_unlock1 = 0xaaa;
|
||||
info->addr_unlock2 = 0x555;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue