mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 00:50:43 +09:00
zynqmp: gem: Set data bus width to 64bit for arm64
Set the data bus width to 64-bit AMBA Databus width in config register. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
26473945ad
commit
8a584c8a7f
@ -58,7 +58,14 @@
|
||||
#define ZYNQ_GEM_NWCFG_MDCCLKDIV 0x000080000 /* Div pclk by 32, 80MHz */
|
||||
#define ZYNQ_GEM_NWCFG_MDCCLKDIV2 0x0000c0000 /* Div pclk by 48, 120MHz */
|
||||
|
||||
#define ZYNQ_GEM_NWCFG_INIT (ZYNQ_GEM_NWCFG_FDEN | \
|
||||
#ifdef CONFIG_ARM64
|
||||
# define ZYNQ_GEM_DBUS_WIDTH (1 << 21) /* 64 bit bus */
|
||||
#else
|
||||
# define ZYNQ_GEM_DBUS_WIDTH (0 << 21) /* 32 bit bus */
|
||||
#endif
|
||||
|
||||
#define ZYNQ_GEM_NWCFG_INIT (ZYNQ_GEM_DBUS_WIDTH | \
|
||||
ZYNQ_GEM_NWCFG_FDEN | \
|
||||
ZYNQ_GEM_NWCFG_FSREM | \
|
||||
ZYNQ_GEM_NWCFG_MDCCLKDIV)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user