fix silliness in [8886]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8889 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
49ce139bb6
commit
3b2683ae1b
|
@ -31,13 +31,8 @@
|
||||||
#define AR7_PARTS 4
|
#define AR7_PARTS 4
|
||||||
#define ROOT_OFFSET 0xe0000
|
#define ROOT_OFFSET 0xe0000
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_LITTLE_ENDIAN
|
#define LOADER_MAGIC1 le32_to_cpu(0xfeedfa42)
|
||||||
#define LOADER_MAGIC1 0xfeedfa42
|
#define LOADER_MAGIC2 le32_to_cpu(0xfeed1281)
|
||||||
#define LOADER_MAGIC2 0xfeed1281
|
|
||||||
#else
|
|
||||||
#define LOADER_MAGIC1 0x42faedfe
|
|
||||||
#define LOADER_MAGIC2 0x8112edfe
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct ar7_bin_rec {
|
struct ar7_bin_rec {
|
||||||
unsigned int checksum;
|
unsigned int checksum;
|
||||||
|
|
Loading…
Reference in New Issue