mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 10:36:39 +07:00
02b08045a0
Microblaze little-endian toolchain exports __MICROBLAZEEL__ which is used in the kernel to identify little/big endian. The most of the changes are in loading values from DTB which is always big endian. Little endian platforms are based on new AXI bus which has impact to early uartlite initialization. Signed-off-by: Michal Simek <monstr@monstr.eu>
11 lines
235 B
C
11 lines
235 B
C
#ifndef _ASM_MICROBLAZE_BYTEORDER_H
|
|
#define _ASM_MICROBLAZE_BYTEORDER_H
|
|
|
|
#ifdef __MICROBLAZEEL__
|
|
#include <linux/byteorder/little_endian.h>
|
|
#else
|
|
#include <linux/byteorder/big_endian.h>
|
|
#endif
|
|
|
|
#endif /* _ASM_MICROBLAZE_BYTEORDER_H */
|