diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-09-03 10:35:13 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-04 13:50:11 -0400 |
commit | 87fed556d08d21dd7dd3e0222c94c187e4c2d5e2 (patch) | |
tree | a5c774f9d7c8ee110eb322d12c7233da3867988c /include/linux/bcma/bcma_regs.h | |
parent | d17ec4d55223d9487df195012762da6f85862d4c (diff) | |
download | op-kernel-dev-87fed556d08d21dd7dd3e0222c94c187e4c2d5e2.zip op-kernel-dev-87fed556d08d21dd7dd3e0222c94c187e4c2d5e2.tar.gz |
bcma: get info about flash type SoC booted from
There is an ongoing work on cleaning MIPS's nvram support so it could be
re-used on other platforms (bcm53xx to say precisely).
This will require a bit of extra logic in bcma this patch implements.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma/bcma_regs.h')
-rw-r--r-- | include/linux/bcma/bcma_regs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_regs.h b/include/linux/bcma/bcma_regs.h index 917dcd7..e64ae7b 100644 --- a/include/linux/bcma/bcma_regs.h +++ b/include/linux/bcma/bcma_regs.h @@ -39,6 +39,11 @@ #define BCMA_RESET_CTL_RESET 0x0001 #define BCMA_RESET_ST 0x0804 +#define BCMA_NS_ROM_IOST_BOOT_DEV_MASK 0x0003 +#define BCMA_NS_ROM_IOST_BOOT_DEV_NOR 0x0000 +#define BCMA_NS_ROM_IOST_BOOT_DEV_NAND 0x0001 +#define BCMA_NS_ROM_IOST_BOOT_DEV_ROM 0x0002 + /* BCMA PCI config space registers. */ #define BCMA_PCI_PMCSR 0x44 #define BCMA_PCI_PE 0x100 |