diff options
author | Zang Roy-R61911 <tie-fei.zang@freescale.com> | 2012-11-26 00:05:38 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-11-27 18:28:07 -0600 |
commit | 9760b274df8fdc5a6d124f3192535ebe281a78a6 (patch) | |
tree | 7d8b8ce8ee286dba03a3ecb32908bb399fcb9a2e /include/configs/P2041RDB.h | |
parent | d607b9684b188d020a00e9cfaa502b782f29d538 (diff) | |
download | u-boot-imx-9760b274df8fdc5a6d124f3192535ebe281a78a6.zip u-boot-imx-9760b274df8fdc5a6d124f3192535ebe281a78a6.tar.gz u-boot-imx-9760b274df8fdc5a6d124f3192535ebe281a78a6.tar.bz2 |
powerpc/corenet_ds: move SATA config to board configuration
board configuration file is included before asm/config_mpc85xx.h.
however, CONFIG_FSL_SATA_V2 is defined in asm/config_mpc85xx.h.
it will never take effective in the board configuration file for
this kind of code :
#ifdef CONFIG_FSL_SATA_V2
...
#endif
To solve this problem, move CONFIG_FSL_SATA_V2 to board
configuration header file.
This patch reverts Timur's
commit:3e0529f742e893653848494ffb9f7cd0d91304bf
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/configs/P2041RDB.h')
-rw-r--r-- | include/configs/P2041RDB.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index c888d7a..8b9b0db 100644 --- a/include/configs/P2041RDB.h +++ b/include/configs/P2041RDB.h @@ -566,8 +566,10 @@ unsigned long get_board_sys_clk(unsigned long dummy); #endif /* CONFIG_PCI */ /* SATA */ +#define CONFIG_FSL_SATA_V2 + +#ifdef CONFIG_FSL_SATA_V2 #define CONFIG_FSL_SATA -#ifdef CONFIG_FSL_SATA #define CONFIG_LIBATA #define CONFIG_SYS_SATA_MAX_DEVICE 2 |