mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
bb6b142fc1
We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so that it is always available to the build system. Otherwise we can run into cases where we have inconsistent sizes of certain attributes. Ravi Babu reported offset mismatch of struct dwc3 across files since commit95ebc253e6
("types.h: move and redefine resource_size_t"). Since the commit, resource_addr_t points to phys_addr_t, whose size is dependent on CONFIG_PHYS_64BIT for ARM architecture. I tried my best to use "select" where possible (for example, ARMv8 architecture) because I think this kind of option is generally user- unconfigurable. However, I see some of PowerPC boards have 36BIT defconfigs as well as 32BIT ones. I moved CONFIG_PHYS_64BIT to the defconfigs for such boards. CONFIG_36BIT is no longer referenced, so all of the defines were removed from CONFIG_SYS_EXTRA_OPTIONS. Fixes:95ebc253e6
("types.h: move and redefine resource_size_t") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reported-by: Ravi Babu <ravibabu@ti.com> Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com>
30 lines
698 B
C
30 lines
698 B
C
/*
|
|
* Copyright 2009-2011 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/*
|
|
* P5020 DS board configuration file
|
|
* Also supports P5010 DS
|
|
*/
|
|
#define CONFIG_P5020DS
|
|
#define CONFIG_PPC_P5020
|
|
|
|
#define CONFIG_FSL_NGPIXIS /* use common ngPIXIS code */
|
|
|
|
#define CONFIG_MMC
|
|
#define CONFIG_NAND_FSL_ELBC
|
|
#define CONFIG_FSL_SATA_V2
|
|
#define CONFIG_PCIE3
|
|
#define CONFIG_PCIE4
|
|
#define CONFIG_SYS_FSL_RAID_ENGINE
|
|
#define CONFIG_SYS_DPAA_RMAN
|
|
|
|
#define CONFIG_SYS_SRIO
|
|
#define CONFIG_SRIO1 /* SRIO port 1 */
|
|
#define CONFIG_SRIO2 /* SRIO port 2 */
|
|
#define CONFIG_SRIO_PCIE_BOOT_MASTER
|
|
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
|
|
|
|
#include "corenet_ds.h"
|