mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-29 02:21:31 +00:00
serial: arm_dcc: Use CONFIG_ARM64 not CONFIG_CPU_ARMV8
The only place we use CONFIG_CPU_ARMV8 was in the arm_dcc serial driver. Switch this to CONFIG_ARM64 today, and if in the future we need finer granularity tuning here, a new CONFIG_SERIAL option needs to be introduced. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
c1a7de5702
commit
6328f95ea0
8 changed files with 1 additions and 12 deletions
|
@ -51,7 +51,7 @@
|
||||||
#define status_dcc(x) \
|
#define status_dcc(x) \
|
||||||
__asm__ volatile ("mrc p14, 0, %0, c14, c0, 0\n" : "=r" (x))
|
__asm__ volatile ("mrc p14, 0, %0, c14, c0, 0\n" : "=r" (x))
|
||||||
|
|
||||||
#elif defined(CONFIG_CPU_ARMV8)
|
#elif defined(CONFIG_ARM64)
|
||||||
/*
|
/*
|
||||||
* ARMV8
|
* ARMV8
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#define STDIN_CFG "serial"
|
#define STDIN_CFG "serial"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_CPU_ARMV8
|
|
||||||
#define CONFIG_REMAKE_ELF
|
#define CONFIG_REMAKE_ELF
|
||||||
#define CONFIG_SYS_MAXARGS 32
|
#define CONFIG_SYS_MAXARGS 32
|
||||||
#define CONFIG_SYS_CBSIZE 1024
|
#define CONFIG_SYS_CBSIZE 1024
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
#include <linux/sizes.h>
|
#include <linux/sizes.h>
|
||||||
|
|
||||||
#define CONFIG_CPU_ARMV8
|
|
||||||
#define COUNTER_FREQUENCY 13000000
|
#define COUNTER_FREQUENCY 13000000
|
||||||
|
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
|
#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
|
||||||
|
|
||||||
#define CONFIG_CPU_ARMV8
|
|
||||||
|
|
||||||
#define COUNTER_FREQUENCY 13000000
|
#define COUNTER_FREQUENCY 13000000
|
||||||
|
|
||||||
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
#include <linux/sizes.h>
|
#include <linux/sizes.h>
|
||||||
|
|
||||||
#define CONFIG_CPU_ARMV8
|
|
||||||
#define COUNTER_FREQUENCY 13000000
|
#define COUNTER_FREQUENCY 13000000
|
||||||
|
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
|
#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
|
||||||
|
|
||||||
#define CONFIG_CPU_ARMV8
|
|
||||||
|
|
||||||
#define COUNTER_FREQUENCY 13000000
|
#define COUNTER_FREQUENCY 13000000
|
||||||
|
|
||||||
/* DRAM definition */
|
/* DRAM definition */
|
||||||
|
|
|
@ -26,8 +26,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Serial setup */
|
/* Serial setup */
|
||||||
#define CONFIG_CPU_ARMV8
|
|
||||||
|
|
||||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||||
{ 4800, 9600, 19200, 38400, 57600, 115200 }
|
{ 4800, 9600, 19200, 38400, 57600, 115200 }
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Serial setup */
|
/* Serial setup */
|
||||||
#define CONFIG_CPU_ARMV8
|
|
||||||
|
|
||||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||||
{ 4800, 9600, 19200, 38400, 57600, 115200 }
|
{ 4800, 9600, 19200, 38400, 57600, 115200 }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue