mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
85xx: Fix compile warning in mpc8536ds.c
mpc8536ds.c: In function 'is_sata_supported': mpc8536ds.c:615: warning: unused variable 'devdisr' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
8ed44d91c8
commit
1836881190
1 changed files with 0 additions and 1 deletions
|
@ -612,7 +612,6 @@ get_board_ddr_clk(ulong dummy)
|
|||
int is_sata_supported(void)
|
||||
{
|
||||
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
|
||||
uint devdisr = gur->devdisr;
|
||||
uint sdrs2_io_sel =
|
||||
(gur->pordevsr & MPC85xx_PORDEVSR_SRDS2_IO_SEL) >> 27;
|
||||
if (sdrs2_io_sel & 0x04)
|
||||
|
|
Loading…
Add table
Reference in a new issue